|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.util.Observable | +--org.argouml.cognitive.DecisionModel
The DecisionModel is part of the state of the Designer. It describes what types of decisions, or design issues, the Designer is thinking about at the current time. Critics that are relevant to those decisions are made active, Critics that are not relevant are made inactive. TODO: There is some notion that each decision has a certain importanance at a certain time, but I have not followed through on that because I don't have good examples of how to quantify the importance of a decision. TODO: Right now the individual decisions are just Strings, maybe they should have some non-atomic structure?
Constructor Summary | |
---|---|
DecisionModel()
|
Method Summary | |
---|---|
void |
defineDecision(java.lang.String decision,
int priority)
If the given decision is already defined, do nothing. |
protected Decision |
findDecision(java.lang.String decName)
Finds a decision with a specific name. |
java.util.Vector |
getDecisions()
|
boolean |
isConsidering(java.lang.String decision)
Reply true iff the Designer is considering the given decision. |
void |
setDecisionPriority(java.lang.String decision,
int priority)
|
void |
startConsidering(Decision d)
|
void |
startConsidering(java.lang.String decision)
The Designer has indicated that he is now interested in the given decision. |
void |
stopConsidering(Decision d)
|
void |
stopConsidering(java.lang.String decision)
The Designer has indicated that he is not interested in the given decision right now. |
Methods inherited from class java.util.Observable |
---|
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DecisionModel()
Method Detail |
public java.util.Vector getDecisions()
public boolean isConsidering(java.lang.String decision)
public void setDecisionPriority(java.lang.String decision, int priority)
public void defineDecision(java.lang.String decision, int priority)
public void startConsidering(java.lang.String decision)
public void startConsidering(Decision d)
public void stopConsidering(java.lang.String decision)
public void stopConsidering(Decision d)
protected Decision findDecision(java.lang.String decName)
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ArgoUML © 1996-2003 (20040216) | ArgoUML Project Home | ArgoUML Cookbook |