Jadex 0.96-beta1

jadex.model
Interface IMQueryGoal

All Superinterfaces:
IMElement, IMGoal, IMParameterElement, IMReferenceableElement
All Known Subinterfaces:
IMMetaGoal

public interface IMQueryGoal
extends IMGoal

Model element for a query goal.


Field Summary
 
Fields inherited from interface jadex.model.IMGoal
EXCLUDE_NEVER, EXCLUDE_WHEN_FAILED, EXCLUDE_WHEN_SUCCEEDED, EXCLUDE_WHEN_TRIED
 
Fields inherited from interface jadex.model.IMReferenceableElement
EXPORTED_FALSE, EXPORTED_SHIELDED, EXPORTED_TRUE
 
Method Summary
 IMCondition createFailureCondition(String expression)
          Create a failure condition for the goal.
 IMCondition createTargetCondition(String expression)
          Create a target condition for the goal.
 void deleteFailureCondition()
          Delete the failure condition of the goal.
 void deleteTargetCondition()
          Delete the target condition of the goal.
 IMCondition getFailureCondition()
          Get the failure condition of the goal.
 IMCondition getTargetCondition()
          Get the target condition of the goal.
 
Methods inherited from interface jadex.model.IMGoal
createContextCondition, createCreationCondition, createDeliberation, createDropCondition, createUnique, deleteContextCondition, deleteCreationCondition, deleteDeliberation, deleteDropCondition, deleteUnique, getContextCondition, getCreationCondition, getDeliberation, getDropCondition, getExcludeMode, getGoalEvent, getRecurDelay, getRelevantParameters, getRelevantParameterSets, getRetryDelay, getUnique, isPostToAll, isRandomSelection, isRecalculating, isRecur, isRetry, setExcludeMode, setPostToAll, setRandomSelection, setRecalculating, setRecur, setRecurDelay, setRetry, setRetryDelay
 
Methods inherited from interface jadex.model.IMParameterElement
createParameter, createParameterSet, deleteParameter, deleteParameterSet, getBindingParameters, getParameter, getParameters, getParameterSet, getParameterSets
 
Methods inherited from interface jadex.model.IMReferenceableElement
createAssignTo, deleteAssignTo, getAssignToElements, getAssignTos, getExported, setExported
 
Methods inherited from interface jadex.model.IMElement
check, getChildren, getDescription, getEncodableRepresentation, getName, getOwner, getReport, getScope, getSystemExpressionParameters, setDescription, setName
 

Method Detail

getTargetCondition

IMCondition getTargetCondition()
Get the target condition of the goal.

Returns:
The target condition (if any).

createTargetCondition

IMCondition createTargetCondition(String expression)
Create a target condition for the goal.

Parameters:
expression - The expression string.
Returns:
The new target condition.

deleteTargetCondition

void deleteTargetCondition()
Delete the target condition of the goal.


getFailureCondition

IMCondition getFailureCondition()
Get the failure condition of the goal.

Returns:
The failure condition (if any).

createFailureCondition

IMCondition createFailureCondition(String expression)
Create a failure condition for the goal.

Parameters:
expression - The expression string.
Returns:
The new failure condition.

deleteFailureCondition

void deleteFailureCondition()
Delete the failure condition of the goal.


Jadex 0.96-beta1

Submit a bug or feature
For further API reference and developer documentation, see the Jadex User Guide and the Jadex Tutorial. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, and working code examples.

Copyright (C) 2002-2007 Lars Braubach, Alexander Pokahr - University of Hamburg. Use is subject to license terms.