|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.util.Observable
org.argouml.cognitive.GoalModel
Models the designers goals in making this design. Provides useful control information to the Agency so that only critics relevant to the designers goals are ever executed. TODO: Really this should be part of a domain extension and not the kernel. I have not developed this part of Argo very much.
| Constructor Summary | |
GoalModel()
The constructor. |
|
| Method Summary | |
void |
addGoal(Goal g)
|
Vector |
getGoals()
|
boolean |
hasGoal(String goalName)
Reply true iff the Designer wants to achieve the given goal. |
void |
removeGoal(Goal g)
|
void |
setGoalPriority(String goalName,
int priority)
|
void |
startDesiring(String goalName)
The Designer wants to achieve the given goal. |
void |
stopDesiring(String goalName)
The Designer does not care about the given goal. |
| 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 GoalModel()
| Method Detail |
public Vector getGoals()
public void addGoal(Goal g)
g - the goal to be addedpublic void removeGoal(Goal g)
g - the goal to be removedpublic boolean hasGoal(String goalName)
goalName - the given goal
public void setGoalPriority(String goalName,
int priority)
goalName - the given goalpriority - the new priority for the goalpublic void startDesiring(String goalName)
goalName - the wanted goalpublic void stopDesiring(String goalName)
goalName - the unwanted goal
|
|||||||||||
| 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 |