org.ocltf.model
Interface ClassifierFacade

All Superinterfaces:
ElementFacade

public interface ClassifierFacade
extends ElementFacade

Specifies a "facade" for an underlying classifier.

Author:
Chad Brandon

Method Summary
 AttributeFacade findAttribute(java.lang.String name)
          Returns the AttributeFacade for the FIRST attribute found on the the underyling classifier that has the specified name.
 AssociationEndFacade findConnectingAssociationEnd(java.lang.String name)
          Finds the associationEnd that has a connectingEnd with the specified name, returns null if one can not be found.
 java.util.Collection getAssociationEnds()
          Gets the association end objects that are attached the underlying classifier object.
 java.util.Collection getAttributes()
          Returns a Collection of AttributeFacade instances for the attributes of the underlying classifier.
 java.util.Collection getConnectingAssociationEnds()
          Gets all connecting association end objects that are attached the underlying classifier object.
 java.util.Collection getOperations()
          Gets the operations of the underlying classifier.
 
Methods inherited from interface org.ocltf.model.ElementFacade
findConstraint, findTagValue, getConstraints, getFullyQualifiedName, getGeneralizations, getId, getName, getPackageName, getStereotypeNames, getTaggedValues, getType
 

Method Detail

getOperations

public java.util.Collection getOperations()
Gets the operations of the underlying classifier.

Returns:
Collection of OperationFacade objects

getAttributes

public java.util.Collection getAttributes()
Returns a Collection of AttributeFacade instances for the attributes of the underlying classifier.

Returns:
Collection of attributes

findAttribute

public AttributeFacade findAttribute(java.lang.String name)
Returns the AttributeFacade for the FIRST attribute found on the the underyling classifier that has the specified name.

Parameters:
name - the name of the attribute to find.
Returns:
AttributeFacade the found attribute or null if non could be found.

getAssociationEnds

public java.util.Collection getAssociationEnds()
Gets the association end objects that are attached the underlying classifier object.

Returns:
Collection of AssociationEnd objects

getConnectingAssociationEnds

public java.util.Collection getConnectingAssociationEnds()
Gets all connecting association end objects that are attached the underlying classifier object.

Returns:
Collection of AssociationEnd objects

findConnectingAssociationEnd

public AssociationEndFacade findConnectingAssociationEnd(java.lang.String name)
Finds the associationEnd that has a connectingEnd with the specified name, returns null if one can not be found.

Parameters:
name - the name of the connectingEnd.
Returns:
AssociationEndFacade the found association end or null if none could be found.


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