Jadex 0.96-beta1

jadex.model
Interface IMDeliberation

All Superinterfaces:
IMElement

public interface IMDeliberation
extends IMElement

Goal deliberation options.


Method Summary
 IMInhibits createInhibits(String ref, String expression, String inhibit)
          Create a new inhibition link.
 void deleteInhibits(IMInhibits inhibits)
          Delete an inhibition link.
 int getCardinality()
          Get the cardinality (i.e. max. number of active goals) or -1 if not set.
 IMInhibits[] getInhibits()
          Get all inhibition links.
 void setCardinality(int cardinality)
          Set the cardinality (i.e. max. number of active goals) or -1 if unlimited.
 
Methods inherited from interface jadex.model.IMElement
check, getChildren, getDescription, getEncodableRepresentation, getName, getOwner, getReport, getScope, getSystemExpressionParameters, setDescription, setName
 

Method Detail

getInhibits

IMInhibits[] getInhibits()
Get all inhibition links.

Returns:
The inhibition links originating from the enclosing goal.

createInhibits

IMInhibits createInhibits(String ref,
                          String expression,
                          String inhibit)
Create a new inhibition link.

Parameters:
ref - The goal type to be inhibited.
expression - An optional boolean expression specifying the context in which the inhibition link is active.
inhibit - An optional identifier for the goal's lifecycle state in which the inhibition link is active.

deleteInhibits

void deleteInhibits(IMInhibits inhibits)
Delete an inhibition link.

Parameters:
inhibits - The inhibition link.

getCardinality

int getCardinality()
Get the cardinality (i.e. max. number of active goals) or -1 if not set.


setCardinality

void setCardinality(int cardinality)
Set the cardinality (i.e. max. number of active goals) or -1 if unlimited.


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.