org.ocltf.model
Interface AssociationEndFacade

All Superinterfaces:
ElementFacade

public interface AssociationEndFacade
extends ElementFacade

Specifies a "facade" for an underlying association end.

Author:
Chad Brandon

Method Summary
 AssociationEndFacade getConnectingEnd()
          Retrives the other end of an AssociationEnd.
 AssociationFacade getOwner()
          Gets the association that is the owner of the specified AssociationEnd
 boolean isAggregationAggregate()
          Returns true if the association end is an association and its aggregation is aggregate
 boolean isAggregationComposition()
          Returns true if the association end is on association and its aggregation is composition
 boolean isMany()
          Returns true if the associationEnd's multiplicity is many.
 boolean isManyToMany()
          Returns true if the associationEnd is the many side in a many-to-many association
 boolean isManyToOne()
          Returns true if the associationEnd is the many side in a many-to-one association
 boolean isNavigable()
          Returns true if the association end is navigable.
 boolean isOneToMany()
          Returns true if the associationEnd is the single side of a one-to-many association
 boolean isOneToOne()
          Returns true if the associationEnd is a single side in a one-to-one association
 boolean isOrdered()
          Returns true if the association end is an association and is ordered.
 boolean isRequired()
          Returns true if the associationEnd is required (i.e the lower limit of multiplicity range isn't 0).
 
Methods inherited from interface org.ocltf.model.ElementFacade
findConstraint, findTagValue, getConstraints, getFullyQualifiedName, getGeneralizations, getId, getName, getPackageName, getStereotypeNames, getTaggedValues, getType
 

Method Detail

isAggregationComposition

public boolean isAggregationComposition()
Returns true if the association end is on association and its aggregation is composition

Returns:
boolean true if its composition, false otherwise

isAggregationAggregate

public boolean isAggregationAggregate()
Returns true if the association end is an association and its aggregation is aggregate

Returns:
boolean true if its composition, false otherwise

isOrdered

public boolean isOrdered()
Returns true if the association end is an association and is ordered.

Returns:
boolean true if the association end is ordered, false otherwise

isNavigable

public boolean isNavigable()
Returns true if the association end is navigable.

Returns:
boolean true if the association end is navigable, false otherwise

isRequired

public boolean isRequired()
Returns true if the associationEnd is required (i.e the lower limit of multiplicity range isn't 0).

Returns:
boolean

isMany

public boolean isMany()
Returns true if the associationEnd's multiplicity is many.

Returns:
boolean

isOneToMany

public boolean isOneToMany()
Returns true if the associationEnd is the single side of a one-to-many association

Returns:
boolean

isManyToMany

public boolean isManyToMany()
Returns true if the associationEnd is the many side in a many-to-many association

Returns:
boolean

isOneToOne

public boolean isOneToOne()
Returns true if the associationEnd is a single side in a one-to-one association

Returns:
boolean

isManyToOne

public boolean isManyToOne()
Returns true if the associationEnd is the many side in a many-to-one association

Returns:
boolean

getOwner

public AssociationFacade getOwner()
Gets the association that is the owner of the specified AssociationEnd

Returns:
AssociationFacade

getConnectingEnd

public AssociationEndFacade getConnectingEnd()
Retrives the other end of an AssociationEnd.

Returns:
AssociationEndFacade


Copyright © 2003-2004 Chad Brandon. All Rights Reserved.