org.argouml.cognitive.critics
Class StandardCM

java.lang.Object
  extended byorg.argouml.cognitive.critics.ControlMech
      extended byorg.argouml.cognitive.critics.CompositeCM
          extended byorg.argouml.cognitive.critics.AndCM
              extended byorg.argouml.cognitive.critics.StandardCM
All Implemented Interfaces:
Serializable

public class StandardCM
extends AndCM

The standard Control Mech.

See Also:
Serialized Form

Constructor Summary
StandardCM()
          The constructor.
 
Method Summary
 void addMech(ControlMech cm)
           
protected  Vector getMechs()
           
 boolean isRelevant(Critic c, Designer d)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StandardCM

public StandardCM()
The constructor.

Method Detail

isRelevant

public boolean isRelevant(Critic c,
                          Designer d)
Overrides:
isRelevant in class ControlMech
Parameters:
c - the critic
d - the designer
Returns:
true f the critic is relevant for the given designer

getMechs

protected Vector getMechs()
Returns:
Returns the _mechs.

addMech

public void addMech(ControlMech cm)
Parameters:
cm - the ControlMech


ArgoUML © 1996-2004 (20050222)ArgoUML HomepageArgoUML Developers' pageArgoUML Cookbook