Source Code Cross Referenced for EntityBeanType.java in  » J2EE » openejb3 » org » apache » openejb » jee » oejb2 » 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 » J2EE » openejb3 » org.apache.openejb.jee.oejb2 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


0001:        /**
0002:         * Licensed to the Apache Software Foundation (ASF) under one or more
0003:         * contributor license agreements.  See the NOTICE file distributed with
0004:         * this work for additional information regarding copyright ownership.
0005:         * The ASF licenses this file to You under the Apache License, Version 2.0
0006:         * (the "License"); you may not use this file except in compliance with
0007:         * the License.  You may obtain a copy of the License at
0008:         *
0009:         *     http://www.apache.org/licenses/LICENSE-2.0
0010:         *
0011:         * Unless required by applicable law or agreed to in writing, software
0012:         * distributed under the License is distributed on an "AS IS" BASIS,
0013:         * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
0014:         * See the License for the specific language governing permissions and
0015:         * limitations under the License.
0016:         */package org.apache.openejb.jee.oejb2;
0017:
0018:        import java.util.ArrayList;
0019:        import java.util.List;
0020:        import javax.xml.bind.JAXBElement;
0021:        import javax.xml.bind.annotation.XmlAccessType;
0022:        import javax.xml.bind.annotation.XmlAccessorType;
0023:        import javax.xml.bind.annotation.XmlAttribute;
0024:        import javax.xml.bind.annotation.XmlElement;
0025:        import javax.xml.bind.annotation.XmlElementRef;
0026:        import javax.xml.bind.annotation.XmlID;
0027:        import javax.xml.bind.annotation.XmlType;
0028:        import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
0029:        import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
0030:
0031:        /**
0032:         * <p>Java class for entity-beanType complex type.
0033:         * 
0034:         * <p>The following schema fragment specifies the expected content contained within this class.
0035:         * 
0036:         * <pre>
0037:         * &lt;complexType name="entity-beanType">
0038:         *   &lt;complexContent>
0039:         *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
0040:         *       &lt;sequence>
0041:         *         &lt;element name="ejb-name" type="{http://www.w3.org/2001/XMLSchema}string"/>
0042:         *         &lt;element name="jndi-name" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
0043:         *         &lt;element name="local-jndi-name" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
0044:         *         &lt;group ref="{http://openejb.apache.org/xml/ns/openejb-jar-2.2}tssGroup" minOccurs="0"/>
0045:         *         &lt;sequence minOccurs="0">
0046:         *           &lt;element name="table-name" type="{http://www.w3.org/2001/XMLSchema}string"/>
0047:         *           &lt;element name="static-sql" type="{http://geronimo.apache.org/xml/ns/deployment-1.2}emptyType" minOccurs="0"/>
0048:         *           &lt;element name="cmp-field-mapping" maxOccurs="unbounded">
0049:         *             &lt;complexType>
0050:         *               &lt;complexContent>
0051:         *                 &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
0052:         *                   &lt;sequence>
0053:         *                     &lt;element name="cmp-field-name" type="{http://www.w3.org/2001/XMLSchema}string"/>
0054:         *                     &lt;element name="cmp-field-class" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
0055:         *                     &lt;element name="table-column" type="{http://www.w3.org/2001/XMLSchema}string"/>
0056:         *                     &lt;element name="sql-type" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
0057:         *                     &lt;element name="type-converter" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
0058:         *                   &lt;/sequence>
0059:         *                 &lt;/restriction>
0060:         *               &lt;/complexContent>
0061:         *             &lt;/complexType>
0062:         *           &lt;/element>
0063:         *           &lt;element name="primkey-field" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
0064:         *           &lt;element ref="{http://openejb.apache.org/xml/ns/pkgen-2.1}key-generator" minOccurs="0"/>
0065:         *           &lt;element name="prefetch-group" minOccurs="0">
0066:         *             &lt;complexType>
0067:         *               &lt;complexContent>
0068:         *                 &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
0069:         *                   &lt;sequence>
0070:         *                     &lt;element name="group" type="{http://openejb.apache.org/xml/ns/openejb-jar-2.2}groupType" maxOccurs="unbounded" minOccurs="0"/>
0071:         *                     &lt;element name="entity-group-mapping" type="{http://openejb.apache.org/xml/ns/openejb-jar-2.2}entity-group-mappingType" minOccurs="0"/>
0072:         *                     &lt;element name="cmp-field-group-mapping" type="{http://openejb.apache.org/xml/ns/openejb-jar-2.2}cmp-field-group-mappingType" maxOccurs="unbounded" minOccurs="0"/>
0073:         *                     &lt;element name="cmr-field-group-mapping" type="{http://openejb.apache.org/xml/ns/openejb-jar-2.2}cmr-field-group-mappingType" maxOccurs="unbounded" minOccurs="0"/>
0074:         *                   &lt;/sequence>
0075:         *                 &lt;/restriction>
0076:         *               &lt;/complexContent>
0077:         *             &lt;/complexType>
0078:         *           &lt;/element>
0079:         *           &lt;element name="select-for-update" type="{http://geronimo.apache.org/xml/ns/deployment-1.2}emptyType" minOccurs="0"/>
0080:         *         &lt;/sequence>
0081:         *         &lt;element name="cache" minOccurs="0">
0082:         *           &lt;complexType>
0083:         *             &lt;complexContent>
0084:         *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
0085:         *                 &lt;sequence>
0086:         *                   &lt;element name="isolation-level">
0087:         *                     &lt;simpleType>
0088:         *                       &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
0089:         *                         &lt;enumeration value="read-uncommitted"/>
0090:         *                         &lt;enumeration value="read-committed"/>
0091:         *                         &lt;enumeration value="repeatable-read"/>
0092:         *                       &lt;/restriction>
0093:         *                     &lt;/simpleType>
0094:         *                   &lt;/element>
0095:         *                   &lt;element name="size" type="{http://www.w3.org/2001/XMLSchema}int"/>
0096:         *                 &lt;/sequence>
0097:         *               &lt;/restriction>
0098:         *             &lt;/complexContent>
0099:         *           &lt;/complexType>
0100:         *         &lt;/element>
0101:         *         &lt;group ref="{http://geronimo.apache.org/xml/ns/naming-1.2}jndiEnvironmentRefsGroup"/>
0102:         *         &lt;element name="query" type="{http://openejb.apache.org/xml/ns/openejb-jar-2.2}queryType" maxOccurs="unbounded" minOccurs="0"/>
0103:         *       &lt;/sequence>
0104:         *       &lt;attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
0105:         *     &lt;/restriction>
0106:         *   &lt;/complexContent>
0107:         * &lt;/complexType>
0108:         * </pre>
0109:         * 
0110:         * 
0111:         */
0112:        @XmlAccessorType(XmlAccessType.FIELD)
0113:        @XmlType(name="entity-beanType",propOrder={"ejbName","jndiName","localJndiName","jndi","tssLink","tss","tableName","staticSql","cmpFieldMapping","primkeyField","keyGenerator","prefetchGroup","selectForUpdate","cache","abstractNamingEntry","persistenceContextRef","persistenceUnitRef","ejbRef","ejbLocalRef","serviceRef","resourceRef","resourceEnvRef","query"})
0114:        public class EntityBeanType implements  EnterpriseBean, RpcBean {
0115:
0116:            @XmlElement(name="ejb-name",required=true)
0117:            protected String ejbName;
0118:
0119:            @XmlElement(name="jndi-name")
0120:            protected List<String> jndiName;
0121:
0122:            @XmlElement(name="local-jndi-name")
0123:            protected List<String> localJndiName;
0124:
0125:            @XmlElement(name="jndi")
0126:            protected List<Jndi> jndi;
0127:
0128:            @XmlElement(name="tss-link")
0129:            protected String tssLink;
0130:
0131:            @XmlElement()
0132:            protected PatternType tss;
0133:
0134:            @XmlElement(name="table-name")
0135:            protected String tableName;
0136:
0137:            @XmlElement(name="static-sql")
0138:            protected EmptyType staticSql;
0139:
0140:            @XmlElement(name="cmp-field-mapping")
0141:            protected List<EntityBeanType.CmpFieldMapping> cmpFieldMapping;
0142:
0143:            @XmlElement(name="primkey-field")
0144:            protected String primkeyField;
0145:
0146:            @XmlElement(name="key-generator",namespace="http://openejb.apache.org/xml/ns/pkgen-2.1")
0147:            protected KeyGeneratorType keyGenerator;
0148:
0149:            @XmlElement(name="prefetch-group")
0150:            protected EntityBeanType.PrefetchGroup prefetchGroup;
0151:
0152:            @XmlElement(name="select-for-update")
0153:            protected EmptyType selectForUpdate;
0154:
0155:            @XmlElement()
0156:            protected EntityBeanType.Cache cache;
0157:
0158:            @XmlElementRef(name="abstract-naming-entry",namespace="http://geronimo.apache.org/xml/ns/naming-1.2",type=JAXBElement.class)
0159:            protected List<JAXBElement<? extends AbstractNamingEntryType>> abstractNamingEntry;
0160:
0161:            @XmlElement(name="persistence-contenxt-ref",namespace="http://geronimo.apache.org/xml/ns/naming-1.2")
0162:            protected List<PersistenceContextRefType> persistenceContextRef;
0163:
0164:            @XmlElement(name="persistence-unit-ref",namespace="http://geronimo.apache.org/xml/ns/naming-1.2")
0165:            protected List<PersistenceUnitRefType> persistenceUnitRef;
0166:
0167:            @XmlElement(name="ejb-ref",namespace="http://geronimo.apache.org/xml/ns/naming-1.2")
0168:            protected List<EjbRefType> ejbRef;
0169:
0170:            @XmlElement(name="ejb-local-ref",namespace="http://geronimo.apache.org/xml/ns/naming-1.2")
0171:            protected List<EjbLocalRefType> ejbLocalRef;
0172:
0173:            @XmlElement(name="service-ref",namespace="http://geronimo.apache.org/xml/ns/naming-1.2")
0174:            protected List<ServiceRefType> serviceRef;
0175:
0176:            @XmlElement(name="resource-ref",namespace="http://geronimo.apache.org/xml/ns/naming-1.2")
0177:            protected List<ResourceRefType> resourceRef;
0178:
0179:            @XmlElement(name="resource-env-ref",namespace="http://geronimo.apache.org/xml/ns/naming-1.2")
0180:            protected List<ResourceEnvRefType> resourceEnvRef;
0181:
0182:            @XmlElement()
0183:            protected List<QueryType> query;
0184:
0185:            @XmlAttribute
0186:            @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
0187:            @XmlID
0188:            protected String id;
0189:
0190:            /**
0191:             * Gets the value of the ejbName property.
0192:             * 
0193:             * @return
0194:             *     possible object is
0195:             *     {@link String }
0196:             *     
0197:             */
0198:            public String getEjbName() {
0199:                return ejbName;
0200:            }
0201:
0202:            /**
0203:             * Sets the value of the ejbName property.
0204:             * 
0205:             * @param value
0206:             *     allowed object is
0207:             *     {@link String }
0208:             *     
0209:             */
0210:            public void setEjbName(String value) {
0211:                this .ejbName = value;
0212:            }
0213:
0214:            /**
0215:             * Gets the value of the jndiName property.
0216:             * 
0217:             * <p>
0218:             * This accessor method returns a reference to the live list,
0219:             * not a snapshot. Therefore any modification you make to the
0220:             * returned list will be present inside the JAXB object.
0221:             * This is why there is not a <CODE>set</CODE> method for the jndiName property.
0222:             * 
0223:             * <p>
0224:             * For example, to add a new item, do as follows:
0225:             * <pre>
0226:             *    getJndiName().add(newItem);
0227:             * </pre>
0228:             * 
0229:             * 
0230:             * <p>
0231:             * Objects of the following type(s) are allowed in the list
0232:             * {@link String }
0233:             * 
0234:             * 
0235:             */
0236:            public List<String> getJndiName() {
0237:                if (jndiName == null) {
0238:                    jndiName = new ArrayList<String>();
0239:                }
0240:                return this .jndiName;
0241:            }
0242:
0243:            /**
0244:             * Gets the value of the localJndiName property.
0245:             * 
0246:             * <p>
0247:             * This accessor method returns a reference to the live list,
0248:             * not a snapshot. Therefore any modification you make to the
0249:             * returned list will be present inside the JAXB object.
0250:             * This is why there is not a <CODE>set</CODE> method for the localJndiName property.
0251:             * 
0252:             * <p>
0253:             * For example, to add a new item, do as follows:
0254:             * <pre>
0255:             *    getLocalJndiName().add(newItem);
0256:             * </pre>
0257:             * 
0258:             * 
0259:             * <p>
0260:             * Objects of the following type(s) are allowed in the list
0261:             * {@link String }
0262:             * 
0263:             * 
0264:             */
0265:            public List<String> getLocalJndiName() {
0266:                if (localJndiName == null) {
0267:                    localJndiName = new ArrayList<String>();
0268:                }
0269:                return this .localJndiName;
0270:            }
0271:
0272:            public List<Jndi> getJndi() {
0273:                if (jndi == null) {
0274:                    jndi = new ArrayList<Jndi>();
0275:                }
0276:                return this .jndi;
0277:            }
0278:
0279:            /**
0280:             * Gets the value of the tssLink property.
0281:             * 
0282:             * @return
0283:             *     possible object is
0284:             *     {@link String }
0285:             *     
0286:             */
0287:            public String getTssLink() {
0288:                return tssLink;
0289:            }
0290:
0291:            /**
0292:             * Sets the value of the tssLink property.
0293:             * 
0294:             * @param value
0295:             *     allowed object is
0296:             *     {@link String }
0297:             *     
0298:             */
0299:            public void setTssLink(String value) {
0300:                this .tssLink = value;
0301:            }
0302:
0303:            /**
0304:             * Gets the value of the tss property.
0305:             * 
0306:             * @return
0307:             *     possible object is
0308:             *     {@link PatternType }
0309:             *     
0310:             */
0311:            public PatternType getTss() {
0312:                return tss;
0313:            }
0314:
0315:            /**
0316:             * Sets the value of the tss property.
0317:             * 
0318:             * @param value
0319:             *     allowed object is
0320:             *     {@link PatternType }
0321:             *     
0322:             */
0323:            public void setTss(PatternType value) {
0324:                this .tss = value;
0325:            }
0326:
0327:            /**
0328:             * Gets the value of the tableName property.
0329:             * 
0330:             * @return
0331:             *     possible object is
0332:             *     {@link String }
0333:             *     
0334:             */
0335:            public String getTableName() {
0336:                return tableName;
0337:            }
0338:
0339:            /**
0340:             * Sets the value of the tableName property.
0341:             * 
0342:             * @param value
0343:             *     allowed object is
0344:             *     {@link String }
0345:             *     
0346:             */
0347:            public void setTableName(String value) {
0348:                this .tableName = value;
0349:            }
0350:
0351:            /**
0352:             * Gets the value of the staticSql property.
0353:             * 
0354:             * @return
0355:             *     possible object is
0356:             *     {@link boolean }
0357:             *     
0358:             */
0359:            public boolean isStaticSql() {
0360:                return staticSql != null;
0361:            }
0362:
0363:            /**
0364:             * Sets the value of the staticSql property.
0365:             * 
0366:             * @param value
0367:             *     allowed object is
0368:             *     {@link boolean }
0369:             *     
0370:             */
0371:            public void setStaticSql(boolean value) {
0372:                this .staticSql = value ? new EmptyType() : null;
0373:            }
0374:
0375:            /**
0376:             * Gets the value of the cmpFieldMapping property.
0377:             * 
0378:             * <p>
0379:             * This accessor method returns a reference to the live list,
0380:             * not a snapshot. Therefore any modification you make to the
0381:             * returned list will be present inside the JAXB object.
0382:             * This is why there is not a <CODE>set</CODE> method for the cmpFieldMapping property.
0383:             * 
0384:             * <p>
0385:             * For example, to add a new item, do as follows:
0386:             * <pre>
0387:             *    getCmpFieldMapping().add(newItem);
0388:             * </pre>
0389:             * 
0390:             * 
0391:             * <p>
0392:             * Objects of the following type(s) are allowed in the list
0393:             * {@link EntityBeanType.CmpFieldMapping }
0394:             * 
0395:             * 
0396:             */
0397:            public List<EntityBeanType.CmpFieldMapping> getCmpFieldMapping() {
0398:                if (cmpFieldMapping == null) {
0399:                    cmpFieldMapping = new ArrayList<EntityBeanType.CmpFieldMapping>();
0400:                }
0401:                return this .cmpFieldMapping;
0402:            }
0403:
0404:            /**
0405:             * Gets the value of the primkeyField property.
0406:             * 
0407:             * @return
0408:             *     possible object is
0409:             *     {@link String }
0410:             *     
0411:             */
0412:            public String getPrimkeyField() {
0413:                return primkeyField;
0414:            }
0415:
0416:            /**
0417:             * Sets the value of the primkeyField property.
0418:             * 
0419:             * @param value
0420:             *     allowed object is
0421:             *     {@link String }
0422:             *     
0423:             */
0424:            public void setPrimkeyField(String value) {
0425:                this .primkeyField = value;
0426:            }
0427:
0428:            /**
0429:             * Gets the value of the keyGenerator property.
0430:             * 
0431:             * @return
0432:             *     possible object is
0433:             *     {@link KeyGeneratorType }
0434:             *     
0435:             */
0436:            public KeyGeneratorType getKeyGenerator() {
0437:                return keyGenerator;
0438:            }
0439:
0440:            /**
0441:             * Sets the value of the keyGenerator property.
0442:             * 
0443:             * @param value
0444:             *     allowed object is
0445:             *     {@link KeyGeneratorType }
0446:             *     
0447:             */
0448:            public void setKeyGenerator(KeyGeneratorType value) {
0449:                this .keyGenerator = value;
0450:            }
0451:
0452:            /**
0453:             * Gets the value of the prefetchGroup property.
0454:             * 
0455:             * @return
0456:             *     possible object is
0457:             *     {@link EntityBeanType.PrefetchGroup }
0458:             *     
0459:             */
0460:            public EntityBeanType.PrefetchGroup getPrefetchGroup() {
0461:                return prefetchGroup;
0462:            }
0463:
0464:            /**
0465:             * Sets the value of the prefetchGroup property.
0466:             * 
0467:             * @param value
0468:             *     allowed object is
0469:             *     {@link EntityBeanType.PrefetchGroup }
0470:             *     
0471:             */
0472:            public void setPrefetchGroup(EntityBeanType.PrefetchGroup value) {
0473:                this .prefetchGroup = value;
0474:            }
0475:
0476:            /**
0477:             * Gets the value of the selectForUpdate property.
0478:             * 
0479:             * @return
0480:             *     possible object is
0481:             *     {@link boolean }
0482:             *     
0483:             */
0484:            public boolean isSelectForUpdate() {
0485:                return selectForUpdate != null;
0486:            }
0487:
0488:            /**
0489:             * Sets the value of the selectForUpdate property.
0490:             * 
0491:             * @param value
0492:             *     allowed object is
0493:             *     {@link boolean }
0494:             *     
0495:             */
0496:            public void setSelectForUpdate(boolean value) {
0497:                this .selectForUpdate = value ? new EmptyType() : null;
0498:            }
0499:
0500:            /**
0501:             * Gets the value of the cache property.
0502:             * 
0503:             * @return
0504:             *     possible object is
0505:             *     {@link EntityBeanType.Cache }
0506:             *     
0507:             */
0508:            public EntityBeanType.Cache getCache() {
0509:                return cache;
0510:            }
0511:
0512:            /**
0513:             * Sets the value of the cache property.
0514:             * 
0515:             * @param value
0516:             *     allowed object is
0517:             *     {@link EntityBeanType.Cache }
0518:             *     
0519:             */
0520:            public void setCache(EntityBeanType.Cache value) {
0521:                this .cache = value;
0522:            }
0523:
0524:            /**
0525:             * Gets the value of the abstractNamingEntry property.
0526:             * 
0527:             * <p>
0528:             * This accessor method returns a reference to the live list,
0529:             * not a snapshot. Therefore any modification you make to the
0530:             * returned list will be present inside the JAXB object.
0531:             * This is why there is not a <CODE>set</CODE> method for the abstractNamingEntry property.
0532:             * 
0533:             * <p>
0534:             * For example, to add a new item, do as follows:
0535:             * <pre>
0536:             *    getAbstractNamingEntry().add(newItem);
0537:             * </pre>
0538:             * 
0539:             * 
0540:             * <p>
0541:             * Objects of the following type(s) are allowed in the list
0542:             * {@link JAXBElement }{@code <}{@link AbstractNamingEntryType }{@code >}
0543:             * {@link JAXBElement }{@code <}{@link PersistenceContextRefType }{@code >}
0544:             * {@link JAXBElement }{@code <}{@link PersistenceUnitRefType }{@code >}
0545:             * {@link JAXBElement }{@code <}{@link GbeanRefType }{@code >}
0546:             * 
0547:             * 
0548:             */
0549:            public List<JAXBElement<? extends AbstractNamingEntryType>> getAbstractNamingEntry() {
0550:                if (abstractNamingEntry == null) {
0551:                    abstractNamingEntry = new ArrayList<JAXBElement<? extends AbstractNamingEntryType>>();
0552:                }
0553:                return this .abstractNamingEntry;
0554:            }
0555:
0556:            public List<PersistenceContextRefType> getPersistenceContextRef() {
0557:                if (persistenceContextRef == null) {
0558:                    persistenceContextRef = new ArrayList<PersistenceContextRefType>();
0559:                }
0560:                return persistenceContextRef;
0561:            }
0562:
0563:            public List<PersistenceUnitRefType> getPersistenceUnitRef() {
0564:                if (persistenceUnitRef == null) {
0565:                    persistenceUnitRef = new ArrayList<PersistenceUnitRefType>();
0566:                }
0567:                return persistenceUnitRef;
0568:            }
0569:
0570:            /**
0571:             * Gets the value of the ejbRef property.
0572:             * 
0573:             * <p>
0574:             * This accessor method returns a reference to the live list,
0575:             * not a snapshot. Therefore any modification you make to the
0576:             * returned list will be present inside the JAXB object.
0577:             * This is why there is not a <CODE>set</CODE> method for the ejbRef property.
0578:             * 
0579:             * <p>
0580:             * For example, to add a new item, do as follows:
0581:             * <pre>
0582:             *    getEjbRef().add(newItem);
0583:             * </pre>
0584:             * 
0585:             * 
0586:             * <p>
0587:             * Objects of the following type(s) are allowed in the list
0588:             * {@link EjbRefType }
0589:             * 
0590:             * 
0591:             */
0592:            public List<EjbRefType> getEjbRef() {
0593:                if (ejbRef == null) {
0594:                    ejbRef = new ArrayList<EjbRefType>();
0595:                }
0596:                return this .ejbRef;
0597:            }
0598:
0599:            /**
0600:             * Gets the value of the ejbLocalRef property.
0601:             * 
0602:             * <p>
0603:             * This accessor method returns a reference to the live list,
0604:             * not a snapshot. Therefore any modification you make to the
0605:             * returned list will be present inside the JAXB object.
0606:             * This is why there is not a <CODE>set</CODE> method for the ejbLocalRef property.
0607:             * 
0608:             * <p>
0609:             * For example, to add a new item, do as follows:
0610:             * <pre>
0611:             *    getEjbLocalRef().add(newItem);
0612:             * </pre>
0613:             * 
0614:             * 
0615:             * <p>
0616:             * Objects of the following type(s) are allowed in the list
0617:             * {@link EjbLocalRefType }
0618:             * 
0619:             * 
0620:             */
0621:            public List<EjbLocalRefType> getEjbLocalRef() {
0622:                if (ejbLocalRef == null) {
0623:                    ejbLocalRef = new ArrayList<EjbLocalRefType>();
0624:                }
0625:                return this .ejbLocalRef;
0626:            }
0627:
0628:            /**
0629:             * Gets the value of the serviceRef property.
0630:             * 
0631:             * <p>
0632:             * This accessor method returns a reference to the live list,
0633:             * not a snapshot. Therefore any modification you make to the
0634:             * returned list will be present inside the JAXB object.
0635:             * This is why there is not a <CODE>set</CODE> method for the serviceRef property.
0636:             * 
0637:             * <p>
0638:             * For example, to add a new item, do as follows:
0639:             * <pre>
0640:             *    getServiceRef().add(newItem);
0641:             * </pre>
0642:             * 
0643:             * 
0644:             * <p>
0645:             * Objects of the following type(s) are allowed in the list
0646:             * {@link ServiceRefType }
0647:             * 
0648:             * 
0649:             */
0650:            public List<ServiceRefType> getServiceRef() {
0651:                if (serviceRef == null) {
0652:                    serviceRef = new ArrayList<ServiceRefType>();
0653:                }
0654:                return this .serviceRef;
0655:            }
0656:
0657:            /**
0658:             * Gets the value of the resourceRef property.
0659:             * 
0660:             * <p>
0661:             * This accessor method returns a reference to the live list,
0662:             * not a snapshot. Therefore any modification you make to the
0663:             * returned list will be present inside the JAXB object.
0664:             * This is why there is not a <CODE>set</CODE> method for the resourceRef property.
0665:             * 
0666:             * <p>
0667:             * For example, to add a new item, do as follows:
0668:             * <pre>
0669:             *    getResourceRef().add(newItem);
0670:             * </pre>
0671:             * 
0672:             * 
0673:             * <p>
0674:             * Objects of the following type(s) are allowed in the list
0675:             * {@link ResourceRefType }
0676:             * 
0677:             * 
0678:             */
0679:            public List<ResourceRefType> getResourceRef() {
0680:                if (resourceRef == null) {
0681:                    resourceRef = new ArrayList<ResourceRefType>();
0682:                }
0683:                return this .resourceRef;
0684:            }
0685:
0686:            /**
0687:             * Gets the value of the resourceEnvRef property.
0688:             * 
0689:             * <p>
0690:             * This accessor method returns a reference to the live list,
0691:             * not a snapshot. Therefore any modification you make to the
0692:             * returned list will be present inside the JAXB object.
0693:             * This is why there is not a <CODE>set</CODE> method for the resourceEnvRef property.
0694:             * 
0695:             * <p>
0696:             * For example, to add a new item, do as follows:
0697:             * <pre>
0698:             *    getResourceEnvRef().add(newItem);
0699:             * </pre>
0700:             * 
0701:             * 
0702:             * <p>
0703:             * Objects of the following type(s) are allowed in the list
0704:             * {@link ResourceEnvRefType }
0705:             * 
0706:             * 
0707:             */
0708:            public List<ResourceEnvRefType> getResourceEnvRef() {
0709:                if (resourceEnvRef == null) {
0710:                    resourceEnvRef = new ArrayList<ResourceEnvRefType>();
0711:                }
0712:                return this .resourceEnvRef;
0713:            }
0714:
0715:            /**
0716:             * Gets the value of the query property.
0717:             * 
0718:             * <p>
0719:             * This accessor method returns a reference to the live list,
0720:             * not a snapshot. Therefore any modification you make to the
0721:             * returned list will be present inside the JAXB object.
0722:             * This is why there is not a <CODE>set</CODE> method for the query property.
0723:             * 
0724:             * <p>
0725:             * For example, to add a new item, do as follows:
0726:             * <pre>
0727:             *    getQuery().add(newItem);
0728:             * </pre>
0729:             * 
0730:             * 
0731:             * <p>
0732:             * Objects of the following type(s) are allowed in the list
0733:             * {@link QueryType }
0734:             * 
0735:             * 
0736:             */
0737:            public List<QueryType> getQuery() {
0738:                if (query == null) {
0739:                    query = new ArrayList<QueryType>();
0740:                }
0741:                return this .query;
0742:            }
0743:
0744:            /**
0745:             * Gets the value of the id property.
0746:             * 
0747:             * @return
0748:             *     possible object is
0749:             *     {@link String }
0750:             *     
0751:             */
0752:            public String getId() {
0753:                return id;
0754:            }
0755:
0756:            /**
0757:             * Sets the value of the id property.
0758:             * 
0759:             * @param value
0760:             *     allowed object is
0761:             *     {@link String }
0762:             *     
0763:             */
0764:            public void setId(String value) {
0765:                this .id = value;
0766:            }
0767:
0768:            /**
0769:             * <p>Java class for anonymous complex type.
0770:             * 
0771:             * <p>The following schema fragment specifies the expected content contained within this class.
0772:             * 
0773:             * <pre>
0774:             * &lt;complexType>
0775:             *   &lt;complexContent>
0776:             *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
0777:             *       &lt;sequence>
0778:             *         &lt;element name="isolation-level">
0779:             *           &lt;simpleType>
0780:             *             &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
0781:             *               &lt;enumeration value="read-uncommitted"/>
0782:             *               &lt;enumeration value="read-committed"/>
0783:             *               &lt;enumeration value="repeatable-read"/>
0784:             *             &lt;/restriction>
0785:             *           &lt;/simpleType>
0786:             *         &lt;/element>
0787:             *         &lt;element name="size" type="{http://www.w3.org/2001/XMLSchema}int"/>
0788:             *       &lt;/sequence>
0789:             *     &lt;/restriction>
0790:             *   &lt;/complexContent>
0791:             * &lt;/complexType>
0792:             * </pre>
0793:             * 
0794:             * 
0795:             */
0796:            @XmlAccessorType(XmlAccessType.FIELD)
0797:            @XmlType(name="",propOrder={"isolationLevel","size"})
0798:            public static class Cache {
0799:
0800:                @XmlElement(name="isolation-level",required=true)
0801:                protected String isolationLevel;
0802:                @XmlElement()
0803:                protected int size;
0804:
0805:                /**
0806:                 * Gets the value of the isolationLevel property.
0807:                 * 
0808:                 * @return
0809:                 *     possible object is
0810:                 *     {@link String }
0811:                 *     
0812:                 */
0813:                public String getIsolationLevel() {
0814:                    return isolationLevel;
0815:                }
0816:
0817:                /**
0818:                 * Sets the value of the isolationLevel property.
0819:                 * 
0820:                 * @param value
0821:                 *     allowed object is
0822:                 *     {@link String }
0823:                 *     
0824:                 */
0825:                public void setIsolationLevel(String value) {
0826:                    this .isolationLevel = value;
0827:                }
0828:
0829:                /**
0830:                 * Gets the value of the size property.
0831:                 * 
0832:                 */
0833:                public int getSize() {
0834:                    return size;
0835:                }
0836:
0837:                /**
0838:                 * Sets the value of the size property.
0839:                 * 
0840:                 */
0841:                public void setSize(int value) {
0842:                    this .size = value;
0843:                }
0844:
0845:            }
0846:
0847:            /**
0848:             * <p>Java class for anonymous complex type.
0849:             * 
0850:             * <p>The following schema fragment specifies the expected content contained within this class.
0851:             * 
0852:             * <pre>
0853:             * &lt;complexType>
0854:             *   &lt;complexContent>
0855:             *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
0856:             *       &lt;sequence>
0857:             *         &lt;element name="cmp-field-name" type="{http://www.w3.org/2001/XMLSchema}string"/>
0858:             *         &lt;element name="cmp-field-class" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
0859:             *         &lt;element name="table-column" type="{http://www.w3.org/2001/XMLSchema}string"/>
0860:             *         &lt;element name="sql-type" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
0861:             *         &lt;element name="type-converter" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
0862:             *       &lt;/sequence>
0863:             *     &lt;/restriction>
0864:             *   &lt;/complexContent>
0865:             * &lt;/complexType>
0866:             * </pre>
0867:             * 
0868:             * 
0869:             */
0870:            @XmlAccessorType(XmlAccessType.FIELD)
0871:            @XmlType(name="",propOrder={"cmpFieldName","cmpFieldClass","tableColumn","sqlType","typeConverter"})
0872:            public static class CmpFieldMapping {
0873:
0874:                @XmlElement(name="cmp-field-name",required=true)
0875:                protected String cmpFieldName;
0876:                @XmlElement(name="cmp-field-class")
0877:                protected String cmpFieldClass;
0878:                @XmlElement(name="table-column",required=true)
0879:                protected String tableColumn;
0880:                @XmlElement(name="sql-type")
0881:                protected String sqlType;
0882:                @XmlElement(name="type-converter")
0883:                protected String typeConverter;
0884:
0885:                /**
0886:                 * Gets the value of the cmpFieldName property.
0887:                 * 
0888:                 * @return
0889:                 *     possible object is
0890:                 *     {@link String }
0891:                 *     
0892:                 */
0893:                public String getCmpFieldName() {
0894:                    return cmpFieldName;
0895:                }
0896:
0897:                /**
0898:                 * Sets the value of the cmpFieldName property.
0899:                 * 
0900:                 * @param value
0901:                 *     allowed object is
0902:                 *     {@link String }
0903:                 *     
0904:                 */
0905:                public void setCmpFieldName(String value) {
0906:                    this .cmpFieldName = value;
0907:                }
0908:
0909:                /**
0910:                 * Gets the value of the cmpFieldClass property.
0911:                 * 
0912:                 * @return
0913:                 *     possible object is
0914:                 *     {@link String }
0915:                 *     
0916:                 */
0917:                public String getCmpFieldClass() {
0918:                    return cmpFieldClass;
0919:                }
0920:
0921:                /**
0922:                 * Sets the value of the cmpFieldClass property.
0923:                 * 
0924:                 * @param value
0925:                 *     allowed object is
0926:                 *     {@link String }
0927:                 *     
0928:                 */
0929:                public void setCmpFieldClass(String value) {
0930:                    this .cmpFieldClass = value;
0931:                }
0932:
0933:                /**
0934:                 * Gets the value of the tableColumn property.
0935:                 * 
0936:                 * @return
0937:                 *     possible object is
0938:                 *     {@link String }
0939:                 *     
0940:                 */
0941:                public String getTableColumn() {
0942:                    return tableColumn;
0943:                }
0944:
0945:                /**
0946:                 * Sets the value of the tableColumn property.
0947:                 * 
0948:                 * @param value
0949:                 *     allowed object is
0950:                 *     {@link String }
0951:                 *     
0952:                 */
0953:                public void setTableColumn(String value) {
0954:                    this .tableColumn = value;
0955:                }
0956:
0957:                /**
0958:                 * Gets the value of the sqlType property.
0959:                 * 
0960:                 * @return
0961:                 *     possible object is
0962:                 *     {@link String }
0963:                 *     
0964:                 */
0965:                public String getSqlType() {
0966:                    return sqlType;
0967:                }
0968:
0969:                /**
0970:                 * Sets the value of the sqlType property.
0971:                 * 
0972:                 * @param value
0973:                 *     allowed object is
0974:                 *     {@link String }
0975:                 *     
0976:                 */
0977:                public void setSqlType(String value) {
0978:                    this .sqlType = value;
0979:                }
0980:
0981:                /**
0982:                 * Gets the value of the typeConverter property.
0983:                 * 
0984:                 * @return
0985:                 *     possible object is
0986:                 *     {@link String }
0987:                 *     
0988:                 */
0989:                public String getTypeConverter() {
0990:                    return typeConverter;
0991:                }
0992:
0993:                /**
0994:                 * Sets the value of the typeConverter property.
0995:                 * 
0996:                 * @param value
0997:                 *     allowed object is
0998:                 *     {@link String }
0999:                 *     
1000:                 */
1001:                public void setTypeConverter(String value) {
1002:                    this .typeConverter = value;
1003:                }
1004:
1005:            }
1006:
1007:            /**
1008:             * <p>Java class for anonymous complex type.
1009:             * 
1010:             * <p>The following schema fragment specifies the expected content contained within this class.
1011:             * 
1012:             * <pre>
1013:             * &lt;complexType>
1014:             *   &lt;complexContent>
1015:             *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
1016:             *       &lt;sequence>
1017:             *         &lt;element name="group" type="{http://openejb.apache.org/xml/ns/openejb-jar-2.2}groupType" maxOccurs="unbounded" minOccurs="0"/>
1018:             *         &lt;element name="entity-group-mapping" type="{http://openejb.apache.org/xml/ns/openejb-jar-2.2}entity-group-mappingType" minOccurs="0"/>
1019:             *         &lt;element name="cmp-field-group-mapping" type="{http://openejb.apache.org/xml/ns/openejb-jar-2.2}cmp-field-group-mappingType" maxOccurs="unbounded" minOccurs="0"/>
1020:             *         &lt;element name="cmr-field-group-mapping" type="{http://openejb.apache.org/xml/ns/openejb-jar-2.2}cmr-field-group-mappingType" maxOccurs="unbounded" minOccurs="0"/>
1021:             *       &lt;/sequence>
1022:             *     &lt;/restriction>
1023:             *   &lt;/complexContent>
1024:             * &lt;/complexType>
1025:             * </pre>
1026:             * 
1027:             * 
1028:             */
1029:            @XmlAccessorType(XmlAccessType.FIELD)
1030:            @XmlType(name="",propOrder={"group","entityGroupMapping","cmpFieldGroupMapping","cmrFieldGroupMapping"})
1031:            public static class PrefetchGroup {
1032:
1033:                @XmlElement()
1034:                protected List<GroupType> group;
1035:                @XmlElement(name="entity-group-mapping")
1036:                protected EntityGroupMappingType entityGroupMapping;
1037:                @XmlElement(name="cmp-field-group-mapping")
1038:                protected List<CmpFieldGroupMappingType> cmpFieldGroupMapping;
1039:                @XmlElement(name="cmr-field-group-mapping")
1040:                protected List<CmrFieldGroupMappingType> cmrFieldGroupMapping;
1041:
1042:                /**
1043:                 * Gets the value of the group property.
1044:                 * 
1045:                 * <p>
1046:                 * This accessor method returns a reference to the live list,
1047:                 * not a snapshot. Therefore any modification you make to the
1048:                 * returned list will be present inside the JAXB object.
1049:                 * This is why there is not a <CODE>set</CODE> method for the group property.
1050:                 * 
1051:                 * <p>
1052:                 * For example, to add a new item, do as follows:
1053:                 * <pre>
1054:                 *    getGroup().add(newItem);
1055:                 * </pre>
1056:                 * 
1057:                 * 
1058:                 * <p>
1059:                 * Objects of the following type(s) are allowed in the list
1060:                 * {@link GroupType }
1061:                 * 
1062:                 * 
1063:                 */
1064:                public List<GroupType> getGroup() {
1065:                    if (group == null) {
1066:                        group = new ArrayList<GroupType>();
1067:                    }
1068:                    return this .group;
1069:                }
1070:
1071:                /**
1072:                 * Gets the value of the entityGroupMapping property.
1073:                 * 
1074:                 * @return
1075:                 *     possible object is
1076:                 *     {@link EntityGroupMappingType }
1077:                 *     
1078:                 */
1079:                public EntityGroupMappingType getEntityGroupMapping() {
1080:                    return entityGroupMapping;
1081:                }
1082:
1083:                /**
1084:                 * Sets the value of the entityGroupMapping property.
1085:                 * 
1086:                 * @param value
1087:                 *     allowed object is
1088:                 *     {@link EntityGroupMappingType }
1089:                 *     
1090:                 */
1091:                public void setEntityGroupMapping(EntityGroupMappingType value) {
1092:                    this .entityGroupMapping = value;
1093:                }
1094:
1095:                /**
1096:                 * Gets the value of the cmpFieldGroupMapping property.
1097:                 * 
1098:                 * <p>
1099:                 * This accessor method returns a reference to the live list,
1100:                 * not a snapshot. Therefore any modification you make to the
1101:                 * returned list will be present inside the JAXB object.
1102:                 * This is why there is not a <CODE>set</CODE> method for the cmpFieldGroupMapping property.
1103:                 * 
1104:                 * <p>
1105:                 * For example, to add a new item, do as follows:
1106:                 * <pre>
1107:                 *    getCmpFieldGroupMapping().add(newItem);
1108:                 * </pre>
1109:                 * 
1110:                 * 
1111:                 * <p>
1112:                 * Objects of the following type(s) are allowed in the list
1113:                 * {@link CmpFieldGroupMappingType }
1114:                 * 
1115:                 * 
1116:                 */
1117:                public List<CmpFieldGroupMappingType> getCmpFieldGroupMapping() {
1118:                    if (cmpFieldGroupMapping == null) {
1119:                        cmpFieldGroupMapping = new ArrayList<CmpFieldGroupMappingType>();
1120:                    }
1121:                    return this .cmpFieldGroupMapping;
1122:                }
1123:
1124:                /**
1125:                 * Gets the value of the cmrFieldGroupMapping property.
1126:                 * 
1127:                 * <p>
1128:                 * This accessor method returns a reference to the live list,
1129:                 * not a snapshot. Therefore any modification you make to the
1130:                 * returned list will be present inside the JAXB object.
1131:                 * This is why there is not a <CODE>set</CODE> method for the cmrFieldGroupMapping property.
1132:                 * 
1133:                 * <p>
1134:                 * For example, to add a new item, do as follows:
1135:                 * <pre>
1136:                 *    getCmrFieldGroupMapping().add(newItem);
1137:                 * </pre>
1138:                 * 
1139:                 * 
1140:                 * <p>
1141:                 * Objects of the following type(s) are allowed in the list
1142:                 * {@link CmrFieldGroupMappingType }
1143:                 * 
1144:                 * 
1145:                 */
1146:                public List<CmrFieldGroupMappingType> getCmrFieldGroupMapping() {
1147:                    if (cmrFieldGroupMapping == null) {
1148:                        cmrFieldGroupMapping = new ArrayList<CmrFieldGroupMappingType>();
1149:                    }
1150:                    return this.cmrFieldGroupMapping;
1151:                }
1152:
1153:            }
1154:
1155:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.