public class EjbRelationshipRoleType
extends java.lang.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="description" type="{http://java.sun.com/xml/ns/javaee}descriptionType" maxOccurs="unbounded" minOccurs="0"/>
<element name="ejb-relationship-role-name" type="{http://java.sun.com/xml/ns/javaee}string" minOccurs="0"/>
<element name="multiplicity" type="{http://java.sun.com/xml/ns/javaee}multiplicityType"/>
<element name="cascade-delete" type="{http://java.sun.com/xml/ns/javaee}emptyType" minOccurs="0"/>
<element name="relationship-role-source" type="{http://java.sun.com/xml/ns/javaee}relationship-role-sourceType"/>
<element name="cmr-field" type="{http://java.sun.com/xml/ns/javaee}cmr-fieldType" minOccurs="0"/>
</sequence>
<attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected EmptyType |
cascadeDelete |
protected CmrFieldType |
cmrField |
protected java.util.List<DescriptionType> |
description |
protected String |
ejbRelationshipRoleName |
protected java.lang.String |
id |
protected MultiplicityType |
multiplicity |
protected RelationshipRoleSourceType |
relationshipRoleSource |
| Constructor and Description |
|---|
EjbRelationshipRoleType() |
| Modifier and Type | Method and Description |
|---|---|
EmptyType |
getCascadeDelete()
Gets the value of the cascadeDelete property.
|
CmrFieldType |
getCmrField()
Gets the value of the cmrField property.
|
java.util.List<DescriptionType> |
getDescription()
Gets the value of the description property.
|
String |
getEjbRelationshipRoleName()
Gets the value of the ejbRelationshipRoleName property.
|
java.lang.String |
getId()
Gets the value of the id property.
|
MultiplicityType |
getMultiplicity()
Gets the value of the multiplicity property.
|
RelationshipRoleSourceType |
getRelationshipRoleSource()
Gets the value of the relationshipRoleSource property.
|
void |
setCascadeDelete(EmptyType value)
Sets the value of the cascadeDelete property.
|
void |
setCmrField(CmrFieldType value)
Sets the value of the cmrField property.
|
void |
setEjbRelationshipRoleName(String value)
Sets the value of the ejbRelationshipRoleName property.
|
void |
setId(java.lang.String value)
Sets the value of the id property.
|
void |
setMultiplicity(MultiplicityType value)
Sets the value of the multiplicity property.
|
void |
setRelationshipRoleSource(RelationshipRoleSourceType value)
Sets the value of the relationshipRoleSource property.
|
protected java.util.List<DescriptionType> description
protected String ejbRelationshipRoleName
protected MultiplicityType multiplicity
protected EmptyType cascadeDelete
protected RelationshipRoleSourceType relationshipRoleSource
protected CmrFieldType cmrField
protected java.lang.String id
public java.util.List<DescriptionType> getDescription()
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 description property.
For example, to add a new item, do as follows:
getDescription().add(newItem);
Objects of the following type(s) are allowed in the list
DescriptionType
public String getEjbRelationshipRoleName()
Stringpublic void setEjbRelationshipRoleName(String value)
value - allowed object is
Stringpublic MultiplicityType getMultiplicity()
MultiplicityTypepublic void setMultiplicity(MultiplicityType value)
value - allowed object is
MultiplicityTypepublic EmptyType getCascadeDelete()
EmptyTypepublic void setCascadeDelete(EmptyType value)
value - allowed object is
EmptyTypepublic RelationshipRoleSourceType getRelationshipRoleSource()
RelationshipRoleSourceTypepublic void setRelationshipRoleSource(RelationshipRoleSourceType value)
value - allowed object is
RelationshipRoleSourceTypepublic CmrFieldType getCmrField()
CmrFieldTypepublic void setCmrField(CmrFieldType value)
value - allowed object is
CmrFieldTypepublic java.lang.String getId()
Stringpublic void setId(java.lang.String value)
value - allowed object is
String