org.eclipse.tigerstripe.workbench.model.deprecated_
Interface IRelationship.IRelationshipEnd

All Known Subinterfaces:
IAssociationEnd
Enclosing interface:
IRelationship

public static interface IRelationship.IRelationshipEnd

An end in a IRelationshipArtifact

Author:
Eric Dillon

Method Summary
 IRelationship getContainingRelationship()
          Returns the containing IRelationshipEnd
 java.lang.String getName()
           
 java.lang.String getNameForType(java.lang.String typeName)
          Returns a String representing the "name" of the end that matches the typeName (a FQN) that is passed in as an input argument (or an empty string if no match is found)
 IRelationship.IRelationshipEnd getOtherEnd()
          Returns the "other" end for the containing relationship if the containing relationship is a 2-way relationship (ie.
 IType getType()
          The type of the artifact attached to this end.
 

Method Detail

getName

java.lang.String getName()

getType

IType getType()
The type of the artifact attached to this end.

Returns:

getContainingRelationship

IRelationship getContainingRelationship()
Returns the containing IRelationshipEnd


getOtherEnd

IRelationship.IRelationshipEnd getOtherEnd()
Returns the "other" end for the containing relationship if the containing relationship is a 2-way relationship (ie. contains 2 IRelationshipEnds). Undetermined otherwise.


getNameForType

java.lang.String getNameForType(java.lang.String typeName)
Returns a String representing the "name" of the end that matches the typeName (a FQN) that is passed in as an input argument (or an empty string if no match is found)