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>
| Modifier and Type | Field and Description |
|---|---|
protected String |
ejbRelationName |
protected List<EjbRelationshipRoleType> |
ejbRelationshipRole |
protected String |
manyToManyTableName |
| Constructor and Description |
|---|
EjbRelationType() |
| Modifier and Type | Method and Description |
|---|---|
String |
getEjbRelationName()
Gets the value of the ejbRelationName property.
|
List<EjbRelationshipRoleType> |
getEjbRelationshipRole()
Gets the value of the ejbRelationshipRole property.
|
String |
getManyToManyTableName()
Gets the value of the manyToManyTableName property.
|
void |
setEjbRelationName(String value)
Sets the value of the ejbRelationName property.
|
void |
setManyToManyTableName(String value)
Sets the value of the manyToManyTableName property.
|
protected String ejbRelationName
protected String manyToManyTableName
protected List<EjbRelationshipRoleType> ejbRelationshipRole
public String getEjbRelationName()
Stringpublic void setEjbRelationName(String value)
value - allowed object is
Stringpublic String getManyToManyTableName()
Stringpublic void setManyToManyTableName(String value)
value - allowed object is
Stringpublic List<EjbRelationshipRoleType> getEjbRelationshipRole()
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
EjbRelationshipRoleTypeCopyright © 1999–2020 The Apache Software Foundation. All rights reserved.