Package org.apache.openejb.jee.oejb2
Class EjbRelationType
- java.lang.Object
-
- org.apache.openejb.jee.oejb2.EjbRelationType
-
public class EjbRelationType extends 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="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://tomee.apache.org/xml/ns/openejb-jar-2.2}ejb-relationship-roleType" maxOccurs="2"/> </sequence> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected StringejbRelationNameprotected List<EjbRelationshipRoleType>ejbRelationshipRoleprotected StringmanyToManyTableName
-
Constructor Summary
Constructors Constructor Description EjbRelationType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetEjbRelationName()Gets the value of the ejbRelationName property.List<EjbRelationshipRoleType>getEjbRelationshipRole()Gets the value of the ejbRelationshipRole property.StringgetManyToManyTableName()Gets the value of the manyToManyTableName property.voidsetEjbRelationName(String value)Sets the value of the ejbRelationName property.voidsetManyToManyTableName(String value)Sets the value of the manyToManyTableName property.
-
-
-
Field Detail
-
ejbRelationName
protected String ejbRelationName
-
manyToManyTableName
protected String manyToManyTableName
-
ejbRelationshipRole
protected List<EjbRelationshipRoleType> ejbRelationshipRole
-
-
Method Detail
-
getEjbRelationName
public String getEjbRelationName()
Gets the value of the ejbRelationName property.- Returns:
- possible object is
String
-
setEjbRelationName
public void setEjbRelationName(String value)
Sets the value of the ejbRelationName property.- Parameters:
value- allowed object isString
-
getManyToManyTableName
public String getManyToManyTableName()
Gets the value of the manyToManyTableName property.- Returns:
- possible object is
String
-
setManyToManyTableName
public void setManyToManyTableName(String value)
Sets the value of the manyToManyTableName property.- Parameters:
value- allowed object isString
-
getEjbRelationshipRole
public List<EjbRelationshipRoleType> getEjbRelationshipRole()
Gets the value of the ejbRelationshipRole 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 asetmethod 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 listEjbRelationshipRoleType
-
-