org.eclipse.jst.j2ee.ejb
Interface RoleSource

All Superinterfaces:
J2EEEObject

public interface RoleSource
extends J2EEEObject

Designates the source of a role that participates in a relationship. A relationship-role-source element uniquely identifies an entity bean.

Since:
1.0

Method Summary
 java.lang.String getDescription()
           
 EList getDescriptions()
          Returns the value of the 'Descriptions' containment reference list.
 ContainerManagedEntity getEntityBean()
           
 EJBRelationshipRole getRole()
           
 void setDescription(java.lang.String value)
           
 void setEntityBean(ContainerManagedEntity value)
          Sets the value of the 'Entity Bean' reference
 void setRole(EJBRelationshipRole value)
           
 

Method Detail

getDescription

public java.lang.String getDescription()
Returns:
The value of the Description attribute

setDescription

public void setDescription(java.lang.String value)
Parameters:
value - The new value of the Description attribute

getRole

public EJBRelationshipRole getRole()
Returns:
The Role reference

setRole

public void setRole(EJBRelationshipRole value)
Parameters:
value - The new value of the Role reference

getEntityBean

public ContainerManagedEntity getEntityBean()
Returns:
The EntityBean reference

setEntityBean

public void setEntityBean(ContainerManagedEntity value)
Sets the value of the 'Entity Bean' reference.

Parameters:
value - the new value of the 'Entity Bean' reference.
See Also:
getEntityBean()

getDescriptions

public EList getDescriptions()
Returns the value of the 'Descriptions' containment reference list. The list contents are of type Description.

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

Returns:
the value of the 'Descriptions' containment reference list.
See Also:
EjbPackage.getRoleSource_Descriptions()