org.eclipse.modisco.jee.ejbjar.EjbJar30
Interface EjbRelationshipRoleType


public interface EjbRelationshipRoleType

A representation of the model object 'Ejb Relationship Role Type'. Product-LineItem product-has-lineitems One ProductEJB ]]>

The following features are supported:

See Also:
EjbJar30Package.getEjbRelationshipRoleType()
Generated:
Model:
extendedMetaData="name='ejb-relationship-roleType' kind='elementOnly'"

Method Summary
 EmptyType getCascadeDelete()
          Returns the value of the 'Cascade Delete' containment reference.
 CmrFieldType getCmrField()
          Returns the value of the 'Cmr Field' containment reference.
  getDescription()
          Returns the value of the 'Description' containment reference list.
 String getEjbRelationshipRoleName()
          Returns the value of the 'Ejb Relationship Role Name' containment reference.
 java.lang.String getId()
          Returns the value of the 'Id' attribute.
 MultiplicityType getMultiplicity()
          Returns the value of the 'Multiplicity' containment reference.
 RelationshipRoleSourceType getRelationshipRoleSource()
          Returns the value of the 'Relationship Role Source' containment reference.
 void setCascadeDelete(EmptyType value)
          Sets the value of the 'Cascade Delete' containment reference.
 void setCmrField(CmrFieldType value)
          Sets the value of the 'Cmr Field' containment reference.
 void setEjbRelationshipRoleName(String value)
          Sets the value of the 'Ejb Relationship Role Name' containment reference.
 void setId(java.lang.String value)
          Sets the value of the 'Id' attribute.
 void setMultiplicity(MultiplicityType value)
          Sets the value of the 'Multiplicity' containment reference.
 void setRelationshipRoleSource(RelationshipRoleSourceType value)
          Sets the value of the 'Relationship Role Source' containment reference.
 

Method Detail

getDescription

 getDescription()
Returns the value of the 'Description' containment reference list. The list contents are of type DescriptionType.

If the meaning of the 'Description' containment reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Description' containment reference list.
See Also:
EjbJar30Package.getEjbRelationshipRoleType_Description()
Generated:
Model:
containment="true" extendedMetaData="kind='element' name='description' namespace='http://java.sun.com/xml/ns/javaee'"

getEjbRelationshipRoleName

String getEjbRelationshipRoleName()
Returns the value of the 'Ejb Relationship Role Name' containment reference. The ejb-relationship-role-name element defines a name for a role that is unique within an ejb-relation. Different relationships can use the same name for a role.

Returns:
the value of the 'Ejb Relationship Role Name' containment reference.
See Also:
setEjbRelationshipRoleName(org.eclipse.modisco.jee.ejbjar.EjbJar30.String), EjbJar30Package.getEjbRelationshipRoleType_EjbRelationshipRoleName()
Generated:
Model:
containment="true" extendedMetaData="kind='element' name='ejb-relationship-role-name' namespace='http://java.sun.com/xml/ns/javaee'"

setEjbRelationshipRoleName

void setEjbRelationshipRoleName(String value)
Sets the value of the 'Ejb Relationship Role Name' containment reference.

Parameters:
value - the new value of the 'Ejb Relationship Role Name' containment reference.
See Also:
getEjbRelationshipRoleName()
Generated:

getMultiplicity

MultiplicityType getMultiplicity()
Returns the value of the 'Multiplicity' containment reference.

If the meaning of the 'Multiplicity' containment reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Multiplicity' containment reference.
See Also:
setMultiplicity(MultiplicityType), EjbJar30Package.getEjbRelationshipRoleType_Multiplicity()
Generated:
Model:
containment="true" required="true" extendedMetaData="kind='element' name='multiplicity' namespace='http://java.sun.com/xml/ns/javaee'"

setMultiplicity

void setMultiplicity(MultiplicityType value)
Sets the value of the 'Multiplicity' containment reference.

Parameters:
value - the new value of the 'Multiplicity' containment reference.
See Also:
getMultiplicity()
Generated:

getCascadeDelete

EmptyType getCascadeDelete()
Returns the value of the 'Cascade Delete' containment reference. The cascade-delete element specifies that, within a particular relationship, the lifetime of one or more entity beans is dependent upon the lifetime of another entity bean. The cascade-delete element can only be specified for an ejb-relationship-role element contained in an ejb-relation element in which the other ejb-relationship-role element specifies a multiplicity of One.

Returns:
the value of the 'Cascade Delete' containment reference.
See Also:
setCascadeDelete(EmptyType), EjbJar30Package.getEjbRelationshipRoleType_CascadeDelete()
Generated:
Model:
containment="true" extendedMetaData="kind='element' name='cascade-delete' namespace='http://java.sun.com/xml/ns/javaee'"

setCascadeDelete

void setCascadeDelete(EmptyType value)
Sets the value of the 'Cascade Delete' containment reference.

Parameters:
value - the new value of the 'Cascade Delete' containment reference.
See Also:
getCascadeDelete()
Generated:

getRelationshipRoleSource

RelationshipRoleSourceType getRelationshipRoleSource()
Returns the value of the 'Relationship Role Source' containment reference.

If the meaning of the 'Relationship Role Source' containment reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Relationship Role Source' containment reference.
See Also:
setRelationshipRoleSource(RelationshipRoleSourceType), EjbJar30Package.getEjbRelationshipRoleType_RelationshipRoleSource()
Generated:
Model:
containment="true" required="true" extendedMetaData="kind='element' name='relationship-role-source' namespace='http://java.sun.com/xml/ns/javaee'"

setRelationshipRoleSource

void setRelationshipRoleSource(RelationshipRoleSourceType value)
Sets the value of the 'Relationship Role Source' containment reference.

Parameters:
value - the new value of the 'Relationship Role Source' containment reference.
See Also:
getRelationshipRoleSource()
Generated:

getCmrField

CmrFieldType getCmrField()
Returns the value of the 'Cmr Field' containment reference.

If the meaning of the 'Cmr Field' containment reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Cmr Field' containment reference.
See Also:
setCmrField(CmrFieldType), EjbJar30Package.getEjbRelationshipRoleType_CmrField()
Generated:
Model:
containment="true" extendedMetaData="kind='element' name='cmr-field' namespace='http://java.sun.com/xml/ns/javaee'"

setCmrField

void setCmrField(CmrFieldType value)
Sets the value of the 'Cmr Field' containment reference.

Parameters:
value - the new value of the 'Cmr Field' containment reference.
See Also:
getCmrField()
Generated:

getId

java.lang.String getId()
Returns the value of the 'Id' attribute.

If the meaning of the 'Id' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Id' attribute.
See Also:
setId(String), EjbJar30Package.getEjbRelationshipRoleType_Id()
Generated:
Model:
id="true" dataType="org.eclipse.emf.ecore.xml.type.ID" extendedMetaData="kind='attribute' name='id'"

setId

void setId(java.lang.String value)
Sets the value of the 'Id' attribute.

Parameters:
value - the new value of the 'Id' attribute.
See Also:
getId()
Generated: