net.sourceforge.ccxjc.it.model.priv.collections.valueclass.javaee
Class EnterpriseBeansType

java.lang.Object
  extended by net.sourceforge.ccxjc.it.model.priv.collections.valueclass.javaee.EnterpriseBeansType
All Implemented Interfaces:
Serializable, Cloneable

public class EnterpriseBeansType
extends Object
implements Serializable, Cloneable

The enterprise-beansType declares one or more enterprise beans. Each bean can be a session, entity or message-driven bean.

Java class for enterprise-beansType complex type.

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

 <complexType name="enterprise-beansType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <choice maxOccurs="unbounded">
         <element name="session" type="{http://java.sun.com/xml/ns/javaee}session-beanType"/>
         <element name="entity" type="{http://java.sun.com/xml/ns/javaee}entity-beanType"/>
         <element name="message-driven" type="{http://java.sun.com/xml/ns/javaee}message-driven-beanType"/>
       </choice>
       <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  String id
           
protected  List<Object> sessionOrEntityOrMessageDriven
           
 
Constructor Summary
EnterpriseBeansType()
          Creates a new net.sourceforge.ccxjc.it.model.priv.collections.valueclass.javaee.EnterpriseBeansType instance.
EnterpriseBeansType(EnterpriseBeansType o)
          Creates a new net.sourceforge.ccxjc.it.model.priv.collections.valueclass.javaee.EnterpriseBeansType instance by copying a given instance.
 
Method Summary
 EnterpriseBeansType clone()
          Creates and returns a copy of this object.
 String getId()
          Gets the value of the id property.
 List<Object> getSessionOrEntityOrMessageDriven()
          Gets the value of the sessionOrEntityOrMessageDriven property.
 void setId(String value)
          Sets the value of the id property.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sessionOrEntityOrMessageDriven

protected List<Object> sessionOrEntityOrMessageDriven

id

protected String id
Constructor Detail

EnterpriseBeansType

public EnterpriseBeansType()
Creates a new net.sourceforge.ccxjc.it.model.priv.collections.valueclass.javaee.EnterpriseBeansType instance.


EnterpriseBeansType

public EnterpriseBeansType(EnterpriseBeansType o)
Creates a new net.sourceforge.ccxjc.it.model.priv.collections.valueclass.javaee.EnterpriseBeansType instance by copying a given instance.

Parameters:
o - The instance to copy or null.
Method Detail

getSessionOrEntityOrMessageDriven

public List<Object> getSessionOrEntityOrMessageDriven()
Gets the value of the sessionOrEntityOrMessageDriven 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 sessionOrEntityOrMessageDriven property.

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

    getSessionOrEntityOrMessageDriven().add(newItem);
 

Objects of the following type(s) are allowed in the list EntityBeanType SessionBeanType MessageDrivenBeanType


getId

public String getId()
Gets the value of the id property.

Returns:
possible object is String

setId

public void setId(String value)
Sets the value of the id property.

Parameters:
value - allowed object is String

clone

public EnterpriseBeansType clone()
Creates and returns a copy of this object.

Overrides:
clone in class Object
Returns:
A clone of this instance.


Copyright © 2009 The CC-XJC Community. All Rights Reserved.