Source Code Cross Referenced for ApplicationType.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) 


001:        /**
002:         * Licensed to the Apache Software Foundation (ASF) under one or more
003:         * contributor license agreements.  See the NOTICE file distributed with
004:         * this work for additional information regarding copyright ownership.
005:         * The ASF licenses this file to You under the Apache License, Version 2.0
006:         * (the "License"); you may not use this file except in compliance with
007:         * the License.  You may obtain a copy of the License at
008:         *
009:         *     http://www.apache.org/licenses/LICENSE-2.0
010:         *
011:         * Unless required by applicable law or agreed to in writing, software
012:         * distributed under the License is distributed on an "AS IS" BASIS,
013:         * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
014:         * See the License for the specific language governing permissions and
015:         * limitations under the License.
016:         */package org.apache.openejb.jee.oejb2;
017:
018:        import java.util.ArrayList;
019:        import java.util.List;
020:        import javax.xml.bind.JAXBElement;
021:        import javax.xml.bind.annotation.XmlAccessType;
022:        import javax.xml.bind.annotation.XmlAccessorType;
023:        import javax.xml.bind.annotation.XmlAttribute;
024:        import javax.xml.bind.annotation.XmlElement;
025:        import javax.xml.bind.annotation.XmlElementRef;
026:        import javax.xml.bind.annotation.XmlType;
027:
028:        /**
029:         * <p>Java class for applicationType complex type.
030:         * 
031:         * <p>The following schema fragment specifies the expected content contained within this class.
032:         * 
033:         * <pre>
034:         * &lt;complexType name="applicationType">
035:         *   &lt;complexContent>
036:         *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
037:         *       &lt;sequence>
038:         *         &lt;element ref="{http://geronimo.apache.org/xml/ns/deployment-1.2}environment"/>
039:         *         &lt;element name="module" type="{http://geronimo.apache.org/xml/ns/j2ee/application-1.2}moduleType" maxOccurs="unbounded" minOccurs="0"/>
040:         *         &lt;element name="ext-module" type="{http://geronimo.apache.org/xml/ns/j2ee/application-1.2}ext-moduleType" maxOccurs="unbounded" minOccurs="0"/>
041:         *         &lt;element ref="{http://geronimo.apache.org/xml/ns/j2ee/application-1.2}security" minOccurs="0"/>
042:         *         &lt;element ref="{http://geronimo.apache.org/xml/ns/deployment-1.2}service" maxOccurs="unbounded" minOccurs="0"/>
043:         *       &lt;/sequence>
044:         *       &lt;attribute name="application-name" type="{http://www.w3.org/2001/XMLSchema}string" />
045:         *     &lt;/restriction>
046:         *   &lt;/complexContent>
047:         * &lt;/complexType>
048:         * </pre>
049:         * 
050:         * 
051:         */
052:        @XmlAccessorType(XmlAccessType.FIELD)
053:        @XmlType(name="applicationType",namespace="http://geronimo.apache.org/xml/ns/j2ee/application-1.2",propOrder={"environment","module","extModule","security","service"})
054:        public class ApplicationType {
055:
056:            @XmlElement(name="environment",namespace="http://geronimo.apache.org/xml/ns/deployment-1.2",required=true)
057:            protected EnvironmentType environment;
058:            @XmlElement(name="module",namespace="http://geronimo.apache.org/xml/ns/j2ee/application-1.2")
059:            protected List<ModuleType> module;
060:            @XmlElement(name="ext-module",namespace="http://geronimo.apache.org/xml/ns/j2ee/application-1.2")
061:            protected List<ExtModuleType> extModule;
062:            @XmlElement(name="security",namespace="http://geronimo.apache.org/xml/ns/j2ee/application-1.2")
063:            protected AbstractSecurityType security;
064:            @XmlElementRef(name="service",namespace="http://geronimo.apache.org/xml/ns/deployment-1.2",type=JAXBElement.class)
065:            protected List<JAXBElement<? extends AbstractServiceType>> service;
066:            @XmlAttribute(name="application-name")
067:            protected String applicationName;
068:
069:            /**
070:             * Gets the value of the environment property.
071:             * 
072:             * @return
073:             *     possible object is
074:             *     {@link EnvironmentType }
075:             *     
076:             */
077:            public EnvironmentType getEnvironment() {
078:                return environment;
079:            }
080:
081:            /**
082:             * Sets the value of the environment property.
083:             * 
084:             * @param value
085:             *     allowed object is
086:             *     {@link EnvironmentType }
087:             *     
088:             */
089:            public void setEnvironment(EnvironmentType value) {
090:                this .environment = value;
091:            }
092:
093:            /**
094:             * Gets the value of the module property.
095:             * 
096:             * <p>
097:             * This accessor method returns a reference to the live list,
098:             * not a snapshot. Therefore any modification you make to the
099:             * returned list will be present inside the JAXB object.
100:             * This is why there is not a <CODE>set</CODE> method for the module property.
101:             * 
102:             * <p>
103:             * For example, to add a new item, do as follows:
104:             * <pre>
105:             *    getModule().add(newItem);
106:             * </pre>
107:             * 
108:             * 
109:             * <p>
110:             * Objects of the following type(s) are allowed in the list
111:             * {@link ModuleType }
112:             * 
113:             * 
114:             */
115:            public List<ModuleType> getModule() {
116:                if (module == null) {
117:                    module = new ArrayList<ModuleType>();
118:                }
119:                return this .module;
120:            }
121:
122:            /**
123:             * Gets the value of the extModule property.
124:             * 
125:             * <p>
126:             * This accessor method returns a reference to the live list,
127:             * not a snapshot. Therefore any modification you make to the
128:             * returned list will be present inside the JAXB object.
129:             * This is why there is not a <CODE>set</CODE> method for the extModule property.
130:             * 
131:             * <p>
132:             * For example, to add a new item, do as follows:
133:             * <pre>
134:             *    getExtModule().add(newItem);
135:             * </pre>
136:             * 
137:             * 
138:             * <p>
139:             * Objects of the following type(s) are allowed in the list
140:             * {@link ExtModuleType }
141:             * 
142:             * 
143:             */
144:            public List<ExtModuleType> getExtModule() {
145:                if (extModule == null) {
146:                    extModule = new ArrayList<ExtModuleType>();
147:                }
148:                return this .extModule;
149:            }
150:
151:            /**
152:             * Gets the value of the security property.
153:             * 
154:             * @return
155:             *     possible object is
156:             *     {@link AbstractSecurityType }
157:             *     
158:             */
159:            public AbstractSecurityType getSecurity() {
160:                return security;
161:            }
162:
163:            /**
164:             * Sets the value of the security property.
165:             * 
166:             * @param value
167:             *     allowed object is
168:             *     {@link AbstractSecurityType }
169:             *     
170:             */
171:            public void setSecurity(AbstractSecurityType value) {
172:                this .security = value;
173:            }
174:
175:            /**
176:             * Gets the value of the service property.
177:             * 
178:             * <p>
179:             * This accessor method returns a reference to the live list,
180:             * not a snapshot. Therefore any modification you make to the
181:             * returned list will be present inside the JAXB object.
182:             * This is why there is not a <CODE>set</CODE> method for the service property.
183:             * 
184:             * <p>
185:             * For example, to add a new item, do as follows:
186:             * <pre>
187:             *    getService().add(newItem);
188:             * </pre>
189:             * 
190:             * 
191:             * <p>
192:             * Objects of the following type(s) are allowed in the list
193:             * {@link JAXBElement }{@code <}{@link GbeanType }{@code >}
194:             * {@link JAXBElement }{@code <}{@link AbstractServiceType }{@code >}
195:             * 
196:             * 
197:             */
198:            public List<JAXBElement<? extends AbstractServiceType>> getService() {
199:                if (service == null) {
200:                    service = new ArrayList<JAXBElement<? extends AbstractServiceType>>();
201:                }
202:                return this .service;
203:            }
204:
205:            /**
206:             * Gets the value of the applicationName property.
207:             * 
208:             * @return
209:             *     possible object is
210:             *     {@link String }
211:             *     
212:             */
213:            public String getApplicationName() {
214:                return applicationName;
215:            }
216:
217:            /**
218:             * Sets the value of the applicationName property.
219:             * 
220:             * @param value
221:             *     allowed object is
222:             *     {@link String }
223:             *     
224:             */
225:            public void setApplicationName(String value) {
226:                this.applicationName = value;
227:            }
228:
229:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.