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

java.lang.Object
  extended by net.sourceforge.ccxjc.it.model.priv.indexed.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  Object[] sessionOrEntityOrMessageDriven
           
 
Constructor Summary
EnterpriseBeansType()
          Creates a new net.sourceforge.ccxjc.it.model.priv.indexed.valueclass.javaee.EnterpriseBeansType instance.
EnterpriseBeansType(EnterpriseBeansType o)
          Creates a new net.sourceforge.ccxjc.it.model.priv.indexed.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.
 Object[] getSessionOrEntityOrMessageDriven()
           
 Object getSessionOrEntityOrMessageDriven(int idx)
           
 int getSessionOrEntityOrMessageDrivenLength()
           
 void setId(String value)
          Sets the value of the id property.
 Object setSessionOrEntityOrMessageDriven(int idx, Object value)
           
 void setSessionOrEntityOrMessageDriven(Object[] values)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sessionOrEntityOrMessageDriven

protected Object[] sessionOrEntityOrMessageDriven

id

protected String id
Constructor Detail

EnterpriseBeansType

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


EnterpriseBeansType

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

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

getSessionOrEntityOrMessageDriven

public Object[] getSessionOrEntityOrMessageDriven()
Returns:
array of EntityBeanType MessageDrivenBeanType SessionBeanType

getSessionOrEntityOrMessageDriven

public Object getSessionOrEntityOrMessageDriven(int idx)
Returns:
one of EntityBeanType MessageDrivenBeanType SessionBeanType

getSessionOrEntityOrMessageDrivenLength

public int getSessionOrEntityOrMessageDrivenLength()

setSessionOrEntityOrMessageDriven

public void setSessionOrEntityOrMessageDriven(Object[] values)
Parameters:
values - allowed objects are EntityBeanType MessageDrivenBeanType SessionBeanType

setSessionOrEntityOrMessageDriven

public Object setSessionOrEntityOrMessageDriven(int idx,
                                                Object value)
Parameters:
value - allowed object is EntityBeanType MessageDrivenBeanType SessionBeanType

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.