org.ocltf.model
Interface ModelFacade


public interface ModelFacade

Specifies a "facade" for the current model. Provides information about the model.

Author:
Chad Brandon

Method Summary
 ClassifierFacade findClassifier(java.lang.String fullyQualifiedName)
          Finds the classifier having the specified fullyQualifiedName
 java.util.Collection findModelElementsByStereotype(java.lang.String stereotype)
          Finds all the model elements that have the specified stereotype.
 void setModel(java.lang.Object model)
          Sets the underlying model for the this ModelFacade.
 

Method Detail

setModel

public void setModel(java.lang.Object model)
Sets the underlying model for the this ModelFacade.

Parameters:
model - the Object which is the underlying model for this facade.

findClassifier

public ClassifierFacade findClassifier(java.lang.String fullyQualifiedName)
Finds the classifier having the specified fullyQualifiedName

Parameters:
fullyQualifiedName - - the name of the classifier (including the package).
Returns:
ClassifierFacade the found ClassifierFacade instance.

findModelElementsByStereotype

public java.util.Collection findModelElementsByStereotype(java.lang.String stereotype)
Finds all the model elements that have the specified stereotype.

Parameters:
stereotype - the name of the stereotype.
Returns:
Collection


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