|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.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()
The constructor. |
|
| Method Summary | |
void |
defineDecision(String decision,
int priority)
If the given decision is already defined, do nothing. |
protected Decision |
findDecision(String decName)
Finds a decision with a specific name. |
Vector |
getDecisions()
|
void |
setDecisionPriority(String decision,
int priority)
This function sets the priority of an existing decision, or if the decision does not exist yet, it creates a new one. |
void |
startConsidering(Decision d)
The Designer has indicated that he is now interested in the given decision. |
void |
stopConsidering(Decision d)
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 Vector getDecisions()
public void setDecisionPriority(String decision,
int priority)
decision - the given decisionpriority - the new priority
public void defineDecision(String decision,
int priority)
decision - the existing decisionpriority - the prioritypublic void startConsidering(Decision d)
d - the interesting decisionpublic void stopConsidering(Decision d)
d - the uninteresting decisionprotected Decision findDecision(String decName)
decName - the decision name
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
| ArgoUML © 1996-2006 | ArgoUML Homepage | ArgoUML Developers' page | ArgoUML Cookbook |