Package org.apache.openejb.jee.oejb2
Class EjbRelationshipRoleType
- java.lang.Object
-
- org.apache.openejb.jee.oejb2.EjbRelationshipRoleType
-
public class EjbRelationshipRoleType extends Object
Java class for ejb-relationship-roleType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ejb-relationship-roleType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="ejb-relationship-role-name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="relationship-role-source"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="ejb-name" type="{http://www.w3.org/2001/XMLSchema}string"/> </sequence> </restriction> </complexContent> </complexType> </element> <element name="cmr-field" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="cmr-field-name" type="{http://www.w3.org/2001/XMLSchema}string"/> </sequence> </restriction> </complexContent> </complexType> </element> <element name="foreign-key-column-on-source" type="{http://www.w3.org/2001/XMLSchema}anyType" minOccurs="0"/> <element name="role-mapping"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="cmr-field-mapping" maxOccurs="unbounded"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="key-column" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="foreign-key-column" type="{http://www.w3.org/2001/XMLSchema}string"/> </sequence> </restriction> </complexContent> </complexType> </element> </sequence> </restriction> </complexContent> </complexType> </element> </sequence> </restriction> </complexContent> </complexType>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEjbRelationshipRoleType.CmrFieldJava class for anonymous complex type.static classEjbRelationshipRoleType.RelationshipRoleSourceJava class for anonymous complex type.static classEjbRelationshipRoleType.RoleMappingJava class for anonymous complex type.
-
Field Summary
Fields Modifier and Type Field Description protected EjbRelationshipRoleType.CmrFieldcmrFieldprotected StringejbRelationshipRoleNameprotected EmptyTypeforeignKeyColumnOnSourceprotected EjbRelationshipRoleType.RelationshipRoleSourcerelationshipRoleSourceprotected EjbRelationshipRoleType.RoleMappingroleMapping
-
Constructor Summary
Constructors Constructor Description EjbRelationshipRoleType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EjbRelationshipRoleType.CmrFieldgetCmrField()Gets the value of the cmrField property.StringgetEjbRelationshipRoleName()Gets the value of the ejbRelationshipRoleName property.EjbRelationshipRoleType.RelationshipRoleSourcegetRelationshipRoleSource()Gets the value of the relationshipRoleSource property.EjbRelationshipRoleType.RoleMappinggetRoleMapping()Gets the value of the roleMapping property.booleanisForeignKeyColumnOnSource()Gets the value of the foreignKeyColumnOnSource property.voidsetCmrField(EjbRelationshipRoleType.CmrField value)Sets the value of the cmrField property.voidsetEjbRelationshipRoleName(String value)Sets the value of the ejbRelationshipRoleName property.voidsetForeignKeyColumnOnSource(boolean value)Sets the value of the foreignKeyColumnOnSource property.voidsetRelationshipRoleSource(EjbRelationshipRoleType.RelationshipRoleSource value)Sets the value of the relationshipRoleSource property.voidsetRoleMapping(EjbRelationshipRoleType.RoleMapping value)Sets the value of the roleMapping property.
-
-
-
Field Detail
-
ejbRelationshipRoleName
protected String ejbRelationshipRoleName
-
relationshipRoleSource
protected EjbRelationshipRoleType.RelationshipRoleSource relationshipRoleSource
-
cmrField
protected EjbRelationshipRoleType.CmrField cmrField
-
foreignKeyColumnOnSource
protected EmptyType foreignKeyColumnOnSource
-
roleMapping
protected EjbRelationshipRoleType.RoleMapping roleMapping
-
-
Method Detail
-
getEjbRelationshipRoleName
public String getEjbRelationshipRoleName()
Gets the value of the ejbRelationshipRoleName property.- Returns:
- possible object is
String
-
setEjbRelationshipRoleName
public void setEjbRelationshipRoleName(String value)
Sets the value of the ejbRelationshipRoleName property.- Parameters:
value- allowed object isString
-
getRelationshipRoleSource
public EjbRelationshipRoleType.RelationshipRoleSource getRelationshipRoleSource()
Gets the value of the relationshipRoleSource property.- Returns:
- possible object is
EjbRelationshipRoleType.RelationshipRoleSource
-
setRelationshipRoleSource
public void setRelationshipRoleSource(EjbRelationshipRoleType.RelationshipRoleSource value)
Sets the value of the relationshipRoleSource property.- Parameters:
value- allowed object isEjbRelationshipRoleType.RelationshipRoleSource
-
getCmrField
public EjbRelationshipRoleType.CmrField getCmrField()
Gets the value of the cmrField property.- Returns:
- possible object is
EjbRelationshipRoleType.CmrField
-
setCmrField
public void setCmrField(EjbRelationshipRoleType.CmrField value)
Sets the value of the cmrField property.- Parameters:
value- allowed object isEjbRelationshipRoleType.CmrField
-
isForeignKeyColumnOnSource
public boolean isForeignKeyColumnOnSource()
Gets the value of the foreignKeyColumnOnSource property.- Returns:
- possible object is
boolean
-
setForeignKeyColumnOnSource
public void setForeignKeyColumnOnSource(boolean value)
Sets the value of the foreignKeyColumnOnSource property.- Parameters:
value- allowed object isboolean
-
getRoleMapping
public EjbRelationshipRoleType.RoleMapping getRoleMapping()
Gets the value of the roleMapping property.- Returns:
- possible object is
EjbRelationshipRoleType.RoleMapping
-
setRoleMapping
public void setRoleMapping(EjbRelationshipRoleType.RoleMapping value)
Sets the value of the roleMapping property.- Parameters:
value- allowed object isEjbRelationshipRoleType.RoleMapping
-
-