|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.openejb.jee.oejb2.EjbRelationType
public class EjbRelationType
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="ejb-relation-name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="many-to-many-table-name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="ejb-relationship-role" type="{http://openejb.apache.org/xml/ns/openejb-jar-2.2}ejb-relationship-roleType" maxOccurs="2"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Field Summary | |
|---|---|
protected java.lang.String |
ejbRelationName
|
protected java.util.List<EjbRelationshipRoleType> |
ejbRelationshipRole
|
protected java.lang.String |
manyToManyTableName
|
| Constructor Summary | |
|---|---|
EjbRelationType()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getEjbRelationName()
Gets the value of the ejbRelationName property. |
java.util.List<EjbRelationshipRoleType> |
getEjbRelationshipRole()
Gets the value of the ejbRelationshipRole property. |
java.lang.String |
getManyToManyTableName()
Gets the value of the manyToManyTableName property. |
void |
setEjbRelationName(java.lang.String value)
Sets the value of the ejbRelationName property. |
void |
setManyToManyTableName(java.lang.String value)
Sets the value of the manyToManyTableName property. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.lang.String ejbRelationName
protected java.lang.String manyToManyTableName
protected java.util.List<EjbRelationshipRoleType> ejbRelationshipRole
| Constructor Detail |
|---|
public EjbRelationType()
| Method Detail |
|---|
public java.lang.String getEjbRelationName()
Stringpublic void setEjbRelationName(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getManyToManyTableName()
Stringpublic void setManyToManyTableName(java.lang.String value)
value - allowed object is
Stringpublic java.util.List<EjbRelationshipRoleType> getEjbRelationshipRole()
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 ejbRelationshipRole property.
For example, to add a new item, do as follows:
getEjbRelationshipRole().add(newItem);
Objects of the following type(s) are allowed in the list
EjbRelationshipRoleType
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||