org.eclipse.tigerstripe.workbench.model.deprecated_
Interface IAssociationEnd

All Superinterfaces:
IModelComponent, IRelationship.IRelationshipEnd, IStereotypeCapable

public interface IAssociationEnd
extends IModelComponent, IRelationship.IRelationshipEnd


Nested Class Summary
static class IAssociationEnd.EAggregationEnum
          An enumeration of the possible values for the aggregation of an end.
static class IAssociationEnd.EChangeableEnum
          An enum of the possible values for the changeability of an end.
 
Nested classes/interfaces inherited from interface org.eclipse.tigerstripe.workbench.model.deprecated_.IModelComponent
IModelComponent.EMultiplicity, IModelComponent.EVisibility
 
Method Summary
 IAssociationEnd.EAggregationEnum getAggregation()
          Returns the aggregation type of the end.
 IAssociationEnd.EChangeableEnum getChangeable()
          Returns the changeability type of the end.
 IAbstractArtifact getContainingArtifact()
          Returns the IArtifact that is the "container" for the end.
 IAssociationArtifact getContainingAssociation()
          Returns the Association that is the "container" for the end.
 IModelComponent.EMultiplicity getMultiplicity()
          Returns the multiplicity of the end.
 boolean isNavigable()
          Returns the navigabilty of the End.
 boolean isOrdered()
          Returns the ordered attribute of the End.
 boolean isUnique()
          Returns the unique attribute of the End.
 IType makeType()
          Make a new blank type.
 void setAggregation(IAssociationEnd.EAggregationEnum aggregation)
          Sets the aggregation type of the End.
 void setChangeable(IAssociationEnd.EChangeableEnum changeable)
          Sets the changeable attribute of the End.
 void setMultiplicity(IModelComponent.EMultiplicity multiplicity)
           
 void setNavigable(boolean isNavigable)
          Sets the navigable attribute of the End.
 void setOrdered(boolean isOrdered)
          Sets the ordered attribute.
 void setType(IType type)
          Sets the type of the artifact at the End.
 void setUnique(boolean isUnique)
          Sets the unique attribute of the End.
 
Methods inherited from interface org.eclipse.tigerstripe.workbench.model.deprecated_.IModelComponent
getAnnotation, getAnnotations, getAnnotations, getAnnotations, getComment, getMetadata, getName, getProject, getVisibility, hasAnnotations, hasAnnotations, hasAnnotations, isInActiveFacet, setComment, setName, setVisibility, validate
 
Methods inherited from interface org.eclipse.tigerstripe.workbench.profile.stereotype.IStereotypeCapable
addStereotypeInstance, getStereotypeInstanceByName, getStereotypeInstances, hasStereotypeInstance, removeStereotypeInstance, removeStereotypeInstances
 
Methods inherited from interface org.eclipse.tigerstripe.workbench.model.deprecated_.IRelationship.IRelationshipEnd
getContainingRelationship, getName, getNameForType, getOtherEnd, getType
 

Method Detail

getContainingAssociation

IAssociationArtifact getContainingAssociation()
Returns the Association that is the "container" for the end. This is an alias for getContainingArtifact()

Returns:
the containing artifact.

isNavigable

boolean isNavigable()
Returns the navigabilty of the End.

Returns:
true if navigable.

setNavigable

void setNavigable(boolean isNavigable)
Sets the navigable attribute of the End.

Parameters:
isNavigable -

getAggregation

IAssociationEnd.EAggregationEnum getAggregation()
Returns the aggregation type of the end.

Returns:
enumeration of the aggregation type.

setAggregation

void setAggregation(IAssociationEnd.EAggregationEnum aggregation)
Sets the aggregation type of the End.

Parameters:
aggregation -

getChangeable

IAssociationEnd.EChangeableEnum getChangeable()
Returns the changeability type of the end.

Returns:
enumeration of the changeability type.

setChangeable

void setChangeable(IAssociationEnd.EChangeableEnum changeable)
Sets the changeable attribute of the End.

Parameters:
changeable -

getMultiplicity

IModelComponent.EMultiplicity getMultiplicity()
Returns the multiplicity of the end.

Returns:
enumeration of the multiplicity type.

setMultiplicity

void setMultiplicity(IModelComponent.EMultiplicity multiplicity)

getContainingArtifact

IAbstractArtifact getContainingArtifact()
Returns the IArtifact that is the "container" for the end. This will always be an association or associationClass artifact.

Returns:
the containing artifact.

setOrdered

void setOrdered(boolean isOrdered)
Sets the ordered attribute.

Parameters:
isOrdered -

isOrdered

boolean isOrdered()
Returns the ordered attribute of the End.

Returns:
true if ordered.

setUnique

void setUnique(boolean isUnique)
Sets the unique attribute of the End.

Parameters:
isUnique -

isUnique

boolean isUnique()
Returns the unique attribute of the End.

Returns:
true if unique.

setType

void setType(IType type)
Sets the type of the artifact at the End.

Parameters:
type -

makeType

IType makeType()
Make a new blank type.

Returns:
a new IType.