Source Code Cross Referenced for PersistenceContextRefType.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 persistence-context-ref element contains a declaration
026:         * 	  of Deployment Component's reference to a persistence context
027:         * 	  associated within a Deployment Component's
028:         * 	  environment. It consists of:
029:         * 
030:         * 		  - an optional description
031:         * 		  - the persistence context reference name
032:         * 		  - an optional persistence unit name.  If not specified,
033:         *                     the default persistence unit is assumed.
034:         * 		  - an optional specification as to whether
035:         * 		    the persistence context type is Transaction or
036:         * 		    Extended.  If not specified, Transaction is assumed.
037:         *                   - an optional list of persistence properties
038:         * 		  - optional injection targets
039:         * 
040:         * 	  Examples:
041:         * 
042:         *             <persistence-context-ref>
043:         *               <persistence-context-ref-name>myPersistenceContext
044:         *               </persistence-context-ref-name>
045:         *             </persistence-context-ref>
046:         * 
047:         *             <persistence-context-ref>
048:         *               <persistence-context-ref-name>myPersistenceContext
049:         *                 </persistence-context-ref-name>
050:         *               <persistence-unit-name>PersistenceUnit1
051:         *                 </persistence-unit-name>
052:         *               <persistence-context-type>Extended</persistence-context-type>
053:         *             </persistence-context-ref>
054:         * 
055:         * 	  
056:         *       
057:         * 
058:         * <p>Java class for persistence-context-refType complex type.
059:         * 
060:         * <p>The following schema fragment specifies the expected content contained within this class.
061:         * 
062:         * <pre>
063:         * &lt;complexType name="persistence-context-refType">
064:         *   &lt;complexContent>
065:         *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
066:         *       &lt;sequence>
067:         *         &lt;element name="description" type="{http://java.sun.com/xml/ns/javaee}descriptionType" maxOccurs="unbounded" minOccurs="0"/>
068:         *         &lt;element name="persistence-context-ref-name" type="{http://java.sun.com/xml/ns/javaee}jndi-nameType"/>
069:         *         &lt;element name="persistence-unit-name" type="{http://java.sun.com/xml/ns/javaee}string" minOccurs="0"/>
070:         *         &lt;element name="persistence-context-type" type="{http://java.sun.com/xml/ns/javaee}persistence-context-typeType" minOccurs="0"/>
071:         *         &lt;element name="persistence-property" type="{http://java.sun.com/xml/ns/javaee}propertyType" maxOccurs="unbounded" minOccurs="0"/>
072:         *         &lt;group ref="{http://java.sun.com/xml/ns/javaee}resourceGroup"/>
073:         *       &lt;/sequence>
074:         *       &lt;attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
075:         *     &lt;/restriction>
076:         *   &lt;/complexContent>
077:         * &lt;/complexType>
078:         * </pre>
079:         * 
080:         * 
081:         */
082:        @XmlAccessorType(XmlAccessType.FIELD)
083:        @XmlType(name="persistence-context-refType",propOrder={"description","persistenceContextRefName","persistenceUnitName","persistenceContextType","persistenceProperty","mappedName","injectionTarget"})
084:        public class PersistenceContextRefType {
085:
086:            protected List<DescriptionType> description;
087:            @XmlElement(name="persistence-context-ref-name",required=true)
088:            protected JndiNameType persistenceContextRefName;
089:            @XmlElement(name="persistence-unit-name")
090:            protected org.apache.cxf.jaxws.javaee.String persistenceUnitName;
091:            @XmlElement(name="persistence-context-type")
092:            protected PersistenceContextTypeType persistenceContextType;
093:            @XmlElement(name="persistence-property")
094:            protected List<PropertyType> persistenceProperty;
095:            @XmlElement(name="mapped-name")
096:            protected XsdStringType mappedName;
097:            @XmlElement(name="injection-target")
098:            protected List<InjectionTargetType> injectionTarget;
099:            @XmlAttribute
100:            @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
101:            @XmlID
102:            protected java.lang.String id;
103:
104:            /**
105:             * Gets the value of the description property.
106:             * 
107:             * <p>
108:             * This accessor method returns a reference to the live list,
109:             * not a snapshot. Therefore any modification you make to the
110:             * returned list will be present inside the JAXB object.
111:             * This is why there is not a <CODE>set</CODE> method for the description property.
112:             * 
113:             * <p>
114:             * For example, to add a new item, do as follows:
115:             * <pre>
116:             *    getDescription().add(newItem);
117:             * </pre>
118:             * 
119:             * 
120:             * <p>
121:             * Objects of the following type(s) are allowed in the list
122:             * {@link DescriptionType }
123:             * 
124:             * 
125:             */
126:            public List<DescriptionType> getDescription() {
127:                if (description == null) {
128:                    description = new ArrayList<DescriptionType>();
129:                }
130:                return this .description;
131:            }
132:
133:            /**
134:             * Gets the value of the persistenceContextRefName property.
135:             * 
136:             * @return
137:             *     possible object is
138:             *     {@link JndiNameType }
139:             *     
140:             */
141:            public JndiNameType getPersistenceContextRefName() {
142:                return persistenceContextRefName;
143:            }
144:
145:            /**
146:             * Sets the value of the persistenceContextRefName property.
147:             * 
148:             * @param value
149:             *     allowed object is
150:             *     {@link JndiNameType }
151:             *     
152:             */
153:            public void setPersistenceContextRefName(JndiNameType value) {
154:                this .persistenceContextRefName = value;
155:            }
156:
157:            /**
158:             * Gets the value of the persistenceUnitName property.
159:             * 
160:             * @return
161:             *     possible object is
162:             *     {@link org.apache.cxf.jaxws.javaee.String }
163:             *     
164:             */
165:            public org.apache.cxf.jaxws.javaee.String getPersistenceUnitName() {
166:                return persistenceUnitName;
167:            }
168:
169:            /**
170:             * Sets the value of the persistenceUnitName property.
171:             * 
172:             * @param value
173:             *     allowed object is
174:             *     {@link org.apache.cxf.jaxws.javaee.String }
175:             *     
176:             */
177:            public void setPersistenceUnitName(
178:                    org.apache.cxf.jaxws.javaee.String value) {
179:                this .persistenceUnitName = value;
180:            }
181:
182:            /**
183:             * Gets the value of the persistenceContextType property.
184:             * 
185:             * @return
186:             *     possible object is
187:             *     {@link PersistenceContextTypeType }
188:             *     
189:             */
190:            public PersistenceContextTypeType getPersistenceContextType() {
191:                return persistenceContextType;
192:            }
193:
194:            /**
195:             * Sets the value of the persistenceContextType property.
196:             * 
197:             * @param value
198:             *     allowed object is
199:             *     {@link PersistenceContextTypeType }
200:             *     
201:             */
202:            public void setPersistenceContextType(
203:                    PersistenceContextTypeType value) {
204:                this .persistenceContextType = value;
205:            }
206:
207:            /**
208:             * Gets the value of the persistenceProperty property.
209:             * 
210:             * <p>
211:             * This accessor method returns a reference to the live list,
212:             * not a snapshot. Therefore any modification you make to the
213:             * returned list will be present inside the JAXB object.
214:             * This is why there is not a <CODE>set</CODE> method for the persistenceProperty property.
215:             * 
216:             * <p>
217:             * For example, to add a new item, do as follows:
218:             * <pre>
219:             *    getPersistenceProperty().add(newItem);
220:             * </pre>
221:             * 
222:             * 
223:             * <p>
224:             * Objects of the following type(s) are allowed in the list
225:             * {@link PropertyType }
226:             * 
227:             * 
228:             */
229:            public List<PropertyType> getPersistenceProperty() {
230:                if (persistenceProperty == null) {
231:                    persistenceProperty = new ArrayList<PropertyType>();
232:                }
233:                return this .persistenceProperty;
234:            }
235:
236:            /**
237:             * Gets the value of the mappedName property.
238:             * 
239:             * @return
240:             *     possible object is
241:             *     {@link XsdStringType }
242:             *     
243:             */
244:            public XsdStringType getMappedName() {
245:                return mappedName;
246:            }
247:
248:            /**
249:             * Sets the value of the mappedName property.
250:             * 
251:             * @param value
252:             *     allowed object is
253:             *     {@link XsdStringType }
254:             *     
255:             */
256:            public void setMappedName(XsdStringType value) {
257:                this .mappedName = value;
258:            }
259:
260:            /**
261:             * Gets the value of the injectionTarget property.
262:             * 
263:             * <p>
264:             * This accessor method returns a reference to the live list,
265:             * not a snapshot. Therefore any modification you make to the
266:             * returned list will be present inside the JAXB object.
267:             * This is why there is not a <CODE>set</CODE> method for the injectionTarget property.
268:             * 
269:             * <p>
270:             * For example, to add a new item, do as follows:
271:             * <pre>
272:             *    getInjectionTarget().add(newItem);
273:             * </pre>
274:             * 
275:             * 
276:             * <p>
277:             * Objects of the following type(s) are allowed in the list
278:             * {@link InjectionTargetType }
279:             * 
280:             * 
281:             */
282:            public List<InjectionTargetType> getInjectionTarget() {
283:                if (injectionTarget == null) {
284:                    injectionTarget = new ArrayList<InjectionTargetType>();
285:                }
286:                return this .injectionTarget;
287:            }
288:
289:            /**
290:             * Gets the value of the id property.
291:             * 
292:             * @return
293:             *     possible object is
294:             *     {@link java.lang.String }
295:             *     
296:             */
297:            public java.lang.String getId() {
298:                return id;
299:            }
300:
301:            /**
302:             * Sets the value of the id property.
303:             * 
304:             * @param value
305:             *     allowed object is
306:             *     {@link java.lang.String }
307:             *     
308:             */
309:            public void setId(java.lang.String value) {
310:                this.id = value;
311:            }
312:
313:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.