| Modifier and Type | Field and Description | 
|---|---|
| protected java.lang.String | scopeThe scope (for local views). | 
| Constructor and Description | 
|---|
| RGoalbase(IInternalAccess agent,
         java.lang.String scope)Create a new goalbase. | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | containsGoal(IGoal goal)Test if an adopted goal is already contained in the goal base. | 
| IGoal | createGoal(java.lang.String type)Create a goal from a template goal. | 
| <T> IFuture<T> | dispatchTopLevelGoal(IGoal goal)Dispatch a new top-level goal. | 
| IGoal[] | getGoals()Get all the adopted goals in this scope (including subgoals). | 
| IGoal[] | getGoals(java.lang.String type)Get all proprietary goals of a specified type (=model element name). | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetModelElementpublic RGoalbase(IInternalAccess agent, java.lang.String scope)
public boolean containsGoal(IGoal goal)
containsGoal in interface IGoalbasegoal - The goal to test.public IGoal[] getGoals(java.lang.String type)
public IGoal[] getGoals()
public IGoal createGoal(java.lang.String type)
createGoal in interface IGoalbasetype - The template goal name as specified in the ADF.public <T> IFuture<T> dispatchTopLevelGoal(IGoal goal)
dispatchTopLevelGoal in interface IGoalbasegoal - The new goal.