1 package org.ocltf.model;
2
3 import java.util.Collection;
4
5 /***
6 * Specifies a "facade" for the current model. Provides
7 * information about the model.
8 *
9 * @author Chad Brandon
10 */
11 public interface ModelFacade {
12
13 /***
14 * Sets the underlying <code>model</code> for the this ModelFacade.
15 *
16 * @param model the Object which is the underlying model for this facade.
17 */
18 public void setModel(Object model);
19
20 /***
21 * Finds the classifier having the specified <code>fullyQualifiedName</code>
22 *
23 * @param fullyQualifiedName - the name of the classifier (including the package).
24 * @return ClassifierFacade the found ClassifierFacade instance.
25 */
26 public ClassifierFacade findClassifier(String fullyQualifiedName);
27
28 /***
29 * Finds all the model elements that have the specified
30 * <code>stereotype</code>.
31 *
32 * @param stereotype the name of the stereotype.
33 * @return Collection
34 */
35 public Collection findModelElementsByStereotype(String stereotype);
36
37 }