|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.ccxjc.it.model.pkg.collections.valueclass.javaee.EjbRelationType
public class EjbRelationType
The ejb-relationType describes a relationship between two entity beans with container-managed persistence. It is used by ejb-relation elements. It contains a description; an optional ejb-relation-name element; and exactly two relationship role declarations, defined by the ejb-relationship-role elements. The name of the relationship, if specified, is unique within the ejb-jar file.
Java class for ejb-relationType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ejb-relationType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="description" type="{http://java.sun.com/xml/ns/javaee}descriptionType" maxOccurs="unbounded" minOccurs="0"/>
<element name="ejb-relation-name" type="{http://java.sun.com/xml/ns/javaee}string" minOccurs="0"/>
<element name="ejb-relationship-role" type="{http://java.sun.com/xml/ns/javaee}ejb-relationship-roleType"/>
<element name="ejb-relationship-role" type="{http://java.sun.com/xml/ns/javaee}ejb-relationship-roleType"/>
</sequence>
<attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
</restriction>
</complexContent>
</complexType>
| Field Summary | |
|---|---|
protected List<javax.xml.bind.JAXBElement<?>> |
content
|
protected String |
id
|
| Constructor Summary | |
|---|---|
EjbRelationType()
Creates a new net.sourceforge.ccxjc.it.model.pkg.collections.valueclass.javaee.EjbRelationType instance. |
|
EjbRelationType(EjbRelationType o)
Creates a new net.sourceforge.ccxjc.it.model.pkg.collections.valueclass.javaee.EjbRelationType instance by copying a given instance. |
|
| Method Summary | |
|---|---|
EjbRelationType |
clone()
Creates and returns a copy of this object. |
List<javax.xml.bind.JAXBElement<?>> |
getContent()
Gets the rest of the content model. |
String |
getId()
Gets the value of the id 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<javax.xml.bind.JAXBElement<?>> content
protected String id
| Constructor Detail |
|---|
public EjbRelationType()
net.sourceforge.ccxjc.it.model.pkg.collections.valueclass.javaee.EjbRelationType instance.
public EjbRelationType(EjbRelationType o)
net.sourceforge.ccxjc.it.model.pkg.collections.valueclass.javaee.EjbRelationType instance by copying a given instance.
o - The instance to copy or null.| Method Detail |
|---|
public List<javax.xml.bind.JAXBElement<?>> getContent()
You are getting this "catch-all" property because of the following reason: The field name "EjbRelationshipRole" is used by two different parts of a schema. See: line 773 of file:/var/lib/continuum/Sources/ccxjc.svn.sourceforge.net/ccxjc/trunk/target/checkout/cc-xjc-it/src/main/schemas/ejb-jar_3_0.xsd line 771 of file:/var/lib/continuum/Sources/ccxjc.svn.sourceforge.net/ccxjc/trunk/target/checkout/cc-xjc-it/src/main/schemas/ejb-jar_3_0.xsd
To get rid of this property, apply a property customization to one of both of the following declarations to change their names: Gets the value of the content 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 content property.
For example, to add a new item, do as follows:
getContent().add(newItem);
Objects of the following type(s) are allowed in the list
JAXBElement<EjbRelationshipRoleType>
JAXBElement<String>
JAXBElement<DescriptionType>
public String getId()
Stringpublic void setId(String value)
value - allowed object is
Stringpublic EjbRelationType clone()
clone in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||