org.apache.openejb.jee.oejb2
Class ApplicationType

java.lang.Object
  extended by org.apache.openejb.jee.oejb2.ApplicationType

public class ApplicationType
extends java.lang.Object

Java class for applicationType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="applicationType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element ref="{http://geronimo.apache.org/xml/ns/deployment-1.2}environment"/>
         <element name="module" type="{http://geronimo.apache.org/xml/ns/j2ee/application-1.2}moduleType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="ext-module" type="{http://geronimo.apache.org/xml/ns/j2ee/application-1.2}ext-moduleType" maxOccurs="unbounded" minOccurs="0"/>
         <element ref="{http://geronimo.apache.org/xml/ns/j2ee/application-1.2}security" minOccurs="0"/>
         <element ref="{http://geronimo.apache.org/xml/ns/deployment-1.2}service" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="application-name" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  java.lang.String applicationName
           
protected  EnvironmentType environment
           
protected  java.util.List<ExtModuleType> extModule
           
protected  java.util.List<ModuleType> module
           
protected  AbstractSecurityType security
           
protected  java.util.List<javax.xml.bind.JAXBElement<? extends AbstractServiceType>> service
           
 
Constructor Summary
ApplicationType()
           
 
Method Summary
 java.lang.String getApplicationName()
          Gets the value of the applicationName property.
 EnvironmentType getEnvironment()
          Gets the value of the environment property.
 java.util.List<ExtModuleType> getExtModule()
          Gets the value of the extModule property.
 java.util.List<ModuleType> getModule()
          Gets the value of the module property.
 AbstractSecurityType getSecurity()
          Gets the value of the security property.
 java.util.List<javax.xml.bind.JAXBElement<? extends AbstractServiceType>> getService()
          Gets the value of the service property.
 void setApplicationName(java.lang.String value)
          Sets the value of the applicationName property.
 void setEnvironment(EnvironmentType value)
          Sets the value of the environment property.
 void setSecurity(AbstractSecurityType value)
          Sets the value of the security property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

environment

protected EnvironmentType environment

module

protected java.util.List<ModuleType> module

extModule

protected java.util.List<ExtModuleType> extModule

security

protected AbstractSecurityType security

service

protected java.util.List<javax.xml.bind.JAXBElement<? extends AbstractServiceType>> service

applicationName

protected java.lang.String applicationName
Constructor Detail

ApplicationType

public ApplicationType()
Method Detail

getEnvironment

public EnvironmentType getEnvironment()
Gets the value of the environment property.

Returns:
possible object is EnvironmentType

setEnvironment

public void setEnvironment(EnvironmentType value)
Sets the value of the environment property.

Parameters:
value - allowed object is EnvironmentType

getModule

public java.util.List<ModuleType> getModule()
Gets the value of the module property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the module property.

For example, to add a new item, do as follows:

    getModule().add(newItem);
 

Objects of the following type(s) are allowed in the list ModuleType


getExtModule

public java.util.List<ExtModuleType> getExtModule()
Gets the value of the extModule property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the extModule property.

For example, to add a new item, do as follows:

    getExtModule().add(newItem);
 

Objects of the following type(s) are allowed in the list ExtModuleType


getSecurity

public AbstractSecurityType getSecurity()
Gets the value of the security property.

Returns:
possible object is AbstractSecurityType

setSecurity

public void setSecurity(AbstractSecurityType value)
Sets the value of the security property.

Parameters:
value - allowed object is AbstractSecurityType

getService

public java.util.List<javax.xml.bind.JAXBElement<? extends AbstractServiceType>> getService()
Gets the value of the service property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the service property.

For example, to add a new item, do as follows:

    getService().add(newItem);
 

Objects of the following type(s) are allowed in the list JAXBElement<GbeanType> JAXBElement<AbstractServiceType>


getApplicationName

public java.lang.String getApplicationName()
Gets the value of the applicationName property.

Returns:
possible object is String

setApplicationName

public void setApplicationName(java.lang.String value)
Sets the value of the applicationName property.

Parameters:
value - allowed object is String


Copyright © 1999-2011 The Apache OpenEJB development community. All Rights Reserved.