public class EjbRelationType
extends java.lang.Object
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>
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<javax.xml.bind.JAXBElement<?>> |
content |
protected java.lang.String |
id |
| Constructor and Description |
|---|
EjbRelationType() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<javax.xml.bind.JAXBElement<?>> |
getContent()
Gets the rest of the content model.
|
java.lang.String |
getId()
Gets the value of the id property.
|
void |
setId(java.lang.String value)
Sets the value of the id property.
|
protected java.util.List<javax.xml.bind.JAXBElement<?>> content
protected java.lang.String id
public java.util.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:/Users/rklaren/XebiaLabs/websphere-plugins/wp-plugin/src/main/xsd/specification/jee5/ejb-jar_3_0.xsd line 771 of file:/Users/rklaren/XebiaLabs/websphere-plugins/wp-plugin/src/main/xsd/specification/jee5/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<String>
JAXBElement<DescriptionType>
JAXBElement<EjbRelationshipRoleType>
public java.lang.String getId()
Stringpublic void setId(java.lang.String value)
value - allowed object is
String