|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.ccxjc.it.model.pub.collections.valueclass.javaee.EnterpriseBeansType
public class EnterpriseBeansType
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>
| Field Summary | |
|---|---|
protected String |
id
|
protected List<Object> |
sessionOrEntityOrMessageDriven
|
| Constructor Summary | |
|---|---|
EnterpriseBeansType()
Creates a new net.sourceforge.ccxjc.it.model.pub.collections.valueclass.javaee.EnterpriseBeansType instance. |
|
EnterpriseBeansType(EnterpriseBeansType o)
Creates a new net.sourceforge.ccxjc.it.model.pub.collections.valueclass.javaee.EnterpriseBeansType instance by copying a given instance. |
|
| Method Summary | |
|---|---|
EnterpriseBeansType |
clone()
Creates and returns a copy of this object. |
static void |
copySessionOrEntityOrMessageDriven(List<Object> source,
List<Object> target)
Copies all values of property SessionOrEntityOrMessageDriven. |
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 |
|---|
protected List<Object> sessionOrEntityOrMessageDriven
protected String id
| Constructor Detail |
|---|
public EnterpriseBeansType()
net.sourceforge.ccxjc.it.model.pub.collections.valueclass.javaee.EnterpriseBeansType instance.
public EnterpriseBeansType(EnterpriseBeansType o)
net.sourceforge.ccxjc.it.model.pub.collections.valueclass.javaee.EnterpriseBeansType instance by copying a given instance.
o - The instance to copy or null.| Method Detail |
|---|
public List<Object> getSessionOrEntityOrMessageDriven()
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
public String getId()
Stringpublic void setId(String value)
value - allowed object is
String
public static void copySessionOrEntityOrMessageDriven(List<Object> source,
List<Object> target)
SessionOrEntityOrMessageDriven.
target - The target to copy source to.source - The source to copy from.
NullPointerException - if source or target is null.public EnterpriseBeansType clone()
clone in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||