Source Code Cross Referenced for ResourceRefType.java in  » Web-Services-apache-cxf-2.0.1 » frontend » org » apache » cxf » jaxws » javaee » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Web Services apache cxf 2.0.1 » frontend » org.apache.cxf.jaxws.javaee 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        //
002:        // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0.3-b01-fcs 
003:        // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
004:        // Any modifications to this file will be lost upon recompilation of the source schema. 
005:        // Generated on: 2006.10.31 at 10:25:50 AM GMT+08:00 
006:        //
007:
008:        package org.apache.cxf.jaxws.javaee;
009:
010:        import java.util.ArrayList;
011:        import java.util.List;
012:        import javax.xml.bind.annotation.XmlAccessType;
013:        import javax.xml.bind.annotation.XmlAccessorType;
014:        import javax.xml.bind.annotation.XmlAttribute;
015:        import javax.xml.bind.annotation.XmlElement;
016:        import javax.xml.bind.annotation.XmlID;
017:        import javax.xml.bind.annotation.XmlType;
018:        import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
019:        import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
020:
021:        /**
022:         * 
023:         * 	
024:         * 
025:         * 	  The resource-refType contains a declaration of a
026:         * 	  Deployment Component's reference to an external resource. It
027:         * 	  consists of an optional description, the resource manager
028:         * 	  connection factory reference name, an optional indication of
029:         * 	  the resource manager connection factory type expected by the
030:         * 	  Deployment Component code, an optional type of authentication
031:         * 	  (Application or Container), and an optional specification of
032:         * 	  the shareability of connections obtained from the resource
033:         * 	  (Shareable or Unshareable).
034:         * 
035:         * 	  It also includes optional elements to define injection of
036:         * 	  the named resource into fields or JavaBeans properties.
037:         * 
038:         * 	  The connection factory type must be supplied unless an
039:         * 	  injection target is specified, in which case the type
040:         * 	  of the target is used.  If both are specified, the type
041:         * 	  must be assignment compatible with the type of the injection
042:         * 	  target.
043:         * 
044:         * 	  Example:
045:         * 
046:         * 	  <resource-ref>
047:         * 	      <res-ref-name>jdbc/EmployeeAppDB</res-ref-name>
048:         * 	      <res-type>javax.sql.DataSource</res-type>
049:         * 	      <res-auth>Container</res-auth>
050:         * 	      <res-sharing-scope>Shareable</res-sharing-scope>
051:         * 	  </resource-ref>
052:         * 
053:         * 	  
054:         *       
055:         * 
056:         * <p>Java class for resource-refType complex type.
057:         * 
058:         * <p>The following schema fragment specifies the expected content contained within this class.
059:         * 
060:         * <pre>
061:         * &lt;complexType name="resource-refType">
062:         *   &lt;complexContent>
063:         *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
064:         *       &lt;sequence>
065:         *         &lt;element name="description" type="{http://java.sun.com/xml/ns/javaee}descriptionType" maxOccurs="unbounded" minOccurs="0"/>
066:         *         &lt;element name="res-ref-name" type="{http://java.sun.com/xml/ns/javaee}jndi-nameType"/>
067:         *         &lt;element name="res-type" type="{http://java.sun.com/xml/ns/javaee}fully-qualified-classType" minOccurs="0"/>
068:         *         &lt;element name="res-auth" type="{http://java.sun.com/xml/ns/javaee}res-authType" minOccurs="0"/>
069:         *         &lt;element name="res-sharing-scope" type="{http://java.sun.com/xml/ns/javaee}res-sharing-scopeType" minOccurs="0"/>
070:         *         &lt;group ref="{http://java.sun.com/xml/ns/javaee}resourceGroup"/>
071:         *       &lt;/sequence>
072:         *       &lt;attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
073:         *     &lt;/restriction>
074:         *   &lt;/complexContent>
075:         * &lt;/complexType>
076:         * </pre>
077:         * 
078:         * 
079:         */
080:        @XmlAccessorType(XmlAccessType.FIELD)
081:        @XmlType(name="resource-refType",propOrder={"description","resRefName","resType","resAuth","resSharingScope","mappedName","injectionTarget"})
082:        public class ResourceRefType {
083:
084:            protected List<DescriptionType> description;
085:            @XmlElement(name="res-ref-name",required=true)
086:            protected JndiNameType resRefName;
087:            @XmlElement(name="res-type")
088:            protected FullyQualifiedClassType resType;
089:            @XmlElement(name="res-auth")
090:            protected ResAuthType resAuth;
091:            @XmlElement(name="res-sharing-scope")
092:            protected ResSharingScopeType resSharingScope;
093:            @XmlElement(name="mapped-name")
094:            protected XsdStringType mappedName;
095:            @XmlElement(name="injection-target")
096:            protected List<InjectionTargetType> injectionTarget;
097:            @XmlAttribute
098:            @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
099:            @XmlID
100:            protected java.lang.String id;
101:
102:            /**
103:             * Gets the value of the description property.
104:             * 
105:             * <p>
106:             * This accessor method returns a reference to the live list,
107:             * not a snapshot. Therefore any modification you make to the
108:             * returned list will be present inside the JAXB object.
109:             * This is why there is not a <CODE>set</CODE> method for the description property.
110:             * 
111:             * <p>
112:             * For example, to add a new item, do as follows:
113:             * <pre>
114:             *    getDescription().add(newItem);
115:             * </pre>
116:             * 
117:             * 
118:             * <p>
119:             * Objects of the following type(s) are allowed in the list
120:             * {@link DescriptionType }
121:             * 
122:             * 
123:             */
124:            public List<DescriptionType> getDescription() {
125:                if (description == null) {
126:                    description = new ArrayList<DescriptionType>();
127:                }
128:                return this .description;
129:            }
130:
131:            /**
132:             * Gets the value of the resRefName property.
133:             * 
134:             * @return
135:             *     possible object is
136:             *     {@link JndiNameType }
137:             *     
138:             */
139:            public JndiNameType getResRefName() {
140:                return resRefName;
141:            }
142:
143:            /**
144:             * Sets the value of the resRefName property.
145:             * 
146:             * @param value
147:             *     allowed object is
148:             *     {@link JndiNameType }
149:             *     
150:             */
151:            public void setResRefName(JndiNameType value) {
152:                this .resRefName = value;
153:            }
154:
155:            /**
156:             * Gets the value of the resType property.
157:             * 
158:             * @return
159:             *     possible object is
160:             *     {@link FullyQualifiedClassType }
161:             *     
162:             */
163:            public FullyQualifiedClassType getResType() {
164:                return resType;
165:            }
166:
167:            /**
168:             * Sets the value of the resType property.
169:             * 
170:             * @param value
171:             *     allowed object is
172:             *     {@link FullyQualifiedClassType }
173:             *     
174:             */
175:            public void setResType(FullyQualifiedClassType value) {
176:                this .resType = value;
177:            }
178:
179:            /**
180:             * Gets the value of the resAuth property.
181:             * 
182:             * @return
183:             *     possible object is
184:             *     {@link ResAuthType }
185:             *     
186:             */
187:            public ResAuthType getResAuth() {
188:                return resAuth;
189:            }
190:
191:            /**
192:             * Sets the value of the resAuth property.
193:             * 
194:             * @param value
195:             *     allowed object is
196:             *     {@link ResAuthType }
197:             *     
198:             */
199:            public void setResAuth(ResAuthType value) {
200:                this .resAuth = value;
201:            }
202:
203:            /**
204:             * Gets the value of the resSharingScope property.
205:             * 
206:             * @return
207:             *     possible object is
208:             *     {@link ResSharingScopeType }
209:             *     
210:             */
211:            public ResSharingScopeType getResSharingScope() {
212:                return resSharingScope;
213:            }
214:
215:            /**
216:             * Sets the value of the resSharingScope property.
217:             * 
218:             * @param value
219:             *     allowed object is
220:             *     {@link ResSharingScopeType }
221:             *     
222:             */
223:            public void setResSharingScope(ResSharingScopeType value) {
224:                this .resSharingScope = value;
225:            }
226:
227:            /**
228:             * Gets the value of the mappedName property.
229:             * 
230:             * @return
231:             *     possible object is
232:             *     {@link XsdStringType }
233:             *     
234:             */
235:            public XsdStringType getMappedName() {
236:                return mappedName;
237:            }
238:
239:            /**
240:             * Sets the value of the mappedName property.
241:             * 
242:             * @param value
243:             *     allowed object is
244:             *     {@link XsdStringType }
245:             *     
246:             */
247:            public void setMappedName(XsdStringType value) {
248:                this .mappedName = value;
249:            }
250:
251:            /**
252:             * Gets the value of the injectionTarget property.
253:             * 
254:             * <p>
255:             * This accessor method returns a reference to the live list,
256:             * not a snapshot. Therefore any modification you make to the
257:             * returned list will be present inside the JAXB object.
258:             * This is why there is not a <CODE>set</CODE> method for the injectionTarget property.
259:             * 
260:             * <p>
261:             * For example, to add a new item, do as follows:
262:             * <pre>
263:             *    getInjectionTarget().add(newItem);
264:             * </pre>
265:             * 
266:             * 
267:             * <p>
268:             * Objects of the following type(s) are allowed in the list
269:             * {@link InjectionTargetType }
270:             * 
271:             * 
272:             */
273:            public List<InjectionTargetType> getInjectionTarget() {
274:                if (injectionTarget == null) {
275:                    injectionTarget = new ArrayList<InjectionTargetType>();
276:                }
277:                return this .injectionTarget;
278:            }
279:
280:            /**
281:             * Gets the value of the id property.
282:             * 
283:             * @return
284:             *     possible object is
285:             *     {@link java.lang.String }
286:             *     
287:             */
288:            public java.lang.String getId() {
289:                return id;
290:            }
291:
292:            /**
293:             * Sets the value of the id property.
294:             * 
295:             * @param value
296:             *     allowed object is
297:             *     {@link java.lang.String }
298:             *     
299:             */
300:            public void setId(java.lang.String value) {
301:                this.id = value;
302:            }
303:
304:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.