org.eclipse.modisco.jee.ejbjar.EjbJar31
Interface EjbRelationType


public interface EjbRelationType

A representation of the model object 'Ejb Relation Type'. The ejb-relationType describes a relationship between two entity beans with container-managed persistence. It is used by ejb-relation elements. It contains a description; an optional ejb-relation-name element; and exactly two relationship role declarations, defined by the ejb-relationship-role elements. The name of the relationship, if specified, is unique within the ejb-jar file.

The following features are supported:

See Also:
EjbJar31Package.getEjbRelationType()
Generated:
Model:
extendedMetaData="name='ejb-relationType' kind='elementOnly'"

Method Summary
  getDescription()
          Returns the value of the 'Description' containment reference list.
 String getEjbRelationName()
          Returns the value of the 'Ejb Relation Name' containment reference.
 EjbRelationshipRoleType getEjbRelationshipRole()
          Returns the value of the 'Ejb Relationship Role' containment reference.
 EjbRelationshipRoleType getEjbRelationshipRole1()
          Returns the value of the 'Ejb Relationship Role1' containment reference.
 java.lang.String getId()
          Returns the value of the 'Id' attribute.
 void setEjbRelationName(String value)
          Sets the value of the 'Ejb Relation Name' containment reference.
 void setEjbRelationshipRole(EjbRelationshipRoleType value)
          Sets the value of the 'Ejb Relationship Role' containment reference.
 void setEjbRelationshipRole1(EjbRelationshipRoleType value)
          Sets the value of the 'Ejb Relationship Role1' containment reference.
 void setId(java.lang.String value)
          Sets the value of the 'Id' attribute.
 

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:
EjbJar31Package.getEjbRelationType_Description()
Generated:
Model:
containment="true" extendedMetaData="kind='element' name='description' namespace='http://java.sun.com/xml/ns/javaee'"

getEjbRelationName

String getEjbRelationName()
Returns the value of the 'Ejb Relation Name' containment reference. The ejb-relation-name element provides a unique name within the ejb-jar file for a relationship.

Returns:
the value of the 'Ejb Relation Name' containment reference.
See Also:
setEjbRelationName(org.eclipse.modisco.jee.ejbjar.EjbJar31.String), EjbJar31Package.getEjbRelationType_EjbRelationName()
Generated:
Model:
containment="true" extendedMetaData="kind='element' name='ejb-relation-name' namespace='http://java.sun.com/xml/ns/javaee'"

setEjbRelationName

void setEjbRelationName(String value)
Sets the value of the 'Ejb Relation Name' containment reference.

Parameters:
value - the new value of the 'Ejb Relation Name' containment reference.
See Also:
getEjbRelationName()
Generated:

getEjbRelationshipRole

EjbRelationshipRoleType getEjbRelationshipRole()
Returns the value of the 'Ejb Relationship Role' containment reference.

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

Returns:
the value of the 'Ejb Relationship Role' containment reference.
See Also:
setEjbRelationshipRole(EjbRelationshipRoleType), EjbJar31Package.getEjbRelationType_EjbRelationshipRole()
Generated:
Model:
containment="true" required="true" extendedMetaData="kind='element' name='ejb-relationship-role' namespace='http://java.sun.com/xml/ns/javaee'"

setEjbRelationshipRole

void setEjbRelationshipRole(EjbRelationshipRoleType value)
Sets the value of the 'Ejb Relationship Role' containment reference.

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

getEjbRelationshipRole1

EjbRelationshipRoleType getEjbRelationshipRole1()
Returns the value of the 'Ejb Relationship Role1' containment reference.

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

Returns:
the value of the 'Ejb Relationship Role1' containment reference.
See Also:
setEjbRelationshipRole1(EjbRelationshipRoleType), EjbJar31Package.getEjbRelationType_EjbRelationshipRole1()
Generated:
Model:
containment="true" required="true" extendedMetaData="kind='element' name='ejb-relationship-role' namespace='http://java.sun.com/xml/ns/javaee'"

setEjbRelationshipRole1

void setEjbRelationshipRole1(EjbRelationshipRoleType value)
Sets the value of the 'Ejb Relationship Role1' containment reference.

Parameters:
value - the new value of the 'Ejb Relationship Role1' containment reference.
See Also:
getEjbRelationshipRole1()
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), EjbJar31Package.getEjbRelationType_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: