|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object gov.nasa.arc.brahms.vm.api.jac.AbstractExternalActivity
public abstract class AbstractExternalActivity
The AbstractExternalActivity is an interface for external activities implemented in Java called by Brahms Java activities. The external activity can perform any Java actions. This abstract class provides access to parameters passed to Brahms Java activities, and allows for adding bindings to unbound variables passed to Brahms java activities through parameters. Any class extending from this class is required to have a constructor with as parameter an IJavaActivityCtx. The activity will be passed to the external activity by the virtual machine.
Constructor Summary | |
---|---|
AbstractExternalActivity()
Constructor, creates a new AbstractExternalActivity |
Method Summary | |
---|---|
protected void |
addBeliefRelationConcept(IConcept lhsConcept,
java.lang.String relationName,
IConcept value)
Adds a concept as a value of a named relation for a concept by asserting a new belief into the activity performer's belief state. |
protected void |
addFactRelationConcept(IConcept lhsConcept,
java.lang.String relationName,
IConcept value)
Adds a concept as a value of a named relation for a concept by asserting a new fact into the world state. |
protected void |
assertBelief(IBelief belief)
Schedules the assertion of the specified belief to the belief set of the active instance performing this activity. |
protected void |
assertFact(IFact fact)
Schedules the assertion of the specified fact into the world state including the distribution of the fact to all agents and objects. |
IStatement[] |
conclude(IConcept concept,
IAttribute attribute,
int relop,
boolean value,
int beliefcertainty,
int factcertainty)
Concludes a new IBelief and/or IFact of the form concept.attribute relop value where relop is one of EQUALS or NOT_EQUALS and the value is a boolean. |
IStatement[] |
conclude(IConcept concept,
IAttribute attribute,
int relop,
byte value,
int beliefcertainty,
int factcertainty)
Concludes a new IBelief and/or IFact of the form concept.attribute relop value where relop is one of EQUALS or NOT_EQUALS and the value is a byte. |
IStatement[] |
conclude(IConcept concept,
IAttribute attribute,
int relop,
char value,
int beliefcertainty,
int factcertainty)
Concludes a new IBelief and/or IFact of the form concept.attribute relop value where relop is one of EQUALS or NOT_EQUALS and the value is a character. |
IStatement[] |
conclude(IConcept concept,
IAttribute attribute,
int relop,
double value,
int beliefcertainty,
int factcertainty)
Concludes a new IBelief and/or IFact of the form concept.attribute relop value where relop is one of EQUALS or NOT_EQUALS and the value is a double. |
IStatement[] |
conclude(IConcept concept,
IAttribute attribute,
int relop,
float value,
int beliefcertainty,
int factcertainty)
Concludes a new IBelief and/or IFact of the form concept.attribute relop value where relop is one of EQUALS or NOT_EQUALS and the value is a float. |
IStatement[] |
conclude(IConcept concept,
IAttribute attribute,
int relop,
IConcept value,
int beliefcertainty,
int factcertainty)
Concludes a new IBelief and/or IFact of the form concept.attribute relop value where relop is one of EQUALS or NOT_EQUALS and the value is an IConcept. |
IStatement[] |
conclude(IConcept concept,
IAttribute attribute,
int collectionIndex,
int relop,
boolean value,
int beliefcertainty,
int factcertainty)
Concludes a new IBelief and/or IFact of the form concept.attribute(index) relop value where relop is one of EQUALS or NOT_EQUALS and the value is a boolean. |
IStatement[] |
conclude(IConcept concept,
IAttribute attribute,
int collectionIndex,
int relop,
byte value,
int beliefcertainty,
int factcertainty)
Concludes a new IBelief and/or IFact of the form concept.attribute(index) relop value where relop is one of EQUALS or NOT_EQUALS and the value is a byte. |
IStatement[] |
conclude(IConcept concept,
IAttribute attribute,
int collectionIndex,
int relop,
char value,
int beliefcertainty,
int factcertainty)
Concludes a new IBelief and/or IFact of the form concept.attribute(index) relop value where relop is one of EQUALS or NOT_EQUALS and the value is a character. |
IStatement[] |
conclude(IConcept concept,
IAttribute attribute,
int collectionIndex,
int relop,
double value,
int beliefcertainty,
int factcertainty)
Concludes a new IBelief and/or IFact of the form concept.attribute(index) relop value where relop is one of EQUALS or NOT_EQUALS and the value is a double. |
IStatement[] |
conclude(IConcept concept,
IAttribute attribute,
int collectionIndex,
int relop,
float value,
int beliefcertainty,
int factcertainty)
Concludes a new IBelief and/or IFact of the form concept.attribute(index) relop value where relop is one of EQUALS or NOT_EQUALS and the value is a float. |
IStatement[] |
conclude(IConcept concept,
IAttribute attribute,
int collectionIndex,
int relop,
IConcept value,
int beliefcertainty,
int factcertainty)
Concludes a new IBelief and/or IFact of the form concept.attribute(index) relop value where relop is one of EQUALS or NOT_EQUALS and the value is an IConcept. |
IStatement[] |
conclude(IConcept concept,
IAttribute attribute,
int relop,
int value,
int beliefcertainty,
int factcertainty)
Concludes a new IBelief and/or IFact of the form concept.attribute relop value where relop is one of EQUALS or NOT_EQUALS and the value is an integer. |
IStatement[] |
conclude(IConcept concept,
IAttribute attribute,
int collectionIndex,
int relop,
int value,
int beliefcertainty,
int factcertainty)
Concludes a new IBelief and/or IFact of the form concept.attribute(index) relop value where relop is one of EQUALS or NOT_EQUALS and the value is an integer. |
IStatement[] |
conclude(IConcept concept,
IAttribute attribute,
int collectionIndex,
int relop,
IUnknown value,
int beliefcertainty,
int factcertainty)
Concludes a new IBelief and/or IFact of the form concept.attribute(index) relop value where relop is one of EQUALS or NOT_EQUALS and the value is the value 'unknown'. |
IStatement[] |
conclude(IConcept concept,
IAttribute attribute,
int collectionIndex,
int relop,
long value,
int beliefcertainty,
int factcertainty)
Concludes a new IBelief and/or IFact of the form concept.attribute(index) relop value where relop is one of EQUALS or NOT_EQUALS and the value is an integer. |
IStatement[] |
conclude(IConcept concept,
IAttribute attribute,
int collectionIndex,
int relop,
java.lang.Object value,
int beliefcertainty,
int factcertainty)
Concludes a new IBelief and/or IFact of the form concept.attribute(index) relop value where relop is one of EQUALS or NOT_EQUALS and the value is a Java Object. |
IStatement[] |
conclude(IConcept concept,
IAttribute attribute,
int collectionIndex,
int relop,
java.io.Serializable value,
int beliefcertainty,
int factcertainty)
Concludes a new IBelief and/or IFact of the form concept.attribute(index) relop value where relop is one of EQUALS or NOT_EQUALS and the value is a Java Serializable. |
IStatement[] |
conclude(IConcept concept,
IAttribute attribute,
int collectionIndex,
int relop,
short value,
int beliefcertainty,
int factcertainty)
Concludes a new IBelief and/or IFact of the form concept.attribute(index) relop value where relop is one of EQUALS or NOT_EQUALS and the value is a short. |
IStatement[] |
conclude(IConcept concept,
IAttribute attribute,
int collectionIndex,
int relop,
java.lang.String value,
boolean symbol,
int beliefcertainty,
int factcertainty)
Concludes a new IBelief and/or IFact of the form concept.attribute(index) relop value where relop is one of EQUALS or NOT_EQUALS and the value is a String. |
IStatement[] |
conclude(IConcept concept,
IAttribute attribute,
int relop,
IUnknown value,
int beliefcertainty,
int factcertainty)
Concludes a new IBelief and/or IFact of the form concept.attribute relop value where relop is one of EQUALS or NOT_EQUALS and the value is the value 'unknown'. |
IStatement[] |
conclude(IConcept concept,
IAttribute attribute,
int relop,
long value,
int beliefcertainty,
int factcertainty)
Concludes a new IBelief and/or IFact of the form concept.attribute relop value where relop is one of EQUALS or NOT_EQUALS and the value is a long. |
IStatement[] |
conclude(IConcept concept,
IAttribute attribute,
int relop,
java.util.Map collection,
int beliefcertainty,
int factcertainty)
Concludes new IFact(s) and/or IBelief(s) of the form concept.attribute(index) relop value where relop is one of EQUALS or NOT_EQUALS. |
IStatement[] |
conclude(IConcept concept,
IAttribute attribute,
int relop,
java.lang.Object value,
int beliefcertainty,
int factcertainty)
Concludes a new IBelief and/or IFact of the form concept.attribute relop value where relop is one of EQUALS or NOT_EQUALS and the value is a Java Object. |
IStatement[] |
conclude(IConcept concept,
IAttribute attribute,
int relop,
java.io.Serializable value,
int beliefcertainty,
int factcertainty)
Concludes a new IBelief and/or IFact of the form concept.attribute relop value where relop is one of EQUALS or NOT_EQUALS and the value is a Java Serializable. |
IStatement[] |
conclude(IConcept concept,
IAttribute attribute,
int relop,
short value,
int beliefcertainty,
int factcertainty)
Concludes a new IBelief and/or IFact of the form concept.attribute relop value where relop is one of EQUALS or NOT_EQUALS and the value is a short. |
IStatement[] |
conclude(IConcept concept,
IAttribute attribute,
int relop,
java.lang.String value,
boolean symbol,
int beliefcertainty,
int factcertainty)
Concludes a new IBelief and/or IFact of the form concept.attribute relop value where relop is one of EQUALS or NOT_EQUALS and the value is a String. |
IStatement[] |
conclude(IConcept concept,
IAttribute attribute,
java.lang.String collectionIndex,
int relop,
boolean value,
int beliefcertainty,
int factcertainty)
Concludes a new IBelief and/or IFact of the form concept.attribute(index) relop value where relop is one of EQUALS or NOT_EQUALS and the value is a boolean. |
IStatement[] |
conclude(IConcept concept,
IAttribute attribute,
java.lang.String collectionIndex,
int relop,
byte value,
int beliefcertainty,
int factcertainty)
Concludes a new IBelief and/or IFact of the form concept.attribute(index) relop value where relop is one of EQUALS or NOT_EQUALS and the value is a byte. |
IStatement[] |
conclude(IConcept concept,
IAttribute attribute,
java.lang.String collectionIndex,
int relop,
char value,
int beliefcertainty,
int factcertainty)
Concludes a new IBelief and/or IFact of the form concept.attribute(index) relop value where relop is one of EQUALS or NOT_EQUALS and the value is a character. |
IStatement[] |
conclude(IConcept concept,
IAttribute attribute,
java.lang.String collectionIndex,
int relop,
double value,
int beliefcertainty,
int factcertainty)
Concludes a new IBelief and/or IFact of the form concept.attribute(index) relop value where relop is one of EQUALS or NOT_EQUALS and the value is a double. |
IStatement[] |
conclude(IConcept concept,
IAttribute attribute,
java.lang.String collectionIndex,
int relop,
float value,
int beliefcertainty,
int factcertainty)
Concludes a new IBelief and/or IFact of the form concept.attribute(index) relop value where relop is one of EQUALS or NOT_EQUALS and the value is a float. |
IStatement[] |
conclude(IConcept concept,
IAttribute attribute,
java.lang.String collectionIndex,
int relop,
IConcept value,
int beliefcertainty,
int factcertainty)
Concludes a new IBelief and/or IFact of the form concept.attribute(index) relop value where relop is one of EQUALS or NOT_EQUALS and the value is an IConcept. |
IStatement[] |
conclude(IConcept concept,
IAttribute attribute,
java.lang.String collectionIndex,
int relop,
int value,
int beliefcertainty,
int factcertainty)
Concludes a new IBelief and/or IFact of the form concept.attribute(index) relop value where relop is one of EQUALS or NOT_EQUALS and the value is an integer. |
IStatement[] |
conclude(IConcept concept,
IAttribute attribute,
java.lang.String collectionIndex,
int relop,
IUnknown value,
int beliefcertainty,
int factcertainty)
Concludes a new IBelief and/or IFact of the form concept.attribute(index) relop value where relop is one of EQUALS or NOT_EQUALS and the value is the value 'unknown'. |
IStatement[] |
conclude(IConcept concept,
IAttribute attribute,
java.lang.String collectionIndex,
int relop,
long value,
int beliefcertainty,
int factcertainty)
Concludes a new IBelief and/or IFact of the form concept.attribute(index) relop value where relop is one of EQUALS or NOT_EQUALS and the value is an integer. |
IStatement[] |
conclude(IConcept concept,
IAttribute attribute,
java.lang.String collectionIndex,
int relop,
java.lang.Object value,
int beliefcertainty,
int factcertainty)
Concludes a new IBelief and/or IFact of the form concept.attribute(index) relop value where relop is one of EQUALS or NOT_EQUALS and the value is a Java Object. |
IStatement[] |
conclude(IConcept concept,
IAttribute attribute,
java.lang.String collectionIndex,
int relop,
java.io.Serializable value,
int beliefcertainty,
int factcertainty)
Concludes a new IBelief and/or IFact of the form concept.attribute(index) relop value where relop is one of EQUALS or NOT_EQUALS and the value is a Java Serializable. |
IStatement[] |
conclude(IConcept concept,
IAttribute attribute,
java.lang.String collectionIndex,
int relop,
short value,
int beliefcertainty,
int factcertainty)
Concludes a new IBelief and/or IFact of the form concept.attribute(index) relop value where relop is one of EQUALS or NOT_EQUALS and the value is a short. |
IStatement[] |
conclude(IConcept concept,
IAttribute attribute,
java.lang.String collectionIndex,
int relop,
java.lang.String value,
boolean symbol,
int beliefcertainty,
int factcertainty)
Concludes a new IBelief and/or IFact of the form concept.attribute(index) relop value where relop is one of EQUALS or NOT_EQUALS and the value is a String. |
IStatement[] |
conclude(IConcept lhsConcept,
IRelation relation,
IConcept rhsConcept,
int beliefcertainty,
int factcertainty)
Concludes a new IBelief and/or IFact of the form concept relation concept. |
IStatement[] |
conclude(IConcept lhsConcept,
IRelation relation,
IConcept rhsConcept,
int truthValue,
int beliefcertainty,
int factcertainty)
Concludes a new IBelief and/or IFact of the form concept relation concept with the specified truth value. |
IStatement[] |
conclude(IConcept lhsConcept,
IRelation relation,
IUnknown rhsConcept,
int beliefcertainty,
int factcertainty)
Concludes a new IBelief and/or IFact of the form concept relation concept. |
IStatement[] |
conclude(IConcept lhsConcept,
IRelation relation,
IUnknown rhsConcept,
int truthValue,
int beliefcertainty,
int factcertainty)
Concludes a new IBelief and/or IFact of the form concept relation concept with the specified truth value. |
java.lang.Object |
convertCurrent(java.lang.Object value)
Tests a value to see if it is an instance of ICurrent. |
abstract void |
doActivity()
Executes the java activity code. |
protected boolean |
getBeliefAttributeBoolean(IConcept lhsConcept,
java.lang.String attributeName)
Retrieves a boolean value for an attribute of a concept from the activity performer's belief state |
protected boolean |
getBeliefAttributeBoolean(IConcept lhsConcept,
java.lang.String attributeName,
int index)
Retrieves a boolean value for a collection attribute of a concept at a given integer index from the activity performer's belief state |
protected boolean |
getBeliefAttributeBoolean(IConcept lhsConcept,
java.lang.String attributeName,
java.lang.String key)
Retrieves a boolean value for a collection attribute of a concept at a given String key from the activity performer's belief state |
protected byte |
getBeliefAttributeByte(IConcept lhsConcept,
java.lang.String attributeName)
Retrieves a byte value for an attribute of a concept from the activity performer's belief state |
protected byte |
getBeliefAttributeByte(IConcept lhsConcept,
java.lang.String attributeName,
int index)
Retrieves a byte value for a collection attribute of a concept at a given integer index from the activity performer's belief state |
protected byte |
getBeliefAttributeByte(IConcept lhsConcept,
java.lang.String attributeName,
java.lang.String key)
Retrieves a byte value for a collection attribute of a concept at a given String key from the activity performer's belief state |
protected char |
getBeliefAttributeChar(IConcept lhsConcept,
java.lang.String attributeName)
Retrieves a char value for an attribute of a concept from the activity performer's belief state |
protected char |
getBeliefAttributeChar(IConcept lhsConcept,
java.lang.String attributeName,
int index)
Retrieves a char value for a collection attribute of a concept at a given integer index from the activity performer's belief state |
protected char |
getBeliefAttributeChar(IConcept lhsConcept,
java.lang.String attributeName,
java.lang.String key)
Retrieves achar value for a collection attribute of a concept at a given String key from the activity performer's belief state |
protected IConcept |
getBeliefAttributeConcept(IConcept lhsConcept,
java.lang.String attributeName)
Retrieves an IConcept value for an attribute of a concept from the activity performer's belief state |
protected IConcept |
getBeliefAttributeConcept(IConcept lhsConcept,
java.lang.String attributeName,
int index)
Retrieves an IConcept value for a collection attribute of a concept at a given integer index from the activity performer's belief state |
protected IConcept |
getBeliefAttributeConcept(IConcept lhsConcept,
java.lang.String attributeName,
java.lang.String key)
Retrieves an IConcept value for a collection attribute of a concept at a given String key from the activity performer's belief state |
protected double |
getBeliefAttributeDouble(IConcept lhsConcept,
java.lang.String attributeName)
Retrieves a double value for an attribute of a concept from the activity performer's belief state |
protected double |
getBeliefAttributeDouble(IConcept lhsConcept,
java.lang.String attributeName,
int index)
Retrieves a double value for a collection attribute of a concept at a given integer index from the activity performer's belief state |
protected double |
getBeliefAttributeDouble(IConcept lhsConcept,
java.lang.String attributeName,
java.lang.String key)
Retrieves a double value for a collection attribute of a concept at a given String key from the activity performer's belief state |
protected float |
getBeliefAttributeFloat(IConcept lhsConcept,
java.lang.String attributeName)
Retrieves a float value for an attribute of a concept from the activity performer's belief state |
protected float |
getBeliefAttributeFloat(IConcept lhsConcept,
java.lang.String attributeName,
int index)
Retrieves a float value for a collection attribute of a concept at a given integer index from the activity performer's belief state |
protected float |
getBeliefAttributeFloat(IConcept lhsConcept,
java.lang.String attributeName,
java.lang.String key)
Retrieves a float value for a collection attribute of a concept at a given String key from the activity performer's belief state |
protected int |
getBeliefAttributeInt(IConcept lhsConcept,
java.lang.String attributeName)
Retrieves an int value for an attribute of a concept from the activity performer's belief state |
protected int |
getBeliefAttributeInt(IConcept lhsConcept,
java.lang.String attributeName,
int index)
Retrieves an int value for a collection attribute of a concept at a given integer index from the activity performer's belief state |
protected int |
getBeliefAttributeInt(IConcept lhsConcept,
java.lang.String attributeName,
java.lang.String key)
Retrieves an int value for a collection attribute of a concept at a given String key from the activity performer's belief state |
protected java.io.Serializable |
getBeliefAttributeJava(IConcept lhsConcept,
java.lang.String attributeName)
Retrieves a Serializable value for an attribute of a concept from the activity performer's belief state |
protected java.io.Serializable |
getBeliefAttributeJava(IConcept lhsConcept,
java.lang.String attributeName,
int index)
Retrieves a Serializable value for a collection attribute of a concept at a given integer index from the activity performer's belief state |
protected java.io.Serializable |
getBeliefAttributeJava(IConcept lhsConcept,
java.lang.String attributeName,
java.lang.String key)
Retrieves a Serializable value for a collection attribute of a concept at a given String key from the activity performer's belief state |
protected long |
getBeliefAttributeLong(IConcept lhsConcept,
java.lang.String attributeName)
Retrieves a long value for an attribute of a concept from the activity performer's belief state |
protected long |
getBeliefAttributeLong(IConcept lhsConcept,
java.lang.String attributeName,
int index)
Retrieves a long value for a collection attribute of a concept at a given integer index from the activity performer's belief state |
protected long |
getBeliefAttributeLong(IConcept lhsConcept,
java.lang.String attributeName,
java.lang.String key)
Retrieves a long value for a collection attribute of a concept at a given String key from the activity performer's belief state |
protected java.util.Map<java.lang.Object,java.lang.Object> |
getBeliefAttributeMap(IConcept lhsConcept,
java.lang.String attributeName,
boolean includeUnknown)
Returns a Map representing the values for a map attribute of a concept from beliefs in the belief state Entries with values of unknown are included in the returned Map if the includeUnknown parameter is true. |
protected short |
getBeliefAttributeShort(IConcept lhsConcept,
java.lang.String attributeName)
Retrieves a short value for an attribute of a concept from the activity performer's belief state |
protected short |
getBeliefAttributeShort(IConcept lhsConcept,
java.lang.String attributeName,
int index)
Retrieves a short value for a collection attribute of a concept at a given integer index from the activity performer's belief state |
protected short |
getBeliefAttributeShort(IConcept lhsConcept,
java.lang.String attributeName,
java.lang.String key)
Retrieves a short value for a collection attribute of a concept at a given String key from the activity performer's belief state |
protected java.util.SortedMap<java.lang.Object,java.lang.Object> |
getBeliefAttributeSortedMap(IConcept lhsConcept,
java.lang.String attributeName,
boolean includeUnknown)
Returns a sorted Map representing the values for a map attribute of a concept from beliefs in the belief state Entries with values of unknown are included in the returned Map if the includeUnknown parameter is true. |
protected java.lang.String |
getBeliefAttributeString(IConcept lhsConcept,
java.lang.String attributeName)
Retrieves a String value for an attribute of a concept from the activity performer's belief state The attribute's Brahms type may be either string or symbol. |
protected java.lang.String |
getBeliefAttributeString(IConcept lhsConcept,
java.lang.String attributeName,
int index)
Retrieves a String value for a collection attribute of a concept at a given integer index from the activity performer's belief state The Brahms type of the value may be either string or symbol. |
protected java.lang.String |
getBeliefAttributeString(IConcept lhsConcept,
java.lang.String attributeName,
java.lang.String key)
Retrieves a String value for a collection attribute of a concept at a given String key from the activity performer's belief state The Brahms type of the value may be either string or symbol. |
protected java.lang.Object |
getBeliefAttributeValue(IConcept lhsConcept,
java.lang.String attributeName)
Retrieves the value for an attribute of a concept from the activity performer's belief state Returns null if there is no corresponding belief in the belief state. |
protected java.lang.Object |
getBeliefAttributeValue(IConcept lhsConcept,
java.lang.String attributeName,
int index)
Retrieves the value for a collection attribute of a concept at a given integer index from the activity performer's belief state Returns null if there is no corresponding belief in the belief state. |
protected java.lang.Object |
getBeliefAttributeValue(IConcept lhsConcept,
java.lang.String attributeName,
java.lang.String key)
Retrieves the value for a collection attribute of a concept at a given String key from the activity performer's belief state Returns null if there is no corresponding belief in the belief state. |
protected java.util.List<IConcept> |
getBeliefRelationConcepts(IConcept lhsConcept,
java.lang.String relationName)
Retrieves a list of concepts that are related to a given concept by a named relation by inspecting the beliefs in the activity performer's belief state. |
protected IContext |
getContext()
Returns this activity's context |
protected boolean |
getFactAttributeBoolean(IConcept lhsConcept,
java.lang.String attributeName)
Retrieves a boolean value for an attribute of a concept from a fact in the world state |
protected boolean |
getFactAttributeBoolean(IConcept lhsConcept,
java.lang.String attributeName,
int index)
Retrieves a boolean value for a collection attribute of a concept at a given integer index from a fact in the world state |
protected boolean |
getFactAttributeBoolean(IConcept lhsConcept,
java.lang.String attributeName,
java.lang.String key)
Retrieves a boolean value for a collection attribute of a concept at a given String key from a fact in the world state |
protected byte |
getFactAttributeByte(IConcept lhsConcept,
java.lang.String attributeName)
Retrieves a byte value for an attribute of a concept from a fact in the world state |
protected byte |
getFactAttributeByte(IConcept lhsConcept,
java.lang.String attributeName,
int index)
Retrieves a byte value for a collection attribute of a concept at a given integer index from a fact in the world state |
protected byte |
getFactAttributeByte(IConcept lhsConcept,
java.lang.String attributeName,
java.lang.String key)
Retrieves a byte value for a collection attribute of a concept at a given String key from a fact in the world state |
protected char |
getFactAttributeChar(IConcept lhsConcept,
java.lang.String attributeName)
Retrieves a char value for an attribute of a concept from a fact in the world state |
protected char |
getFactAttributeChar(IConcept lhsConcept,
java.lang.String attributeName,
int index)
Retrieves a char value for a collection attribute of a concept at a given integer index from a fact in the world state |
protected char |
getFactAttributeChar(IConcept lhsConcept,
java.lang.String attributeName,
java.lang.String key)
Retrieves a char value for a collection attribute of a concept at a given String key from a fact in the world state |
protected IConcept |
getFactAttributeConcept(IConcept lhsConcept,
java.lang.String attributeName)
Retrieves an IConcept value for an attribute of a concept from a fact in the world state |
protected IConcept |
getFactAttributeConcept(IConcept lhsConcept,
java.lang.String attributeName,
int index)
Retrieves an IConcept value for a collection attribute of a concept at a given integer index from a fact in the world state |
protected IConcept |
getFactAttributeConcept(IConcept lhsConcept,
java.lang.String attributeName,
java.lang.String key)
Retrieves an IConcept value for a collection attribute of a concept at a given String key from a fact in the world state |
protected double |
getFactAttributeDouble(IConcept lhsConcept,
java.lang.String attributeName)
Retrieves a double value for an attribute of a concept from a fact in the world state |
protected double |
getFactAttributeDouble(IConcept lhsConcept,
java.lang.String attributeName,
int index)
Retrieves a double value for a collection attribute of a concept at a given integer index from a fact in the world state |
protected double |
getFactAttributeDouble(IConcept lhsConcept,
java.lang.String attributeName,
java.lang.String key)
Retrieves a double value for a collection attribute of a concept at a given String key from a fact in the world state |
protected float |
getFactAttributeFloat(IConcept lhsConcept,
java.lang.String attributeName)
Retrieves a float value for an attribute of a concept from a fact in the world state |
protected float |
getFactAttributeFloat(IConcept lhsConcept,
java.lang.String attributeName,
int index)
Retrieves a float value for a collection attribute of a concept at a given integer index from a fact in the world state |
protected float |
getFactAttributeFloat(IConcept lhsConcept,
java.lang.String attributeName,
java.lang.String key)
Retrieves a float value for a collection attribute of a concept at a given String key from a fact in the world state |
protected int |
getFactAttributeInt(IConcept lhsConcept,
java.lang.String attributeName)
Retrieves an int value for an attribute of a concept from a fact in the world state |
protected int |
getFactAttributeInt(IConcept lhsConcept,
java.lang.String attributeName,
int index)
Retrieves an int value for a collection attribute of a concept at a given integer index from a fact in the world state |
protected int |
getFactAttributeInt(IConcept lhsConcept,
java.lang.String attributeName,
java.lang.String key)
Retrieves an int value for a collection attribute of a concept at a given String key from a fact in the world state |
protected java.io.Serializable |
getFactAttributeJava(IConcept lhsConcept,
java.lang.String attributeName)
Retrieves a Serializable value for an attribute of a concept from a fact in the world state |
protected java.io.Serializable |
getFactAttributeJava(IConcept lhsConcept,
java.lang.String attributeName,
int index)
Retrieves a Serializable value for a collection attribute of a concept at a given integer index from a fact in the world state |
protected java.io.Serializable |
getFactAttributeJava(IConcept lhsConcept,
java.lang.String attributeName,
java.lang.String key)
Retrieves a Serializable value for a collection attribute of a concept at a given String key from a fact in the world state |
protected long |
getFactAttributeLong(IConcept lhsConcept,
java.lang.String attributeName)
Retrieves a long value for an attribute of a concept from a fact in the world state |
protected long |
getFactAttributeLong(IConcept lhsConcept,
java.lang.String attributeName,
int index)
Retrieves a long value for a collection attribute of a concept at a given integer index from a fact in the world state |
protected long |
getFactAttributeLong(IConcept lhsConcept,
java.lang.String attributeName,
java.lang.String key)
Retrieves a long value for a collection attribute of a concept at a given String key from a fact in the world state |
protected java.util.Map<java.lang.Object,java.lang.Object> |
getFactAttributeMap(IConcept lhsConcept,
java.lang.String attributeName,
boolean includeUnknown)
Returns a Map representing the values for a map attribute of a concept from facts in the world state Entries with values of unknown are included in the returned Map if the includeUnknown parameter is true. |
protected short |
getFactAttributeShort(IConcept lhsConcept,
java.lang.String attributeName)
Retrieves a short value for an attribute of a concept from a fact in the world state |
protected short |
getFactAttributeShort(IConcept lhsConcept,
java.lang.String attributeName,
int index)
Retrieves a short value for a collection attribute of a concept at a given integer index from a fact in the world state |
protected short |
getFactAttributeShort(IConcept lhsConcept,
java.lang.String attributeName,
java.lang.String key)
Retrieves a short value for a collection attribute of a concept at a given String key from a fact in the world state |
protected java.util.SortedMap<java.lang.Object,java.lang.Object> |
getFactAttributeSortedMap(IConcept lhsConcept,
java.lang.String attributeName,
boolean includeUnknown)
Returns a sorted Map representing the values for a map attribute of a concept from facts in the world state Entries with values of unknown are included in the returned Map if the includeUnknown parameter is true. |
protected java.lang.String |
getFactAttributeString(IConcept lhsConcept,
java.lang.String attributeName)
Retrieves a String value for an attribute of a concept from a fact in the world state The attribute's Brahms type may be either string or symbol. |
protected java.lang.String |
getFactAttributeString(IConcept lhsConcept,
java.lang.String attributeName,
int index)
Retrieves a String value for a collection attribute of a concept at a given integer index from a fact in the world state The Brahms type of the value may be either string or symbol. |
protected java.lang.String |
getFactAttributeString(IConcept lhsConcept,
java.lang.String attributeName,
java.lang.String key)
Retrieves a String value for a collection attribute of a concept at a given String key from a fact in the world state The Brahms type of the value may be either string or symbol. |
protected java.lang.Object |
getFactAttributeValue(IConcept lhsConcept,
java.lang.String attributeName)
Retrieves the value for an attribute of a concept from a fact in the world state Returns null if there is no corresponding fact in the world state. |
protected java.lang.Object |
getFactAttributeValue(IConcept lhsConcept,
java.lang.String attributeName,
int index)
Retrieves the value for a collection attribute of a concept at a given integer index from a fact in the world state Returns null if there is no corresponding fact in the world state. |
protected java.lang.Object |
getFactAttributeValue(IConcept lhsConcept,
java.lang.String attributeName,
java.lang.String key)
Retrieves the value for a collection attribute of a concept at a given String key from a fact in the world state Returns null if there is no corresponding fact in the world state. |
protected java.util.List<IConcept> |
getFactRelationConcepts(IConcept lhsConcept,
java.lang.String relationName)
Retrieves a list of concepts that are related to a given concept by a named relation by inspecting the facts in the current world state. |
protected IModel |
getModel()
Returns a reference to the model loaded in the virtual machine. |
java.lang.String |
getName()
Returns the name of this activity |
protected IParameter |
getParameter(java.lang.String name)
Returns the parameter with the specified name defined for the external activity. |
protected boolean |
getParameterBoolean(java.lang.String name)
Returns the boolean value of the parameter with the specified name defined for the external activity. |
protected byte |
getParameterByte(java.lang.String name)
Returns the byte value of the parameter with the specified name defined for the external activity. |
protected char |
getParameterChar(java.lang.String name)
Returns the character value of the parameter with the specified name defined for the external activity. |
protected IConcept |
getParameterConcept(java.lang.String name)
Returns the concept value of the parameter with the specified name defined for the external activity. |
protected int |
getParameterCount()
Returns the number of parameters specified for the activity. |
protected double |
getParameterDouble(java.lang.String name)
Returns the double value of the parameter with the specified name defined for the external activity. |
protected float |
getParameterFloat(java.lang.String name)
Returns the float value of the parameter with the specified name defined for the external activity. |
protected int |
getParameterInt(java.lang.String name)
Returns the integer value of the parameter with the specified name defined for the external activity. |
protected java.io.Serializable |
getParameterJava(java.lang.String name)
Returns the Java Serializable value of the parameter with the specified name defined for the external activity. |
protected long |
getParameterLong(java.lang.String name)
Returns the long value of the parameter with the specified name defined for the external activity. |
protected short |
getParameterShort(java.lang.String name)
Returns the short value of the parameter with the specified name defined for the external activity. |
protected java.lang.String |
getParameterString(java.lang.String name)
Returns the string value of the parameter with the specified name defined for the external activity. |
protected java.lang.String |
getParameterStringOrSymbol(java.lang.String name)
Returns the symbol value of the parameter with the specified name defined for the external activity. |
protected java.lang.String |
getParameterSymbol(java.lang.String name)
Returns the symbol value of the parameter with the specified name defined for the external activity. |
protected java.lang.Object |
getParameterValue(java.lang.String name)
Generic method to return the value of a parameter as an object. |
protected java.util.List<java.lang.Object> |
getParameterValues(java.lang.String name)
Generic method to return the values of a parameter as a list of objects. |
protected IActiveInstance |
getPerformedBy()
Returns the active instance (agent or object) performing this activity. |
protected IVMController |
getVMController()
Returns the virtual machine's controller usable by this activity. |
protected IWorldState |
getWorldState()
Returns a reference to the world state managing the fact set. |
protected boolean |
hasBeliefAttributeAnyValue(IConcept lhsConcept,
java.lang.String attributeName,
boolean includeUnknown)
Tests whether a concept has any value for a named attribute based on the activity performer's belief state. |
protected boolean |
hasBeliefAttributeAnyValue(IConcept lhsConcept,
java.lang.String attributeName,
int index,
boolean includeUnknown)
Tests whether a concept has any value for a named collection attribute at a given integer index based on the activity performer's belief state. |
protected boolean |
hasBeliefAttributeAnyValue(IConcept lhsConcept,
java.lang.String attributeName,
java.lang.String key,
boolean includeUnknown)
Tests whether a concept has any value for a named collection attribute at a given String key based on the activity performer's belief state. |
protected boolean |
hasBeliefAttributeValue(IConcept lhsConcept,
java.lang.String attributeName,
int index,
java.lang.Object value)
Tests whether a concept has a specified value for a named attribute based on the activity performer's belief state. |
protected boolean |
hasBeliefAttributeValue(IConcept lhsConcept,
java.lang.String attributeName,
java.lang.Object value)
Tests whether a concept has a specified value for a named attribute based on the activity performer's belief state. |
protected boolean |
hasBeliefAttributeValue(IConcept lhsConcept,
java.lang.String attributeName,
java.lang.String key,
java.lang.Object value)
Tests whether a concept has a specified value for a named attribute based on the activity performer's belief state. |
protected boolean |
hasBeliefRelationAnyValue(IConcept lhsConcept,
java.lang.String relationName,
boolean includeUnknown)
Tests whether there are any true beliefs for a given concept and named relation in the current belief state. |
protected boolean |
hasBeliefRelationValue(IConcept lhsConcept,
java.lang.String relationName,
java.lang.Object value)
Tests whether a concept is related to a value by a named relation by inspecting the beliefs in the current belief state. |
protected boolean |
hasFactAttributeAnyValue(IConcept lhsConcept,
java.lang.String attributeName,
boolean includeUnknown)
Tests whether a concept has any value for a named attribute based on the facts in the world state. |
protected boolean |
hasFactAttributeAnyValue(IConcept lhsConcept,
java.lang.String attributeName,
int index,
boolean includeUnknown)
Tests whether a concept has any value for a named collection attribute at a given integer index based on the facts in the world state. |
protected boolean |
hasFactAttributeAnyValue(IConcept lhsConcept,
java.lang.String attributeName,
java.lang.String key,
boolean includeUnknown)
Tests whether a concept has any value for a named collection attribute at a given String key based on the facts in the world state. |
protected boolean |
hasFactAttributeValue(IConcept lhsConcept,
java.lang.String attributeName,
int index,
java.lang.Object value)
Tests whether a concept has a specified value for a named attribute based on the facts in the world state. |
protected boolean |
hasFactAttributeValue(IConcept lhsConcept,
java.lang.String attributeName,
java.lang.Object value)
Tests whether a concept has a specified value for a named attribute based on the facts in the world state. |
protected boolean |
hasFactAttributeValue(IConcept lhsConcept,
java.lang.String attributeName,
java.lang.String key,
java.lang.Object value)
Tests whether a concept has a specified value for a named attribute based on the facts in the world state. |
protected boolean |
hasFactRelationAnyValue(IConcept lhsConcept,
java.lang.String relationName,
boolean includeUnknown)
Tests whether there are any true facts for a given concept and named relation in the current world state. |
protected boolean |
hasFactRelationValue(IConcept lhsConcept,
java.lang.String relationName,
java.lang.Object value)
Tests whether a concept is related to a value by a named relation by inspecting the facts in the current world state. |
protected boolean |
hasMultipleParameterValues(java.lang.String name)
Returns true if the named parameter is bound to a variable with multiple values. |
protected boolean |
isParameterUnbound(java.lang.String name)
Tests whether the content of a parameter is an unbound variable. |
protected boolean |
isParameterUnknown(java.lang.String name)
Tests whether the content of a parameter is the 'unknown' value. |
boolean |
isValidTruthValue(int truth)
Checks whether the specified value is a valid truth value. |
protected java.util.List<IConcept> |
removeAllBeliefRelationValues(IConcept lhsConcept,
java.lang.String relationName)
Removes any existing concepts as values of a named relation for a concept by retracting beliefs from the activity performer's belief state. |
protected java.util.List<IConcept> |
removeAllFactRelationValues(IConcept lhsConcept,
java.lang.String relationName)
Removes any existing concepts as values of a named relation for a concept by retracting facts from the world state. |
protected void |
removeBeliefRelationConcept(IConcept lhsConcept,
java.lang.String relationName,
IConcept value)
Removes a concept as a value of a named relation for a concept by retracting the corresponding belief from the activity performer's belief state. |
protected void |
removeFactRelationConcept(IConcept lhsConcept,
java.lang.String relationName,
IConcept value)
Removes a concept as a value of a named relation for a concept by retracting the corresponding fact from the world state. |
protected void |
retractBelief(IBelief belief)
Schedules the retraction of the specified belief from the belief set of the active instance performing this activity. |
protected void |
retractFact(IFact fact)
Schedules the retraction of the specified fact from the world state including the notification of the retraction to all agents and objects. |
protected void |
send(IBelief[] beliefs,
IActiveInstance agent)
Sends the specified set of beliefs to the specified agent, causing the assertion of the beliefs in the specified agent's belief set. |
protected void |
send(IBelief[] beliefs,
IActiveInstance[] agents)
Sends the specified beliefs to the specified agents, causing the assertion of the beliefs in the belief set of every agent in the list of agents. |
protected void |
send(IBelief belief,
IActiveInstance agent)
Sends the specified belief to the specified agent, causing the assertion of the belief in the specified agent's belief set. |
protected void |
send(IBelief belief,
IActiveInstance[] agents)
Sends the specified belief to the specified agents, causing the assertion of the belief in the belief set of every agent in the list of agents. |
void |
setActivity(IJavaActivityCtx activity)
Sets the activity to be wrapped by this external activity. |
protected void |
setBeliefAttributeBoolean(IConcept lhsConcept,
java.lang.String attributeName,
boolean value)
Creates and asserts a new belief in the activity performer's belief state representing that an IConcept has a specified boolean value for a named attribute |
protected void |
setBeliefAttributeBoolean(IConcept lhsConcept,
java.lang.String attributeName,
int index,
boolean value)
Creates and asserts a new belief in the activity performer's belief state representing that an IConcept has a specified boolean value for a named collection attribute at an int index |
protected void |
setBeliefAttributeBoolean(IConcept lhsConcept,
java.lang.String attributeName,
java.lang.String key,
boolean value)
Creates and asserts a new belief in the activity performer's belief state representing that an IConcept has a specified boolean value for a named collection attribute at a String key |
protected void |
setBeliefAttributeByte(IConcept lhsConcept,
java.lang.String attributeName,
byte value)
Creates and asserts a new belief in the activity performer's belief state representing that an IConcept has a specified byte value for a named attribute. |
protected void |
setBeliefAttributeByte(IConcept lhsConcept,
java.lang.String attributeName,
int index,
byte value)
Creates and asserts a new belief in the activity performer's belief state representing that an IConcept has a specified byte value for a named collection attribute at an int index. |
protected void |
setBeliefAttributeByte(IConcept lhsConcept,
java.lang.String attributeName,
java.lang.String key,
byte value)
Creates and asserts a new belief in the activity performer's belief state representing that an IConcept has a specified byte value for a named collection attribute at a String key. |
protected void |
setBeliefAttributeChar(IConcept lhsConcept,
java.lang.String attributeName,
char value)
Creates and asserts a new belief in the activity performer's belief state representing that an IConcept has a specified char value for a named attribute. |
protected void |
setBeliefAttributeChar(IConcept lhsConcept,
java.lang.String attributeName,
int index,
char value)
Creates and asserts a new belief in the activity performer's belief state representing that an IConcept has a specified char value for a named collection attribute at an int index. |
protected void |
setBeliefAttributeChar(IConcept lhsConcept,
java.lang.String attributeName,
java.lang.String key,
char value)
Creates and asserts a new belief in the activity performer's belief state representing that an IConcept has a specified char value for a named collection attribute at a String key. |
protected void |
setBeliefAttributeConcept(IConcept lhsConcept,
java.lang.String attributeName,
IConcept value)
Creates and asserts a new belief in the activity performer's belief state representing that an IConcept has a specified IConcept value for a named attribute |
protected void |
setBeliefAttributeConcept(IConcept lhsConcept,
java.lang.String attributeName,
int index,
IConcept value)
Creates and asserts a new belief in the activity performer's belief state representing that an IConcept has a specified IConcept value for a named collection attribute at an int index |
protected void |
setBeliefAttributeConcept(IConcept lhsConcept,
java.lang.String attributeName,
java.lang.String key,
IConcept value)
Creates and asserts a new belief in the activity performer's belief state representing that an IConcept has a specified IConcept value for a named collection attribute at a String key |
protected void |
setBeliefAttributeDouble(IConcept lhsConcept,
java.lang.String attributeName,
double value)
Creates and asserts a new belief in the activity performer's belief state representing that an IConcept has a specified double value for a named attribute |
protected void |
setBeliefAttributeDouble(IConcept lhsConcept,
java.lang.String attributeName,
int index,
double value)
Creates and asserts a new belief in the activity performer's belief state representing that an IConcept has a specified double value for a named collection attribute at an int index |
protected void |
setBeliefAttributeDouble(IConcept lhsConcept,
java.lang.String attributeName,
java.lang.String key,
double value)
Creates and asserts a new belief in the activity performer's belief state representing that an IConcept has a specified double value for a named collection attribute at a String key |
protected void |
setBeliefAttributeFloat(IConcept lhsConcept,
java.lang.String attributeName,
float value)
Creates and asserts a new belief in the activity performer's belief state representing that an IConcept has a specified float value for a named attribute. |
protected void |
setBeliefAttributeFloat(IConcept lhsConcept,
java.lang.String attributeName,
int index,
float value)
Creates and asserts a new belief in the activity performer's belief state representing that an IConcept has a specified float value for a named collection attribute at an int index. |
protected void |
setBeliefAttributeFloat(IConcept lhsConcept,
java.lang.String attributeName,
java.lang.String key,
float value)
Creates and asserts a new belief in the activity performer's belief state representing that an IConcept has a specified float value for a named collection attribute at a String key. |
protected void |
setBeliefAttributeInt(IConcept lhsConcept,
java.lang.String attributeName,
int value)
Creates and asserts a new belief in the activity performer's belief state representing that an IConcept has a specified int value for a named attribute. |
protected void |
setBeliefAttributeInt(IConcept lhsConcept,
java.lang.String attributeName,
int index,
int value)
Creates and asserts a new belief in the activity performer's belief state representing that an IConcept has a specified int value for a named collection attribute at an int index. |
protected void |
setBeliefAttributeInt(IConcept lhsConcept,
java.lang.String attributeName,
java.lang.String key,
int value)
Creates and asserts a new belief in the activity performer's belief state representing that an IConcept has a specified int value for a named collection attribute at a String key. |
protected void |
setBeliefAttributeJava(IConcept lhsConcept,
java.lang.String attributeName,
int index,
java.lang.Object value)
Creates and asserts a new belief in the activity performer's belief state representing that an IConcept has a specified Java Object value for a named collection attribute at an int index |
protected void |
setBeliefAttributeJava(IConcept lhsConcept,
java.lang.String attributeName,
int index,
java.io.Serializable value)
Creates and asserts a new belief in the activity performer's belief state representing that an IConcept has a specified Java Serializable value for a named collection attribute at an int index |
protected void |
setBeliefAttributeJava(IConcept lhsConcept,
java.lang.String attributeName,
java.lang.Object value)
Creates and asserts a new belief in the activity performer's belief state representing that an IConcept has a specified Java Object value for a named attribute |
protected void |
setBeliefAttributeJava(IConcept lhsConcept,
java.lang.String attributeName,
java.io.Serializable value)
Creates and asserts a new belief in the activity performer's belief state representing that an IConcept has a specified Java Serializable value for a named attribute |
protected void |
setBeliefAttributeJava(IConcept lhsConcept,
java.lang.String attributeName,
java.lang.String key,
java.lang.Object value)
Creates and asserts a new belief in the activity performer's belief state representing that an IConcept has a specified Java Object value for a named collection attribute at a String key |
protected void |
setBeliefAttributeJava(IConcept lhsConcept,
java.lang.String attributeName,
java.lang.String key,
java.io.Serializable value)
Creates and asserts a new belief in the activity performer's belief state representing that an IConcept has a specified Java Serializable value for a named collection attribute at a String key |
protected void |
setBeliefAttributeLong(IConcept lhsConcept,
java.lang.String attributeName,
int index,
long value)
Creates and asserts a new belief in the activity performer's belief state representing that an IConcept has a specified long value for a named collection attribute at an int index |
protected void |
setBeliefAttributeLong(IConcept lhsConcept,
java.lang.String attributeName,
long value)
Creates and asserts a new belief in the activity performer's belief state representing that an IConcept has a specified long value for a named attribute |
protected void |
setBeliefAttributeLong(IConcept lhsConcept,
java.lang.String attributeName,
java.lang.String key,
long value)
Creates and asserts a new belief in the activity performer's belief state representing that an IConcept has a specified long value for a named collection attribute at a String key |
protected void |
setBeliefAttributeShort(IConcept lhsConcept,
java.lang.String attributeName,
int index,
short value)
Creates and asserts a new belief in the activity performer's belief state representing that an IConcept has a specified short value for a named collection attribute at an int index. |
protected void |
setBeliefAttributeShort(IConcept lhsConcept,
java.lang.String attributeName,
short value)
Creates and asserts a new belief in the activity performer's belief state representing that an IConcept has a specified short value for a named attribute. |
protected void |
setBeliefAttributeShort(IConcept lhsConcept,
java.lang.String attributeName,
java.lang.String key,
short value)
Creates and asserts a new belief in the activity performer's belief state representing that an IConcept has a specified short value for a named collection attribute at a String key. |
protected void |
setBeliefAttributeString(IConcept lhsConcept,
java.lang.String attributeName,
int index,
java.lang.String value)
Creates and asserts a new belief in the activity performer's belief state representing that an IConcept has a specified string value for a named collection attribute at an int index |
protected void |
setBeliefAttributeString(IConcept lhsConcept,
java.lang.String attributeName,
java.lang.String value)
Creates and asserts a new belief in the activity performer's belief state representing that an IConcept has a specified string value for a named attribute |
protected void |
setBeliefAttributeString(IConcept lhsConcept,
java.lang.String attributeName,
java.lang.String key,
java.lang.String value)
Creates and asserts a new belief in the activity performer's belief state representing that an IConcept has a specified string value for a named collection attribute at a String key |
protected void |
setBeliefAttributeSymbol(IConcept lhsConcept,
java.lang.String attributeName,
int index,
java.lang.String value)
Creates and asserts a new belief in the activity performer's belief state representing that an IConcept has a specified symbol value for a named collection attribute at an int index |
protected void |
setBeliefAttributeSymbol(IConcept lhsConcept,
java.lang.String attributeName,
java.lang.String value)
Creates and asserts a new belief in the activity performer's belief state representing that an IConcept has a specified symbol value for a named attribute |
protected void |
setBeliefAttributeSymbol(IConcept lhsConcept,
java.lang.String attributeName,
java.lang.String key,
java.lang.String value)
Creates and asserts a new belief in the activity performer's belief state representing that an IConcept has a specified symbol value for a named collection attribute at a String key |
protected void |
setBeliefAttributeUnknown(IConcept lhsConcept,
java.lang.String attributeName)
Creates and asserts a new belief in the activity performer's belief state representing that an IConcept has the unknown value for a named attribute |
protected void |
setBeliefAttributeUnknown(IConcept lhsConcept,
java.lang.String attributeName,
int index)
Creates and asserts a new belief in the activity performer's belief state representing that an IConcept has the unknown value for a named collection attribute at an int index |
protected void |
setBeliefAttributeUnknown(IConcept lhsConcept,
java.lang.String attributeName,
java.lang.String key)
Creates and asserts a new belief in the activity performer's belief state representing that an IConcept has the unknown value for a named collection attribute at a String key |
protected void |
setBeliefRelationUnknown(IConcept lhsConcept,
java.lang.String relationName)
Removes any existing concepts as values of a named relation for a concept by giving the relation a value of unknown. |
protected void |
setFactAttributeBoolean(IConcept lhsConcept,
java.lang.String attributeName,
boolean value)
Creates and asserts a new fact in the world state representing that an IConcept has a specified boolean value for a named attribute |
protected void |
setFactAttributeBoolean(IConcept lhsConcept,
java.lang.String attributeName,
int index,
boolean value)
Creates and asserts a new fact in the world state representing that an IConcept has a specified boolean value for a named collection attribute at an int index |
protected void |
setFactAttributeBoolean(IConcept lhsConcept,
java.lang.String attributeName,
java.lang.String key,
boolean value)
Creates and asserts a new fact in the world state representing that an IConcept has a specified boolean value for a named collection attribute at a String key |
protected void |
setFactAttributeByte(IConcept lhsConcept,
java.lang.String attributeName,
byte value)
Creates and asserts a new fact in the world state representing that an IConcept has a specified byte value for a named attribute |
protected void |
setFactAttributeByte(IConcept lhsConcept,
java.lang.String attributeName,
int index,
byte value)
Creates and asserts a new fact in the world state representing that an IConcept has a specified byte value for a named collection attribute at an int index |
protected void |
setFactAttributeByte(IConcept lhsConcept,
java.lang.String attributeName,
java.lang.String key,
byte value)
Creates and asserts a new fact in the world state representing that an IConcept has a specified byte value for a named collection attribute at a String key |
protected void |
setFactAttributeChar(IConcept lhsConcept,
java.lang.String attributeName,
char value)
Creates and asserts a new fact in the world state representing that an IConcept has a specified char value for a named attribute |
protected void |
setFactAttributeChar(IConcept lhsConcept,
java.lang.String attributeName,
int index,
char value)
Creates and asserts a new fact in the world state representing that an IConcept has a specified char value for a named collection attribute at an int index |
protected void |
setFactAttributeChar(IConcept lhsConcept,
java.lang.String attributeName,
java.lang.String key,
char value)
Creates and asserts a new fact in the world state representing that an IConcept has a specified char value for a named collection attribute at a String key |
protected void |
setFactAttributeConcept(IConcept lhsConcept,
java.lang.String attributeName,
IConcept value)
Creates and asserts a new fact in the world state representing that an IConcept has a specified IConcept value for a named attribute |
protected void |
setFactAttributeConcept(IConcept lhsConcept,
java.lang.String attributeName,
int index,
IConcept value)
Creates and asserts a new fact in the world state representing that an IConcept has a specified IConcept value for a named collection attribute at an int index |
protected void |
setFactAttributeConcept(IConcept lhsConcept,
java.lang.String attributeName,
java.lang.String key,
IConcept value)
Creates and asserts a new fact in the world state representing that an IConcept has a specified IConcept value for a named collection attribute at a String key |
protected void |
setFactAttributeDouble(IConcept lhsConcept,
java.lang.String attributeName,
double value)
Creates and asserts a new fact in the world state representing that an IConcept has a specified double value for a named attribute |
protected void |
setFactAttributeDouble(IConcept lhsConcept,
java.lang.String attributeName,
int index,
double value)
Creates and asserts a new fact in the world state representing that an IConcept has a specified double value for a named collection attribute at an int index |
protected void |
setFactAttributeDouble(IConcept lhsConcept,
java.lang.String attributeName,
java.lang.String key,
double value)
Creates and asserts a new fact in the world state representing that an IConcept has a specified double value for a named collection attribute at a String key |
protected void |
setFactAttributeFloat(IConcept lhsConcept,
java.lang.String attributeName,
float value)
Creates and asserts a new fact in the world state representing that an IConcept has a specified float value for a named attribute |
protected void |
setFactAttributeFloat(IConcept lhsConcept,
java.lang.String attributeName,
int index,
float value)
Creates and asserts a new fact in the world state representing that an IConcept has a specified float value for a named collection attribute at an int index |
protected void |
setFactAttributeFloat(IConcept lhsConcept,
java.lang.String attributeName,
java.lang.String key,
float value)
Creates and asserts a new fact in the world state representing that an IConcept has a specified float value for a named collection attribute at a String key |
protected void |
setFactAttributeInt(IConcept lhsConcept,
java.lang.String attributeName,
int value)
Creates and asserts a new fact in the world state representing that an IConcept has a specified int value for a named attribute |
protected void |
setFactAttributeInt(IConcept lhsConcept,
java.lang.String attributeName,
int index,
int value)
Creates and asserts a new fact in the world state representing that an IConcept has a specified int value for a named collection attribute at an int index |
protected void |
setFactAttributeInt(IConcept lhsConcept,
java.lang.String attributeName,
java.lang.String key,
int value)
Creates and asserts a new fact in the world state representing that an IConcept has a specified int value for a named collection attribute at a String key |
protected void |
setFactAttributeJava(IConcept lhsConcept,
java.lang.String attributeName,
int index,
java.lang.Object value)
Creates and asserts a new fact in the world state representing that an IConcept has a specified Java Object value for a named collection attribute at an int index |
protected void |
setFactAttributeJava(IConcept lhsConcept,
java.lang.String attributeName,
int index,
java.io.Serializable value)
Creates and asserts a new fact in the world state representing that an IConcept has a specified Java Object value for a named collection attribute at an int index |
protected void |
setFactAttributeJava(IConcept lhsConcept,
java.lang.String attributeName,
java.lang.Object value)
Creates and asserts a new fact in the world state representing that an IConcept has a specified Java Object value for a named attribute |
protected void |
setFactAttributeJava(IConcept lhsConcept,
java.lang.String attributeName,
java.io.Serializable value)
Creates and asserts a new fact in the world state representing that an IConcept has a specified Java Serializable value for a named attribute |
protected void |
setFactAttributeJava(IConcept lhsConcept,
java.lang.String attributeName,
java.lang.String key,
java.lang.Object value)
Creates and asserts a new fact in the world state representing that an IConcept has a specified Java Object value for a named collection attribute at a String key |
protected void |
setFactAttributeJava(IConcept lhsConcept,
java.lang.String attributeName,
java.lang.String key,
java.io.Serializable value)
Creates and asserts a new fact in the world state representing that an IConcept has a specified Java Serializable value for a named collection attribute at a String key |
protected void |
setFactAttributeLong(IConcept lhsConcept,
java.lang.String attributeName,
int index,
long value)
Creates and asserts a new fact in the world state representing that an IConcept has a specified long value for a named collection attribute at an int index |
protected void |
setFactAttributeLong(IConcept lhsConcept,
java.lang.String attributeName,
long value)
Creates and asserts a new fact in the world state representing that an IConcept has a specified long value for a named attribute |
protected void |
setFactAttributeLong(IConcept lhsConcept,
java.lang.String attributeName,
java.lang.String key,
long value)
Creates and asserts a new fact in the world state representing that an IConcept has a specified long value for a named collection attribute at a String key |
protected void |
setFactAttributeShort(IConcept lhsConcept,
java.lang.String attributeName,
int index,
short value)
Creates and asserts a new fact in the world state representing that an IConcept has a specified short value for a named collection attribute at an int index |
protected void |
setFactAttributeShort(IConcept lhsConcept,
java.lang.String attributeName,
short value)
Creates and asserts a new fact in the world state representing that an IConcept has a specified short value for a named attribute |
protected void |
setFactAttributeShort(IConcept lhsConcept,
java.lang.String attributeName,
java.lang.String key,
short value)
Creates and asserts a new fact in the world state representing that an IConcept has a specified short value for a named collection attribute at a String key |
protected void |
setFactAttributeString(IConcept lhsConcept,
java.lang.String attributeName,
int index,
java.lang.String value)
Creates and asserts a new fact in the world state representing that an IConcept has a specified string value for a named collection attribute at an int index |
protected void |
setFactAttributeString(IConcept lhsConcept,
java.lang.String attributeName,
java.lang.String value)
Creates and asserts a new fact in the world state representing that an IConcept has a specified string value for a named attribute |
protected void |
setFactAttributeString(IConcept lhsConcept,
java.lang.String attributeName,
java.lang.String key,
java.lang.String value)
Creates and asserts a new fact in the world state representing that an IConcept has a specified string value for a named collection attribute at a String key |
protected void |
setFactAttributeSymbol(IConcept lhsConcept,
java.lang.String attributeName,
int index,
java.lang.String value)
Creates and asserts a new fact in the world state representing that an IConcept has a specified symbol value for a named collection attribute at an int index |
protected void |
setFactAttributeSymbol(IConcept lhsConcept,
java.lang.String attributeName,
java.lang.String value)
Creates and asserts a new fact in the world state representing that an IConcept has a specified symbol value for a named attribute |
protected void |
setFactAttributeSymbol(IConcept lhsConcept,
java.lang.String attributeName,
java.lang.String key,
java.lang.String value)
Creates and asserts a new fact in the world state representing that an IConcept has a specified symbol value for a named collection attribute at a String key |
protected void |
setFactAttributeUnknown(IConcept lhsConcept,
java.lang.String attributeName)
Creates and asserts a new fact in the world state representing that an IConcept has the unknown value for a named attribute |
protected void |
setFactAttributeUnknown(IConcept lhsConcept,
java.lang.String attributeName,
int index)
Creates and asserts a new fact in the world state representing that an IConcept has the unknown value for a named collection attribute at an int index |
protected void |
setFactAttributeUnknown(IConcept lhsConcept,
java.lang.String attributeName,
java.lang.String key)
Creates and asserts a new fact in the world state representing that an IConcept has the unknown value for a named collection attribute at a String key |
protected void |
setFactRelationUnknown(IConcept lhsConcept,
java.lang.String relationName)
Removes any existing concepts as values of a named relation for a concept by giving the relation a value of unknown. |
protected void |
setParameterBoolean(java.lang.String name,
boolean value)
Sets an output parameter of the activity to a boolean value |
protected void |
setParameterByte(java.lang.String name,
byte value)
Sets an output parameter of the activity to a byte value |
protected void |
setParameterChar(java.lang.String name,
char value)
Sets an output parameter of the activity to a char value |
protected void |
setParameterConcept(java.lang.String name,
IConcept value)
Sets an output parameter of the activity to an IConcept value |
protected void |
setParameterDouble(java.lang.String name,
double value)
Sets an output parameter of the activity to a double value |
protected void |
setParameterFloat(java.lang.String name,
float value)
Sets an output parameter of the activity to a float value |
protected void |
setParameterInt(java.lang.String name,
int value)
Sets an output parameter of the activity to an int value |
protected void |
setParameterJava(java.lang.String name,
java.lang.Object value)
Sets an output parameter of the activity to a Java Object value |
protected void |
setParameterJava(java.lang.String name,
java.io.Serializable value)
Sets an output parameter of the activity to a Java java.io.Serializable value |
protected void |
setParameterLong(java.lang.String name,
long value)
Sets an output parameter of the activity to a long value |
protected void |
setParameterShort(java.lang.String name,
short value)
Sets an output parameter of the activity to a short value |
protected void |
setParameterString(java.lang.String name,
java.lang.String value)
Sets an output parameter of the activity to a String value |
protected void |
setParameterUnknown(java.lang.String name)
Sets an output parameter of the activity to the unknown value |
void |
setProperties(java.util.Properties p)
Sets the properties for the activity. |
java.lang.String |
toString()
Returns a string representation of this object |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AbstractExternalActivity()
Method Detail |
---|
public final void setActivity(IJavaActivityCtx activity) throws ExternalException
activity
- the IJavaActivityCtx for the Java activity
ExternalException
- if a null activity is specified or if the external activity
already wraps another activitypublic final void setProperties(java.util.Properties p) throws ExternalException
p
- the Properties set by the virtual machine.
ExternalException
- if the properties were already set.public final java.lang.String getName() throws ExternalException
ExternalException
- if no Brahms activity is associated with this external activityprotected final IContext getContext()
public abstract void doActivity() throws ExternalException
doActivity
in interface IExternalActivity
ExternalException
- if an internal error occursprotected final IVMController getVMController() throws ExternalException
ExternalException
- if there is an internal error retrieving the virtual machine's controllerprotected final int getParameterCount() throws ExternalException
ExternalException
- if an internal error occursprotected final IParameter getParameter(java.lang.String name) throws ExternalException
name
- the name of the requested parameter
ExternalException
- if the parameter could not be found.protected final java.lang.Object getParameterValue(java.lang.String name) throws VariableNotBoundException, ExternalException
Note that the use of a getParameterXXX is more efficient if the type of the parameter is known
name
- the name of the requested parameter
VariableNotBoundException
- if the parameter is bound to an unbound variable
ExternalException
- if there is no parameter with the given name or an internal error occursprotected final java.util.List<java.lang.Object> getParameterValues(java.lang.String name) throws VariableNotBoundException, ExternalException
name
- the name of the requested parameter
VariableNotBoundException
- if the parameter is bound to an unbound variable
ExternalException
- if there is no parameter with the given name or an internal error occursprotected final boolean hasMultipleParameterValues(java.lang.String name) throws ExternalException
name
- the name of the requested parameter
ExternalException
- if there is no parameter with the given name or an internal error occursprotected final int getParameterInt(java.lang.String name) throws InvalidContentTypeException, VariableNotBoundException, InvalidTypeException, ExternalException
name
- the name of the requested parameter
InvalidContentTypeException
- if the value of the parameter does not have the required type
VariableNotBoundException
- if the parameter is bound to an unbound variable
InvalidTypeException
- if the parameter is bound to a variable with the wrong type
ExternalException
- if there is no parameter with the given name or an internal error occursprotected final char getParameterChar(java.lang.String name) throws InvalidContentTypeException, VariableNotBoundException, InvalidTypeException, ExternalException
name
- the name of the requested parameter
InvalidContentTypeException
- if the value of the parameter does not have the required type
VariableNotBoundException
- if the parameter is bound to an unbound variable
InvalidTypeException
- if the parameter is bound to a variable with the wrong type
ExternalException
- if there is no parameter with the given name or an internal error occursprotected final byte getParameterByte(java.lang.String name) throws InvalidContentTypeException, VariableNotBoundException, InvalidTypeException, ExternalException
name
- the name of the requested parameter
InvalidContentTypeException
- if the value of the parameter does not have the required type
VariableNotBoundException
- if the parameter is bound to an unbound variable
InvalidTypeException
- if the parameter is bound to a variable with the wrong type
ExternalException
- if there is no parameter with the given name or an internal error occursprotected final short getParameterShort(java.lang.String name) throws InvalidContentTypeException, VariableNotBoundException, InvalidTypeException, ExternalException
name
- the name of the requested parameter
InvalidContentTypeException
- if the value of the parameter does not have the required type
VariableNotBoundException
- if the parameter is bound to an unbound variable
InvalidTypeException
- if the parameter is bound to a variable with the wrong type
ExternalException
- if there is no parameter with the given name or an internal error occursprotected final long getParameterLong(java.lang.String name) throws InvalidContentTypeException, VariableNotBoundException, InvalidTypeException, ExternalException
name
- the name of the requested parameter
InvalidContentTypeException
- if the value of the parameter does not have the required type
VariableNotBoundException
- if the parameter is bound to an unbound variable
InvalidTypeException
- if the parameter is bound to a variable with the wrong type
ExternalException
- if there is no parameter with the given name or an internal error occursprotected final float getParameterFloat(java.lang.String name) throws InvalidContentTypeException, VariableNotBoundException, InvalidTypeException, ExternalException
name
- the name of the requested parameter
InvalidContentTypeException
- if the value of the parameter does not have the required type
VariableNotBoundException
- if the parameter is bound to an unbound variable
InvalidTypeException
- if the parameter is bound to a variable with the wrong type
ExternalException
- if there is no parameter with the given name or an internal error occursprotected final double getParameterDouble(java.lang.String name) throws InvalidContentTypeException, VariableNotBoundException, InvalidTypeException, ExternalException
name
- the name of the requested parameter
InvalidContentTypeException
- if the value of the parameter does not have the required type
VariableNotBoundException
- if the parameter is bound to an unbound variable
InvalidTypeException
- if the parameter is bound to a variable with the wrong type
ExternalException
- if there is no parameter with the given name or an internal error occursprotected final boolean getParameterBoolean(java.lang.String name) throws InvalidContentTypeException, VariableNotBoundException, InvalidTypeException, ExternalException
name
- the name of the requested parameter
InvalidContentTypeException
- if the value of the parameter does not have the required type
VariableNotBoundException
- if the parameter is bound to an unbound variable
InvalidTypeException
- if the parameter is bound to a variable with the wrong type
ExternalException
- if there is no parameter with the given name or an internal error occursprotected final java.lang.String getParameterString(java.lang.String name) throws InvalidContentTypeException, VariableNotBoundException, InvalidTypeException, ExternalException
name
- the name of the requested parameter
InvalidContentTypeException
- if the value of the parameter does not have the required type
VariableNotBoundException
- if the parameter is bound to an unbound variable
InvalidTypeException
- if the parameter is bound to a variable with the wrong type
ExternalException
- if there is no parameter with the given name or an internal error occursprotected final java.lang.String getParameterSymbol(java.lang.String name) throws InvalidContentTypeException, VariableNotBoundException, InvalidTypeException, ExternalException
name
- the name of the requested parameter
InvalidContentTypeException
- if the value of the parameter does not have the required type
VariableNotBoundException
- if the parameter is bound to an unbound variable
InvalidTypeException
- if the parameter is bound to a variable with the wrong type
ExternalException
- if there is no parameter with the given name or an internal error occursprotected final java.lang.String getParameterStringOrSymbol(java.lang.String name) throws InvalidContentTypeException, VariableNotBoundException, InvalidTypeException, ExternalException
name
- the name of the requested parameter
InvalidContentTypeException
- if the value of the parameter does not have the required type
VariableNotBoundException
- if the parameter is bound to an unbound variable
InvalidTypeException
- if the parameter is bound to a variable with the wrong type
ExternalException
- if there is no parameter with the given name or an internal error occursprotected final java.io.Serializable getParameterJava(java.lang.String name) throws InvalidContentTypeException, VariableNotBoundException, InvalidTypeException, ExternalException
name
- the name of the requested parameter
InvalidContentTypeException
- if the value of the parameter does not have the required type
VariableNotBoundException
- if the parameter is bound to an unbound variable
InvalidTypeException
- if the parameter is bound to a variable with the wrong type
ExternalException
- if there is no parameter with the given name or an internal error occursprotected final IConcept getParameterConcept(java.lang.String name) throws InvalidContentTypeException, VariableNotBoundException, InvalidTypeException, ExternalException
name
- the name of the requested parameter
InvalidContentTypeException
- if the value of the parameter does not have the required type
VariableNotBoundException
- if the parameter is bound to an unbound variable
InvalidTypeException
- if the parameter is bound to a variable with the wrong type
ExternalException
- if there is no parameter with the given name or an internal error occurspublic java.lang.Object convertCurrent(java.lang.Object value) throws ExternalException
value
- the Object to be tested and converted
ExternalException
- if an internal error occursprotected final boolean isParameterUnbound(java.lang.String name) throws ExternalException
name
- the String name of the parameter
ExternalException
- if there is no parameter with the given name or an internal error occursprotected final boolean isParameterUnknown(java.lang.String name) throws ExternalException
name
- the String name of the parameter
ExternalException
- if there is no parameter with the given name or an internal error occursprotected final void setParameterInt(java.lang.String name, int value) throws InvalidContentTypeException, VariableBoundException, InvalidTypeException, ExternalException
name
- the String name of the output parameter to be setvalue
- the int value to be given to the parameter
InvalidContentTypeException
- if the parameter is not bound to a variable
VariableBoundException
- if the parameter's variable is already bound to a value
InvalidTypeException
- the parameter's variable is of an incompatible type
ExternalException
- if there is no parameter with the given name or an internal error occursprotected final void setParameterChar(java.lang.String name, char value) throws InvalidContentTypeException, VariableBoundException, InvalidTypeException, ExternalException
name
- the String name of the output parameter to be setvalue
- the char value to be given to the parameter
InvalidContentTypeException
- if the parameter is not bound to a variable
VariableBoundException
- if the parameter's variable is already bound to a value
InvalidTypeException
- the parameter's variable is of an incompatible type
ExternalException
- if there is no parameter with the given name or an internal error occursprotected final void setParameterByte(java.lang.String name, byte value) throws InvalidContentTypeException, VariableBoundException, InvalidTypeException, ExternalException
name
- the String name of the output parameter to be setvalue
- the byte value to be given to the parameter
InvalidContentTypeException
- if the parameter is not bound to a variable
VariableBoundException
- if the parameter's variable is already bound to a value
InvalidTypeException
- the parameter's variable is of an incompatible type
ExternalException
- if there is no parameter with the given name or an internal error occursprotected final void setParameterShort(java.lang.String name, short value) throws InvalidContentTypeException, VariableBoundException, InvalidTypeException, ExternalException
name
- the String name of the output parameter to be setvalue
- the short value to be given to the parameter
InvalidContentTypeException
- if the parameter is not bound to a variable
VariableBoundException
- if the parameter's variable is already bound to a value
InvalidTypeException
- the parameter's variable is of an incompatible type
ExternalException
- if there is no parameter with the given name or an internal error occursprotected final void setParameterLong(java.lang.String name, long value) throws InvalidContentTypeException, VariableBoundException, InvalidTypeException, ExternalException
name
- the String name of the output parameter to be setvalue
- the long value to be given to the parameter
InvalidContentTypeException
- if the parameter is not bound to a variable
VariableBoundException
- if the parameter's variable is already bound to a value
InvalidTypeException
- the parameter's variable is of an incompatible type
ExternalException
- if there is no parameter with the given name or an internal error occursprotected final void setParameterFloat(java.lang.String name, float value) throws InvalidContentTypeException, VariableBoundException, InvalidTypeException, ExternalException
name
- the String name of the output parameter to be setvalue
- the float value to be given to the parameter
InvalidContentTypeException
- if the parameter is not bound to a variable
VariableBoundException
- if the parameter's variable is already bound to a value
InvalidTypeException
- the parameter's variable is of an incompatible type
ExternalException
- if there is no parameter with the given name or an internal error occursprotected final void setParameterDouble(java.lang.String name, double value) throws InvalidContentTypeException, VariableBoundException, InvalidTypeException, ExternalException
name
- the String name of the output parameter to be setvalue
- the double value to be given to the parameter
InvalidContentTypeException
- if the parameter is not bound to a variable
VariableBoundException
- if the parameter's variable is already bound to a value
InvalidTypeException
- the parameter's variable is of an incompatible type
ExternalException
- if there is no parameter with the given name or an internal error occursprotected final void setParameterBoolean(java.lang.String name, boolean value) throws InvalidContentTypeException, VariableBoundException, InvalidTypeException, ExternalException
name
- the String name of the output parameter to be setvalue
- the boolean value to be given to the parameter
InvalidContentTypeException
- if the parameter is not bound to a variable
VariableBoundException
- if the parameter's variable is already bound to a value
InvalidTypeException
- the parameter's variable is of an incompatible type
ExternalException
- if there is no parameter with the given name or an internal error occursprotected final void setParameterString(java.lang.String name, java.lang.String value) throws InvalidContentTypeException, VariableBoundException, InvalidTypeException, ExternalException
name
- the String name of the output parameter to be setvalue
- the String value to be given to the parameter
InvalidContentTypeException
- if the parameter is not bound to a variable
VariableBoundException
- if the parameter's variable is already bound to a value
InvalidTypeException
- the parameter's variable is of an incompatible type
ExternalException
- if there is no parameter with the given name or an internal error occursprotected final void setParameterJava(java.lang.String name, java.io.Serializable value) throws InvalidContentTypeException, VariableBoundException, InvalidTypeException, ExternalException
name
- the String name of the output parameter to be setvalue
- the Serializable value to be given to the parameter
InvalidContentTypeException
- if the parameter is not bound to a variable
VariableBoundException
- if the parameter's variable is already bound to a value
InvalidTypeException
- the parameter's variable is of an incompatible type
ExternalException
- if there is no parameter with the given name or an internal error occursprotected final void setParameterJava(java.lang.String name, java.lang.Object value) throws InvalidContentTypeException, VariableBoundException, InvalidTypeException, ExternalException
name
- the String name of the output parameter to be setvalue
- the Object value to be given to the parameter
InvalidContentTypeException
- if the parameter is not bound to a variable
VariableBoundException
- if the parameter's variable is already bound to a value
InvalidTypeException
- the parameter's variable is of an incompatible type
ExternalException
- if there is no parameter with the given name or an internal error occursprotected final void setParameterConcept(java.lang.String name, IConcept value) throws InvalidContentTypeException, VariableBoundException, InvalidTypeException, ExternalException
name
- the String name of the output parameter to be setvalue
- the ICOncept value to be given to the parameter
InvalidContentTypeException
- if the parameter is not bound to a variable
VariableBoundException
- if the parameter's variable is already bound to a value
InvalidTypeException
- the parameter's variable is of an incompatible type
ExternalException
- if there is no parameter with the given name or an internal error occursprotected final void setParameterUnknown(java.lang.String name) throws InvalidContentTypeException, VariableBoundException, InvalidTypeException, ExternalException
name
- the String name of the output parameter to be set
InvalidContentTypeException
- if the parameter is not bound to a variable
VariableBoundException
- if the parameter's variable is already bound to a value
InvalidTypeException
- the parameter's variable is of an incompatible type
ExternalException
- if there is no parameter with the given name or an internal error occursprotected final IActiveInstance getPerformedBy() throws ExternalException
ExternalException
- if an internal error occursprotected final IModel getModel() throws ExternalException
ExternalException
- is an internal error occurs.protected final IWorldState getWorldState() throws ExternalException
ExternalException
- if an internal error occurs.public final boolean isValidTruthValue(int truth)
truth
- the truth value to be tested
public final IStatement[] conclude(IConcept concept, IAttribute attribute, int relop, IUnknown value, int beliefcertainty, int factcertainty) throws ExternalException
concept
- the IConcept for which an attribute value is specifiedattribute
- the IAttribute defined for the concept to which to assign a valuerelop
- the relational operator, one of IRelationalOperator.EQUALS or
IRelationalOperator.NOT_EQUALS.value
- the 'unknown' value to be assigned to the attributebeliefcertainty
- the percentage certainty that the belief indeed is createdfactcertainty
- the percentage certainty that the fact indeed is created
ExternalException
- if the value does not match with the attribute's
type, the attribute is not specified for the given concept. if an
invalid relational operator is specified or if the fact/belief certainty
is less than 0 or more than 100.IUnknown.UNKNOWN
public final IStatement[] conclude(IConcept concept, IAttribute attribute, int relop, int value, int beliefcertainty, int factcertainty) throws ExternalException
concept
- the IConcept for which an attribute value is specifiedattribute
- the IAttribute defined for the concept to which to assign a valuerelop
- the relational operator, one of IRelationalOperator.EQUALS or
IRelationalOperator.NOT_EQUALS.value
- the integer value to be assigned to the attributebeliefcertainty
- the percentage certainty that the belief indeed is createdfactcertainty
- the percentage certainty that the fact indeed is created
ExternalException
- if the value does not match with the attribute's
type, the attribute is not specified for the given concept. if an
invalid relational operator is specified or if the fact/belief certainty
is less than 0 or more than 100.public final IStatement[] conclude(IConcept concept, IAttribute attribute, int relop, char value, int beliefcertainty, int factcertainty) throws ExternalException
concept
- the IConcept for which an attribute value is specifiedattribute
- the IAttribute defined for the concept to which to assign a valuerelop
- the relational operator, one of IRelationalOperator.EQUALS or
IRelationalOperator.NOT_EQUALS.value
- the character value to be assigned to the attributebeliefcertainty
- the percentage certainty that the belief indeed is createdfactcertainty
- the percentage certainty that the fact indeed is created
ExternalException
- if the value does not match with the attribute's
type, the attribute is not specified for the given concept. if an
invalid relational operator is specified or if the fact/belief certainty
is less than 0 or more than 100.public final IStatement[] conclude(IConcept concept, IAttribute attribute, int relop, byte value, int beliefcertainty, int factcertainty) throws ExternalException
concept
- the IConcept for which an attribute value is specifiedattribute
- the IAttribute defined for the concept to which to assign a valuerelop
- the relational operator, one of IRelationalOperator.EQUALS or
IRelationalOperator.NOT_EQUALS.value
- the byte value to be assigned to the attributebeliefcertainty
- the percentage certainty that the belief indeed is createdfactcertainty
- the percentage certainty that the fact indeed is created
ExternalException
- if the value does not match with the attribute's
type, the attribute is not specified for the given concept. if an
invalid relational operator is specified or if the fact/belief certainty
is less than 0 or more than 100.public final IStatement[] conclude(IConcept concept, IAttribute attribute, int relop, short value, int beliefcertainty, int factcertainty) throws ExternalException
concept
- the IConcept for which an attribute value is specifiedattribute
- the IAttribute defined for the concept to which to assign a valuerelop
- the relational operator, one of IRelationalOperator.EQUALS or
IRelationalOperator.NOT_EQUALS.value
- the short value to be assigned to the attributebeliefcertainty
- the percentage certainty that the belief indeed is createdfactcertainty
- the percentage certainty that the fact indeed is created
ExternalException
- if the value does not match with the attribute's
type, the attribute is not specified for the given concept. if an
invalid relational operator is specified or if the fact/belief certainty
is less than 0 or more than 100.public final IStatement[] conclude(IConcept concept, IAttribute attribute, int relop, long value, int beliefcertainty, int factcertainty) throws ExternalException
concept
- the IConcept for which an attribute value is specifiedattribute
- the IAttribute defined for the concept to which to assign a valuerelop
- the relational operator, one of IRelationalOperator.EQUALS or
IRelationalOperator.NOT_EQUALS.value
- the long value to be assigned to the attributebeliefcertainty
- the percentage certainty that the belief indeed is createdfactcertainty
- the percentage certainty that the fact indeed is created
ExternalException
- if the value does not match with the attribute's
type, the attribute is not specified for the given concept. if an
invalid relational operator is specified or if the fact/belief certainty
is less than 0 or more than 100.public final IStatement[] conclude(IConcept concept, IAttribute attribute, int relop, float value, int beliefcertainty, int factcertainty) throws ExternalException
concept
- the IConcept for which an attribute value is specifiedattribute
- the IAttribute defined for the concept to which to assign a valuerelop
- the relational operator, one of IRelationalOperator.EQUALS or
IRelationalOperator.NOT_EQUALS.value
- the float value to be assigned to the attributebeliefcertainty
- the percentage certainty that the belief indeed is createdfactcertainty
- the percentage certainty that the fact indeed is created
ExternalException
- if the value does not match with the attribute's
type, the attribute is not specified for the given concept. if an
invalid relational operator is specified or if the fact/belief certainty
is less than 0 or more than 100.public final IStatement[] conclude(IConcept concept, IAttribute attribute, int relop, double value, int beliefcertainty, int factcertainty) throws ExternalException
concept
- the IConcept for which an attribute value is specifiedattribute
- the IAttribute defined for the concept to which to assign a valuerelop
- the relational operator, one of IRelationalOperator.EQUALS or
IRelationalOperator.NOT_EQUALS.value
- the double value to be assigned to the attributebeliefcertainty
- the percentage certainty that the belief indeed is createdfactcertainty
- the percentage certainty that the fact indeed is created
ExternalException
- if the value does not match with the attribute's
type, the attribute is not specified for the given concept. if an
invalid relational operator is specified or if the fact/belief certainty
is less than 0 or more than 100.public final IStatement[] conclude(IConcept concept, IAttribute attribute, int relop, boolean value, int beliefcertainty, int factcertainty) throws ExternalException
concept
- the IConcept for which an attribute value is specifiedattribute
- the IAttribute defined for the concept to which to assign a valuerelop
- the relational operator, one of IRelationalOperator.EQUALS or
IRelationalOperator.NOT_EQUALS.value
- the boolean value to be assigned to the attributebeliefcertainty
- the percentage certainty that the belief indeed is createdfactcertainty
- the percentage certainty that the fact indeed is created
ExternalException
- if the value does not match with the attribute's
type, the attribute is not specified for the given concept. if an
invalid relational operator is specified or if the fact/belief certainty
is less than 0 or more than 100.public final IStatement[] conclude(IConcept concept, IAttribute attribute, int relop, java.lang.String value, boolean symbol, int beliefcertainty, int factcertainty) throws ExternalException
concept
- the IConcept for which an attribute value is specifiedattribute
- the IAttribute defined for the concept to which to assign a valuerelop
- the relational operator, one of IRelationalOperator.EQUALS or
IRelationalOperator.NOT_EQUALS.value
- the String value to be assigned to the attributesymbol
- indicates if the value is a symbol or stringbeliefcertainty
- the percentage certainty that the belief indeed is createdfactcertainty
- the percentage certainty that the fact indeed is created
ExternalException
- if the value does not match with the attribute's
type, the attribute is not specified for the given concept. if an
invalid relational operator is specified or if the fact/belief certainty
is less than 0 or more than 100.public final IStatement[] conclude(IConcept concept, IAttribute attribute, int relop, IConcept value, int beliefcertainty, int factcertainty) throws ExternalException
concept
- the IConcept for which an attribute value is specifiedattribute
- the IAttribute defined for the concept to which to assign a valuerelop
- the relational operator, one of IRelationalOperator.EQUALS or
IRelationalOperator.NOT_EQUALS.value
- the IConcept value to be assigned to the attributebeliefcertainty
- the percentage certainty that the belief indeed is createdfactcertainty
- the percentage certainty that the fact indeed is created
ExternalException
- if the value does not match with the attribute's
type, the attribute is not specified for the given concept. if an
invalid relational operator is specified or if the fact/belief certainty
is less than 0 or more than 100.public final IStatement[] conclude(IConcept concept, IAttribute attribute, int relop, java.io.Serializable value, int beliefcertainty, int factcertainty) throws ExternalException
concept
- the IConcept for which an attribute value is specifiedattribute
- the IAttribute defined for the concept to which to assign a valuerelop
- the relational operator, one of IRelationalOperator.EQUALS or
IRelationalOperator.NOT_EQUALS.value
- the Java Serializable to be assigned to the attributebeliefcertainty
- the percentage certainty that the belief indeed is createdfactcertainty
- the percentage certainty that the fact indeed is created
ExternalException
- if the value does not match with the attribute's
type, the attribute is not specified for the given concept. if an
invalid relational operator is specified or if the fact/belief certainty
is less than 0 or more than 100.public final IStatement[] conclude(IConcept concept, IAttribute attribute, int relop, java.lang.Object value, int beliefcertainty, int factcertainty) throws ExternalException
concept
- the IConcept for which an attribute value is specifiedattribute
- the IAttribute defined for the concept to which to assign a valuerelop
- the relational operator, one of IRelationalOperator.EQUALS or
IRelationalOperator.NOT_EQUALS.value
- the Java Object to be assigned to the attributebeliefcertainty
- the percentage certainty that the belief indeed is createdfactcertainty
- the percentage certainty that the fact indeed is created
ExternalException
- if the value does not match with the attribute's
type, the attribute is not specified for the given concept. if an
invalid relational operator is specified or if the fact/belief certainty
is less than 0 or more than 100.public final IStatement[] conclude(IConcept concept, IAttribute attribute, int collectionIndex, int relop, IUnknown value, int beliefcertainty, int factcertainty) throws ExternalException
concept
- the IConcept for which an attribute value is specifiedattribute
- the IAttribute defined for the concept to which to assign a valuecollectionIndex
- the index/key in the collection for the specified valuerelop
- the relational operator, one of IRelationalOperator.EQUALS or
IRelationalOperator.NOT_EQUALS.value
- the 'unknown' value to be assigned to the attributebeliefcertainty
- the percentage certainty that the belief indeed is createdfactcertainty
- the percentage certainty that the fact indeed is created
ExternalException
- if the attribute is not specified for the given concept,
if the attribute is not of a collection type, if the collection index is
invalid, if the attribute is the location attribute, if an invalid relational operator
is specified or if the fact/belief certainty is less than 0 or more than 100.IUnknown.UNKNOWN
public final IStatement[] conclude(IConcept concept, IAttribute attribute, java.lang.String collectionIndex, int relop, IUnknown value, int beliefcertainty, int factcertainty) throws ExternalException
concept
- the IConcept for which an attribute value is specifiedattribute
- the IAttribute defined for the concept to which to assign a valuecollectionIndex
- the index/key in the collection for the specified valuerelop
- the relational operator, one of IRelationalOperator.EQUALS or
IRelationalOperator.NOT_EQUALS.value
- the 'unknown' value to be assigned to the attributebeliefcertainty
- the percentage certainty that the belief indeed is createdfactcertainty
- the percentage certainty that the fact indeed is created
ExternalException
- if the attribute is not specified for the given concept,
if the attribute is not of a collection type, if the collection index is
invalid, if the attribute is the location attribute, if an invalid relational operator
is specified or if the fact/belief certainty is less than 0 or more than 100.IUnknown.UNKNOWN
public final IStatement[] conclude(IConcept concept, IAttribute attribute, int collectionIndex, int relop, int value, int beliefcertainty, int factcertainty) throws ExternalException
concept
- the IConcept for which an attribute value is specifiedattribute
- the IAttribute defined for the concept to which to assign a valuecollectionIndex
- the index/key in the collection for the specified valuerelop
- the relational operator, one of IRelationalOperator.EQUALS or
IRelationalOperator.NOT_EQUALS.value
- the integer value to be assigned to the attributebeliefcertainty
- the percentage certainty that the belief indeed is createdfactcertainty
- the percentage certainty that the fact indeed is created
ExternalException
- if the attribute is not specified for the given concept,
if the attribute is not of a collection type, if the collection index is
invalid, if the attribute is the location attribute, if an invalid relational operator
is specified or if the fact/belief certainty is less than 0 or more than 100.public final IStatement[] conclude(IConcept concept, IAttribute attribute, java.lang.String collectionIndex, int relop, int value, int beliefcertainty, int factcertainty) throws ExternalException
concept
- the IConcept for which an attribute value is specifiedattribute
- the IAttribute defined for the concept to which to assign a valuecollectionIndex
- the index/key in the collection for the specified valuerelop
- the relational operator, one of IRelationalOperator.EQUALS or
IRelationalOperator.NOT_EQUALS.value
- the integer value to be assigned to the attributebeliefcertainty
- the percentage certainty that the belief indeed is createdfactcertainty
- the percentage certainty that the fact indeed is created
ExternalException
- if the attribute is not specified for the given concept,
if the attribute is not of a collection type, if the collection index is
invalid, if the attribute is the location attribute, if an invalid relational operator
is specified or if the fact/belief certainty is less than 0 or more than 100.public final IStatement[] conclude(IConcept concept, IAttribute attribute, int collectionIndex, int relop, char value, int beliefcertainty, int factcertainty) throws ExternalException
concept
- the IConcept for which an attribute value is specifiedattribute
- the IAttribute defined for the concept to which to assign a valuecollectionIndex
- the index/key in the collection for the specified valuerelop
- the relational operator, one of IRelationalOperator.EQUALS or
IRelationalOperator.NOT_EQUALS.value
- the character value to be assigned to the attributebeliefcertainty
- the percentage certainty that the belief indeed is createdfactcertainty
- the percentage certainty that the fact indeed is created
ExternalException
- if the attribute is not specified for the given concept,
if the attribute is not of a collection type, if the collection index is
invalid, if the attribute is the location attribute, if an invalid relational operator
is specified or if the fact/belief certainty is less than 0 or more than 100.public final IStatement[] conclude(IConcept concept, IAttribute attribute, java.lang.String collectionIndex, int relop, char value, int beliefcertainty, int factcertainty) throws ExternalException
concept
- the IConcept for which an attribute value is specifiedattribute
- the IAttribute defined for the concept to which to assign a valuecollectionIndex
- the index/key in the collection for the specified valuerelop
- the relational operator, one of IRelationalOperator.EQUALS or
IRelationalOperator.NOT_EQUALS.value
- the character value to be assigned to the attributebeliefcertainty
- the percentage certainty that the belief indeed is createdfactcertainty
- the percentage certainty that the fact indeed is created
ExternalException
- if the attribute is not specified for the given concept,
if the attribute is not of a collection type, if the collection index is
invalid, if the attribute is the location attribute, if an invalid relational operator
is specified or if the fact/belief certainty is less than 0 or more than 100.public final IStatement[] conclude(IConcept concept, IAttribute attribute, int collectionIndex, int relop, byte value, int beliefcertainty, int factcertainty) throws ExternalException
concept
- the IConcept for which an attribute value is specifiedattribute
- the IAttribute defined for the concept to which to assign a valuecollectionIndex
- the index/key in the collection for the specified valuerelop
- the relational operator, one of IRelationalOperator.EQUALS or
IRelationalOperator.NOT_EQUALS.value
- the byte value to be assigned to the attributebeliefcertainty
- the percentage certainty that the belief indeed is createdfactcertainty
- the percentage certainty that the fact indeed is created
ExternalException
- if the attribute is not specified for the given concept,
if the attribute is not of a collection type, if the collection index is
invalid, if the attribute is the location attribute, if an invalid relational operator
is specified or if the fact/belief certainty is less than 0 or more than 100.public final IStatement[] conclude(IConcept concept, IAttribute attribute, java.lang.String collectionIndex, int relop, byte value, int beliefcertainty, int factcertainty) throws ExternalException
concept
- the IConcept for which an attribute value is specifiedattribute
- the IAttribute defined for the concept to which to assign a valuecollectionIndex
- the index/key in the collection for the specified valuerelop
- the relational operator, one of IRelationalOperator.EQUALS or
IRelationalOperator.NOT_EQUALS.value
- the byte value to be assigned to the attributebeliefcertainty
- the percentage certainty that the belief indeed is createdfactcertainty
- the percentage certainty that the fact indeed is created
ExternalException
- if the attribute is not specified for the given concept,
if the attribute is not of a collection type, if the collection index is
invalid, if the attribute is the location attribute, if an invalid relational operator
is specified or if the fact/belief certainty is less than 0 or more than 100.public final IStatement[] conclude(IConcept concept, IAttribute attribute, int collectionIndex, int relop, short value, int beliefcertainty, int factcertainty) throws ExternalException
concept
- the IConcept for which an attribute value is specifiedattribute
- the IAttribute defined for the concept to which to assign a valuecollectionIndex
- the index/key in the collection for the specified valuerelop
- the relational operator, one of IRelationalOperator.EQUALS or
IRelationalOperator.NOT_EQUALS.value
- the short value to be assigned to the attributebeliefcertainty
- the percentage certainty that the belief indeed is createdfactcertainty
- the percentage certainty that the fact indeed is created
ExternalException
- if the attribute is not specified for the given concept,
if the attribute is not of a collection type, if the collection index is
invalid, if the attribute is the location attribute, if an invalid relational operator
is specified or if the fact/belief certainty is less than 0 or more than 100.public final IStatement[] conclude(IConcept concept, IAttribute attribute, java.lang.String collectionIndex, int relop, short value, int beliefcertainty, int factcertainty) throws ExternalException
concept
- the IConcept for which an attribute value is specifiedattribute
- the IAttribute defined for the concept to which to assign a valuecollectionIndex
- the index/key in the collection for the specified valuerelop
- the relational operator, one of IRelationalOperator.EQUALS or
IRelationalOperator.NOT_EQUALS.value
- the short value to be assigned to the attributebeliefcertainty
- the percentage certainty that the belief indeed is createdfactcertainty
- the percentage certainty that the fact indeed is created
ExternalException
- if the attribute is not specified for the given concept,
if the attribute is not of a collection type, if the collection index is
invalid, if the attribute is the location attribute, if an invalid relational operator
is specified or if the fact/belief certainty is less than 0 or more than 100.public final IStatement[] conclude(IConcept concept, IAttribute attribute, int collectionIndex, int relop, long value, int beliefcertainty, int factcertainty) throws ExternalException
concept
- the IConcept for which an attribute value is specifiedattribute
- the IAttribute defined for the concept to which to assign a valuecollectionIndex
- the index/key in the collection for the specified valuerelop
- the relational operator, one of IRelationalOperator.EQUALS or
IRelationalOperator.NOT_EQUALS.value
- the long value to be assigned to the attributebeliefcertainty
- the percentage certainty that the belief indeed is createdfactcertainty
- the percentage certainty that the fact indeed is created
ExternalException
- if the attribute is not specified for the given concept,
if the attribute is not of a collection type, if the collection index is
invalid, if the attribute is the location attribute, if an invalid relational operator
is specified or if the fact/belief certainty is less than 0 or more than 100.public final IStatement[] conclude(IConcept concept, IAttribute attribute, java.lang.String collectionIndex, int relop, long value, int beliefcertainty, int factcertainty) throws ExternalException
concept
- the IConcept for which an attribute value is specifiedattribute
- the IAttribute defined for the concept to which to assign a valuecollectionIndex
- the index/key in the collection for the specified valuerelop
- the relational operator, one of IRelationalOperator.EQUALS or
IRelationalOperator.NOT_EQUALS.value
- the long value to be assigned to the attributebeliefcertainty
- the percentage certainty that the belief indeed is createdfactcertainty
- the percentage certainty that the fact indeed is created
ExternalException
- if the attribute is not specified for the given concept,
if the attribute is not of a collection type, if the collection index is
invalid, if the attribute is the location attribute, if an invalid relational operator
is specified or if the fact/belief certainty is less than 0 or more than 100.public final IStatement[] conclude(IConcept concept, IAttribute attribute, int collectionIndex, int relop, float value, int beliefcertainty, int factcertainty) throws ExternalException
concept
- the IConcept for which an attribute value is specifiedattribute
- the IAttribute defined for the concept to which to assign a valuecollectionIndex
- the index/key in the collection for the specified valuerelop
- the relational operator, one of IRelationalOperator.EQUALS or
IRelationalOperator.NOT_EQUALS.value
- the float value to be assigned to the attributebeliefcertainty
- the percentage certainty that the belief indeed is createdfactcertainty
- the percentage certainty that the fact indeed is created
ExternalException
- if the attribute is not specified for the given concept,
if the attribute is not of a collection type, if the collection index is
invalid, if the attribute is the location attribute, if an invalid relational operator
is specified or if the fact/belief certainty is less than 0 or more than 100.public final IStatement[] conclude(IConcept concept, IAttribute attribute, java.lang.String collectionIndex, int relop, float value, int beliefcertainty, int factcertainty) throws ExternalException
concept
- the IConcept for which an attribute value is specifiedattribute
- the IAttribute defined for the concept to which to assign a valuecollectionIndex
- the index/key in the collection for the specified valuerelop
- the relational operator, one of IRelationalOperator.EQUALS or
IRelationalOperator.NOT_EQUALS.value
- the float value to be assigned to the attributebeliefcertainty
- the percentage certainty that the belief indeed is createdfactcertainty
- the percentage certainty that the fact indeed is created
ExternalException
- if the attribute is not specified for the given concept,
if the attribute is not of a collection type, if the collection index is
invalid, if the attribute is the location attribute, if an invalid relational operator
is specified or if the fact/belief certainty is less than 0 or more than 100.public final IStatement[] conclude(IConcept concept, IAttribute attribute, int collectionIndex, int relop, double value, int beliefcertainty, int factcertainty) throws ExternalException
concept
- the IConcept for which an attribute value is specifiedattribute
- the IAttribute defined for the concept to which to assign a valuecollectionIndex
- the index/key in the collection for the specified valuerelop
- the relational operator, one of IRelationalOperator.EQUALS or
IRelationalOperator.NOT_EQUALS.value
- the double value to be assigned to the attributebeliefcertainty
- the percentage certainty that the belief indeed is createdfactcertainty
- the percentage certainty that the fact indeed is created
ExternalException
- if the attribute is not specified for the given concept,
if the attribute is not of a collection type, if the collection index is
invalid, if the attribute is the location attribute, if an invalid relational operator
is specified or if the fact/belief certainty is less than 0 or more than 100.public final IStatement[] conclude(IConcept concept, IAttribute attribute, java.lang.String collectionIndex, int relop, double value, int beliefcertainty, int factcertainty) throws ExternalException
concept
- the IConcept for which an attribute value is specifiedattribute
- the IAttribute defined for the concept to which to assign a valuecollectionIndex
- the index/key in the collection for the specified valuerelop
- the relational operator, one of IRelationalOperator.EQUALS or
IRelationalOperator.NOT_EQUALS.value
- the double value to be assigned to the attributebeliefcertainty
- the percentage certainty that the belief indeed is createdfactcertainty
- the percentage certainty that the fact indeed is created
ExternalException
- if the attribute is not specified for the given concept,
if the attribute is not of a collection type, if the collection index is
invalid, if the attribute is the location attribute, if an invalid relational operator
is specified or if the fact/belief certainty is less than 0 or more than 100.public final IStatement[] conclude(IConcept concept, IAttribute attribute, int collectionIndex, int relop, boolean value, int beliefcertainty, int factcertainty) throws ExternalException
concept
- the IConcept for which an attribute value is specifiedattribute
- the IAttribute defined for the concept to which to assign a valuecollectionIndex
- the index/key in the collection for the specified valuerelop
- the relational operator, one of IRelationalOperator.EQUALS or
IRelationalOperator.NOT_EQUALS.value
- the boolean value to be assigned to the attributebeliefcertainty
- the percentage certainty that the belief indeed is createdfactcertainty
- the percentage certainty that the fact indeed is created
ExternalException
- if the attribute is not specified for the given concept,
if the attribute is not of a collection type, if the collection index is
invalid, if the attribute is the location attribute, if an invalid relational operator
is specified or if the fact/belief certainty is less than 0 or more than 100.public final IStatement[] conclude(IConcept concept, IAttribute attribute, java.lang.String collectionIndex, int relop, boolean value, int beliefcertainty, int factcertainty) throws ExternalException
concept
- the IConcept for which an attribute value is specifiedattribute
- the IAttribute defined for the concept to which to assign a valuecollectionIndex
- the index/key in the collection for the specified valuerelop
- the relational operator, one of IRelationalOperator.EQUALS or
IRelationalOperator.NOT_EQUALS.value
- the boolean value to be assigned to the attributebeliefcertainty
- the percentage certainty that the belief indeed is createdfactcertainty
- the percentage certainty that the fact indeed is created
ExternalException
- if the attribute is not specified for the given concept,
if the attribute is not of a collection type, if the collection index is
invalid, if the attribute is the location attribute, if an invalid relational operator
is specified or if the fact/belief certainty is less than 0 or more than 100.public final IStatement[] conclude(IConcept concept, IAttribute attribute, int collectionIndex, int relop, java.lang.String value, boolean symbol, int beliefcertainty, int factcertainty) throws ExternalException
concept
- the IConcept for which an attribute value is specifiedattribute
- the IAttribute defined for the concept to which to assign a valuecollectionIndex
- the index/key in the collection for the specified valuerelop
- the relational operator, one of IRelationalOperator.EQUALS or
IRelationalOperator.NOT_EQUALS.value
- the String value to be assigned to the attributesymbol
- indicates if the value is a symbol or stringbeliefcertainty
- the percentage certainty that the belief indeed is createdfactcertainty
- the percentage certainty that the fact indeed is created
ExternalException
- if the attribute is not specified for the given concept,
if the attribute is not of a collection type, if the collection index is
invalid, if the attribute is the location attribute, if an invalid relational operator
is specified or if the fact/belief certainty is less than 0 or more than 100.public final IStatement[] conclude(IConcept concept, IAttribute attribute, java.lang.String collectionIndex, int relop, java.lang.String value, boolean symbol, int beliefcertainty, int factcertainty) throws ExternalException
concept
- the IConcept for which an attribute value is specifiedattribute
- the IAttribute defined for the concept to which to assign a valuecollectionIndex
- the index/key in the collection for the specified valuerelop
- the relational operator, one of IRelationalOperator.EQUALS or
IRelationalOperator.NOT_EQUALS.value
- the String value to be assigned to the attributesymbol
- indicates if the value is a symbol or stringbeliefcertainty
- the percentage certainty that the belief indeed is createdfactcertainty
- the percentage certainty that the fact indeed is created
ExternalException
- if the attribute is not specified for the given concept,
if the attribute is not of a collection type, if the collection index is
invalid, if the attribute is the location attribute, if an invalid relational operator
is specified or if the fact/belief certainty is less than 0 or more than 100.public final IStatement[] conclude(IConcept concept, IAttribute attribute, int collectionIndex, int relop, IConcept value, int beliefcertainty, int factcertainty) throws ExternalException
concept
- the IConcept for which an attribute value is specifiedattribute
- the IAttribute defined for the concept to which to assign a valuecollectionIndex
- the index/key in the collection for the specified valuerelop
- the relational operator, one of IRelationalOperator.EQUALS or
IRelationalOperator.NOT_EQUALS.value
- the IConcept value to be assigned to the attributebeliefcertainty
- the percentage certainty that the belief indeed is createdfactcertainty
- the percentage certainty that the fact indeed is created
ExternalException
- if the attribute is not specified for the given concept,
if the attribute is not of a collection type, if the collection index is
invalid, if the attribute is the location attribute, if an invalid relational operator
is specified or if the fact/belief certainty is less than 0 or more than 100.public final IStatement[] conclude(IConcept concept, IAttribute attribute, java.lang.String collectionIndex, int relop, IConcept value, int beliefcertainty, int factcertainty) throws ExternalException
concept
- the IConcept for which an attribute value is specifiedattribute
- the IAttribute defined for the concept to which to assign a valuecollectionIndex
- the index/key in the collection for the specified valuerelop
- the relational operator, one of IRelationalOperator.EQUALS or
IRelationalOperator.NOT_EQUALS.value
- the IConcept value to be assigned to the attributebeliefcertainty
- the percentage certainty that the belief indeed is createdfactcertainty
- the percentage certainty that the fact indeed is created
ExternalException
- if the attribute is not specified for the given concept,
if the attribute is not of a collection type, if the collection index is
invalid, if the attribute is the location attribute, if an invalid relational operator
is specified or if the fact/belief certainty is less than 0 or more than 100.public final IStatement[] conclude(IConcept concept, IAttribute attribute, int collectionIndex, int relop, java.io.Serializable value, int beliefcertainty, int factcertainty) throws ExternalException
concept
- the IConcept for which an attribute value is specifiedattribute
- the IAttribute defined for the concept to which to assign a valuecollectionIndex
- the index/key in the collection for the specified valuerelop
- the relational operator, one of IRelationalOperator.EQUALS or
IRelationalOperator.NOT_EQUALS.value
- the Java Serializable to be assigned to the attributebeliefcertainty
- the percentage certainty that the belief indeed is createdfactcertainty
- the percentage certainty that the fact indeed is created
ExternalException
- if the attribute is not specified for the given concept,
if the attribute is not of a collection type, if the collection index is
invalid, if the attribute is the location attribute, if an invalid relational operator
is specified or if the fact/belief certainty is less than 0 or more than 100.public final IStatement[] conclude(IConcept concept, IAttribute attribute, int collectionIndex, int relop, java.lang.Object value, int beliefcertainty, int factcertainty) throws ExternalException
concept
- the IConcept for which an attribute value is specifiedattribute
- the IAttribute defined for the concept to which to assign a valuecollectionIndex
- the index/key in the collection for the specified valuerelop
- the relational operator, one of IRelationalOperator.EQUALS or
IRelationalOperator.NOT_EQUALS.value
- the Java Object to be assigned to the attributebeliefcertainty
- the percentage certainty that the belief indeed is createdfactcertainty
- the percentage certainty that the fact indeed is created
ExternalException
- if the attribute is not specified for the given concept,
if the attribute is not of a collection type, if the collection index is
invalid, if the attribute is the location attribute, if an invalid relational operator
is specified or if the fact/belief certainty is less than 0 or more than 100.public final IStatement[] conclude(IConcept concept, IAttribute attribute, java.lang.String collectionIndex, int relop, java.io.Serializable value, int beliefcertainty, int factcertainty) throws ExternalException
concept
- the IConcept for which an attribute value is specifiedattribute
- the IAttribute defined for the concept to which to assign a valuecollectionIndex
- the index/key in the collection for the specified valuerelop
- the relational operator, one of IRelationalOperator.EQUALS or
IRelationalOperator.NOT_EQUALS.value
- the Java Serializable to be assigned to the attributebeliefcertainty
- the percentage certainty that the belief indeed is createdfactcertainty
- the percentage certainty that the fact indeed is created
ExternalException
- if the attribute is not specified for the given concept,
if the attribute is not of a collection type, if the collection index is
invalid, if the attribute is the location attribute, if an invalid relational operator
is specified or if the fact/belief certainty is less than 0 or more than 100.public final IStatement[] conclude(IConcept concept, IAttribute attribute, java.lang.String collectionIndex, int relop, java.lang.Object value, int beliefcertainty, int factcertainty) throws ExternalException
concept
- the IConcept for which an attribute value is specifiedattribute
- the IAttribute defined for the concept to which to assign a valuecollectionIndex
- the index/key in the collection for the specified valuerelop
- the relational operator, one of IRelationalOperator.EQUALS or
IRelationalOperator.NOT_EQUALS.value
- the Java Object to be assigned to the attributebeliefcertainty
- the percentage certainty that the belief indeed is createdfactcertainty
- the percentage certainty that the fact indeed is created
ExternalException
- if the attribute is not specified for the given concept,
if the attribute is not of a collection type, if the collection index is
invalid, if the attribute is the location attribute, if an invalid relational operator
is specified or if the fact/belief certainty is less than 0 or more than 100.public IStatement[] conclude(IConcept concept, IAttribute attribute, int relop, java.util.Map collection, int beliefcertainty, int factcertainty) throws ExternalException
concept
- the IConcept for which an attribute value is specifiedattribute
- the collection type IAttribute defined for the concept to which to assign the valuesrelop
- the relational operator, one of IRelationalOperator.EQUALS or
IRelationalOperator.NOT_EQUALS.collection
- the index/value pairs to assign to the attributebeliefcertainty
- the percentage certainty that the belief indeed is createdfactcertainty
- the percentage certainty that the fact indeed is created
ExternalException
- if the attribute is not specified for the given concept,
if the attribute is not of a collection type, if a collection index is
invalid, if the attribute is the location attribute, if an invalid relational operator
is specified or if an invalid value is specified.IRelationalOperator.EQUALS
,
IRelationalOperator.NOT_EQUALS
,
IUnknown.UNKNOWN
public final IStatement[] conclude(IConcept lhsConcept, IRelation relation, IUnknown rhsConcept, int beliefcertainty, int factcertainty) throws ExternalException
lhsConcept
- the IConcept for which the relation is specifiedrelation
- the IRelation defined for the conceptrhsConcept
- the IUnknown value to be related to the lhsConceptbeliefcertainty
- the percentage certainty that the belief indeed is createdfactcertainty
- the percentage certainty that the fact indeed is created
ExternalException
- if the rhsConcept does not match with the relation's
type, the relation is not specified for the given lhsConcept or if the
fact/belief certainty is less than 0 or more than 100.IUnknown.UNKNOWN
public final IStatement[] conclude(IConcept lhsConcept, IRelation relation, IConcept rhsConcept, int beliefcertainty, int factcertainty) throws ExternalException
lhsConcept
- the IConcept for which the relation is specifiedrelation
- the IRelation defined for the conceptrhsConcept
- the IConcept to be related to the lhsConceptbeliefcertainty
- the percentage certainty that the belief indeed is createdfactcertainty
- the percentage certainty that the fact indeed is created
ExternalException
- if the rhsConcept does not match with the relation's
type, the relation is not specified for the given lhsConcept or if the
fact/belief certainty is less than 0 or more than 100.public final IStatement[] conclude(IConcept lhsConcept, IRelation relation, IUnknown rhsConcept, int truthValue, int beliefcertainty, int factcertainty) throws ExternalException
lhsConcept
- the IConcept for which the relation is specifiedrelation
- the IRelation defined for the conceptrhsConcept
- the IUnknown value to be related to the lhsConcepttruthValue
- the truth value of the relationship (TRUE, FALSE, UNKNOWN)beliefcertainty
- the percentage certainty that the belief indeed is createdfactcertainty
- the percentage certainty that the fact indeed is created
ExternalException
- if the rhsConcept does not match with the relation's
type, the relation is not specified for the given lhsConcept or if the
fact/belief certainty is less than 0 or more than 100.IUnknown.UNKNOWN
,
ITruthValue.TRUE
,
ITruthValue.FALSE
,
ITruthValue.UNKNOWN
public final IStatement[] conclude(IConcept lhsConcept, IRelation relation, IConcept rhsConcept, int truthValue, int beliefcertainty, int factcertainty) throws ExternalException
lhsConcept
- the IConcept for which the relation is specifiedrelation
- the IRelation defined for the conceptrhsConcept
- the IConcept to be related to the lhsConcepttruthValue
- the truth value of the relationship (TRUE, FALSE, UNKNOWN)beliefcertainty
- the percentage certainty that the belief indeed is createdfactcertainty
- the percentage certainty that the fact indeed is created
ExternalException
- if the rhsConcept does not match with the relation's
type, the relation is not specified for the given lhsConcept or if the
fact/belief certainty is less than 0 or more than 100.ITruthValue.TRUE
,
ITruthValue.FALSE
,
ITruthValue.UNKNOWN
protected final int getBeliefAttributeInt(IConcept lhsConcept, java.lang.String attributeName) throws UnknownValueException, InvalidTypeException, ExternalException
lhsConcept
- an IConcept whose attribute value is to be retrievedattributeName
- the String name of the attribute whose value is to be retrieved
UnknownValueException
- if the value of the attribute is missing or unknown
InvalidTypeException
- if the value of the attribute is not of type int
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final int getBeliefAttributeInt(IConcept lhsConcept, java.lang.String attributeName, int index) throws UnknownValueException, InvalidTypeException, ExternalException
lhsConcept
- an IConcept whose attribute value is to be retrievedattributeName
- the String name of the attribute whose value is to be retrievedindex
- the integer index to be looked up in the map
UnknownValueException
- if the value of the attribute is missing or unknown
InvalidTypeException
- if the attribute does not have a collection type or the value of the attribute is not of type int
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final int getBeliefAttributeInt(IConcept lhsConcept, java.lang.String attributeName, java.lang.String key) throws UnknownValueException, InvalidTypeException, ExternalException
lhsConcept
- an IConcept whose attribute value is to be retrievedattributeName
- the String name of the attribute whose value is to be retrievedkey
- the String key to be looked up in the map
UnknownValueException
- if the value of the attribute is missing or unknown
InvalidTypeException
- if the attribute does not have a collection type or the value of the attribute is not of type int
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final char getBeliefAttributeChar(IConcept lhsConcept, java.lang.String attributeName) throws UnknownValueException, InvalidTypeException, ExternalException
lhsConcept
- an IConcept whose attribute value is to be retrievedattributeName
- the String name of the attribute whose value is to be retrieved
UnknownValueException
- if the value of the attribute is missing or unknown
InvalidTypeException
- if the value of the attribute is not of type char
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final char getBeliefAttributeChar(IConcept lhsConcept, java.lang.String attributeName, int index) throws UnknownValueException, InvalidTypeException, ExternalException
lhsConcept
- an IConcept whose attribute value is to be retrievedattributeName
- the String name of the attribute whose value is to be retrievedindex
- the integer index to be looked up in the map
UnknownValueException
- if the value of the attribute is missing or unknown
InvalidTypeException
- if the attribute does not have a collection type or the value of the attribute is not of type char
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final char getBeliefAttributeChar(IConcept lhsConcept, java.lang.String attributeName, java.lang.String key) throws UnknownValueException, InvalidTypeException, ExternalException
lhsConcept
- an IConcept whose attribute value is to be retrievedattributeName
- the String name of the attribute whose value is to be retrievedkey
- the String key to be looked up in the map
UnknownValueException
- if the value of the attribute is missing or unknown
InvalidTypeException
- if the attribute does not have a collection type or the value of the attribute is not of type char
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final byte getBeliefAttributeByte(IConcept lhsConcept, java.lang.String attributeName) throws UnknownValueException, InvalidTypeException, ExternalException
lhsConcept
- an IConcept whose attribute value is to be retrievedattributeName
- the String name of the attribute whose value is to be retrieved
UnknownValueException
- if the value of the attribute is missing or unknown
InvalidTypeException
- if the value of the attribute is not of type int
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final byte getBeliefAttributeByte(IConcept lhsConcept, java.lang.String attributeName, int index) throws UnknownValueException, InvalidTypeException, ExternalException
lhsConcept
- an IConcept whose attribute value is to be retrievedattributeName
- the String name of the attribute whose value is to be retrievedindex
- the integer index to be looked up in the map
UnknownValueException
- if the value of the attribute is missing or unknown
InvalidTypeException
- if the attribute does not have a collection type or the value of the attribute is not of type byte
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final byte getBeliefAttributeByte(IConcept lhsConcept, java.lang.String attributeName, java.lang.String key) throws UnknownValueException, InvalidTypeException, ExternalException
lhsConcept
- an IConcept whose attribute value is to be retrievedattributeName
- the String name of the attribute whose value is to be retrievedkey
- the String key to be looked up in the map
UnknownValueException
- if the value of the attribute is missing or unknown
InvalidTypeException
- if the attribute does not have a collection type or the value of the attribute is not of type byte
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final short getBeliefAttributeShort(IConcept lhsConcept, java.lang.String attributeName) throws UnknownValueException, InvalidTypeException, ExternalException
lhsConcept
- an IConcept whose attribute value is to be retrievedattributeName
- the String name of the attribute whose value is to be retrieved
UnknownValueException
- if the value of the attribute is missing or unknown
InvalidTypeException
- if the value of the attribute is not of type short
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final short getBeliefAttributeShort(IConcept lhsConcept, java.lang.String attributeName, int index) throws UnknownValueException, InvalidTypeException, ExternalException
lhsConcept
- an IConcept whose attribute value is to be retrievedattributeName
- the String name of the attribute whose value is to be retrievedindex
- the integer index to be looked up in the map
UnknownValueException
- if the value of the attribute is missing or unknown
InvalidTypeException
- if the attribute does not have a collection type or the value of the attribute is not of type short
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final short getBeliefAttributeShort(IConcept lhsConcept, java.lang.String attributeName, java.lang.String key) throws UnknownValueException, InvalidTypeException, ExternalException
lhsConcept
- an IConcept whose attribute value is to be retrievedattributeName
- the String name of the attribute whose value is to be retrievedkey
- the String key to be looked up in the map
UnknownValueException
- if the value of the attribute is missing or unknown
InvalidTypeException
- if the attribute does not have a collection type or the value of the attribute is not of type short
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final long getBeliefAttributeLong(IConcept lhsConcept, java.lang.String attributeName) throws UnknownValueException, InvalidTypeException, ExternalException
lhsConcept
- an IConcept whose attribute value is to be retrievedattributeName
- the String name of the attribute whose value is to be retrieved
UnknownValueException
- if the value of the attribute is missing or unknown
InvalidTypeException
- if the value of the attribute is not of type long
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final long getBeliefAttributeLong(IConcept lhsConcept, java.lang.String attributeName, int index) throws UnknownValueException, InvalidTypeException, ExternalException
lhsConcept
- an IConcept whose attribute value is to be retrievedattributeName
- the String name of the attribute whose value is to be retrievedindex
- the integer index to be looked up in the map
UnknownValueException
- if the value of the attribute is missing or unknown
InvalidTypeException
- if the attribute does not have a collection type or the value of the attribute is not of type long
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final long getBeliefAttributeLong(IConcept lhsConcept, java.lang.String attributeName, java.lang.String key) throws UnknownValueException, InvalidTypeException, ExternalException
lhsConcept
- an IConcept whose attribute value is to be retrievedattributeName
- the String name of the attribute whose value is to be retrievedkey
- the String key to be looked up in the map
UnknownValueException
- if the value of the attribute is missing or unknown
InvalidTypeException
- if the attribute does not have a collection type or the value of the attribute is not of type long
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final float getBeliefAttributeFloat(IConcept lhsConcept, java.lang.String attributeName) throws UnknownValueException, InvalidTypeException, ExternalException
lhsConcept
- an IConcept whose attribute value is to be retrievedattributeName
- the String name of the attribute whose value is to be retrieved
UnknownValueException
- if the value of the attribute is missing or unknown
InvalidTypeException
- if the value of the attribute is not of type float
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final float getBeliefAttributeFloat(IConcept lhsConcept, java.lang.String attributeName, int index) throws UnknownValueException, InvalidTypeException, ExternalException
lhsConcept
- an IConcept whose attribute value is to be retrievedattributeName
- the String name of the attribute whose value is to be retrievedindex
- the integer index to be looked up in the map
UnknownValueException
- if the value of the attribute is missing or unknown
InvalidTypeException
- if the attribute does not have a collection type or the value of the attribute is not of type float
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final float getBeliefAttributeFloat(IConcept lhsConcept, java.lang.String attributeName, java.lang.String key) throws UnknownValueException, InvalidTypeException, ExternalException
lhsConcept
- an IConcept whose attribute value is to be retrievedattributeName
- the String name of the attribute whose value is to be retrievedkey
- the String key to be looked up in the map
UnknownValueException
- if the value of the attribute is missing or unknown
InvalidTypeException
- if the attribute does not have a collection type or the value of the attribute is not of type float
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final double getBeliefAttributeDouble(IConcept lhsConcept, java.lang.String attributeName) throws UnknownValueException, InvalidTypeException, ExternalException
lhsConcept
- an IConcept whose attribute value is to be retrievedattributeName
- the String name of the attribute whose value is to be retrieved
UnknownValueException
- if the value of the attribute is missing or unknown
InvalidTypeException
- if the value of the attribute is not of type double
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final double getBeliefAttributeDouble(IConcept lhsConcept, java.lang.String attributeName, int index) throws UnknownValueException, InvalidTypeException, ExternalException
lhsConcept
- an IConcept whose attribute value is to be retrievedattributeName
- the String name of the attribute whose value is to be retrievedindex
- the integer index to be looked up in the map
UnknownValueException
- if the value of the attribute is missing or unknown
InvalidTypeException
- if the attribute does not have a collection type or the value of the attribute is not of type double
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final double getBeliefAttributeDouble(IConcept lhsConcept, java.lang.String attributeName, java.lang.String key) throws UnknownValueException, InvalidTypeException, ExternalException
lhsConcept
- an IConcept whose attribute value is to be retrievedattributeName
- the String name of the attribute whose value is to be retrievedkey
- the String key to be looked up in the map
UnknownValueException
- if the value of the attribute is missing or unknown
InvalidTypeException
- if the attribute does not have a collection type or the value of the attribute is not of type double
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final boolean getBeliefAttributeBoolean(IConcept lhsConcept, java.lang.String attributeName) throws UnknownValueException, InvalidTypeException, ExternalException
lhsConcept
- an IConcept whose attribute value is to be retrievedattributeName
- the String name of the attribute whose value is to be retrieved
UnknownValueException
- if the value of the attribute is missing or unknown
InvalidTypeException
- if the value of the attribute is not of type boolean
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final boolean getBeliefAttributeBoolean(IConcept lhsConcept, java.lang.String attributeName, int index) throws UnknownValueException, InvalidTypeException, ExternalException
lhsConcept
- an IConcept whose attribute value is to be retrievedattributeName
- the String name of the attribute whose value is to be retrievedindex
- the integer index to be looked up in the map
UnknownValueException
- if the value of the attribute is missing or unknown
InvalidTypeException
- if the attribute does not have a collection type or the value of the attribute is not of type boolean
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final boolean getBeliefAttributeBoolean(IConcept lhsConcept, java.lang.String attributeName, java.lang.String key) throws UnknownValueException, InvalidTypeException, ExternalException
lhsConcept
- an IConcept whose attribute value is to be retrievedattributeName
- the String name of the attribute whose value is to be retrievedkey
- the String key to be looked up in the map
UnknownValueException
- if the value of the attribute is missing or unknown
InvalidTypeException
- if the attribute does not have a collection type or the value of the attribute is not of type boolean
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final java.lang.String getBeliefAttributeString(IConcept lhsConcept, java.lang.String attributeName) throws UnknownValueException, InvalidTypeException, ExternalException
lhsConcept
- an IConcept whose attribute value is to be retrievedattributeName
- the String name of the attribute whose value is to be retrieved
UnknownValueException
- if the value of the attribute is missing or unknown
InvalidTypeException
- if the value of the attribute is not a string
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final java.lang.String getBeliefAttributeString(IConcept lhsConcept, java.lang.String attributeName, int index) throws UnknownValueException, InvalidTypeException, ExternalException
lhsConcept
- an IConcept whose attribute value is to be retrievedattributeName
- the String name of the attribute whose value is to be retrievedindex
- the integer index to be looked up in the map
UnknownValueException
- if the value of the attribute is missing or unknown
InvalidTypeException
- if the attribute does not have a collection type or the value of the attribute is a string
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final java.lang.String getBeliefAttributeString(IConcept lhsConcept, java.lang.String attributeName, java.lang.String key) throws UnknownValueException, InvalidTypeException, ExternalException
lhsConcept
- an IConcept whose attribute value is to be retrievedattributeName
- the String name of the attribute whose value is to be retrievedkey
- the String key to be looked up in the map
UnknownValueException
- if the value of the attribute is missing or unknown
InvalidTypeException
- if the attribute does not have a collection type or the value of the attribute is not a string
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final java.io.Serializable getBeliefAttributeJava(IConcept lhsConcept, java.lang.String attributeName) throws UnknownValueException, InvalidTypeException, ExternalException
lhsConcept
- an IConcept whose attribute value is to be retrievedattributeName
- the String name of the attribute whose value is to be retrieved
UnknownValueException
- if the value of the attribute is missing or unknown
InvalidTypeException
- if the value of the attribute is not of type Serializable
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final java.io.Serializable getBeliefAttributeJava(IConcept lhsConcept, java.lang.String attributeName, int index) throws UnknownValueException, InvalidTypeException, ExternalException
lhsConcept
- an IConcept whose attribute value is to be retrievedattributeName
- the String name of the attribute whose value is to be retrievedindex
- the integer index to be looked up in the map
UnknownValueException
- if the value of the attribute is missing or unknown
InvalidTypeException
- if the attribute does not have a collection type or the value of the attribute is not of type Serializable
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final java.io.Serializable getBeliefAttributeJava(IConcept lhsConcept, java.lang.String attributeName, java.lang.String key) throws UnknownValueException, InvalidTypeException, ExternalException
lhsConcept
- an IConcept whose attribute value is to be retrievedattributeName
- the String name of the attribute whose value is to be retrievedkey
- the String key to be looked up in the map
UnknownValueException
- if the value of the attribute is missing or unknown
InvalidTypeException
- if the attribute does not have a collection type or the value of the attribute is not of type Serializable
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final IConcept getBeliefAttributeConcept(IConcept lhsConcept, java.lang.String attributeName) throws UnknownValueException, InvalidTypeException, ExternalException
lhsConcept
- an IConcept whose attribute value is to be retrievedattributeName
- the String name of the attribute whose value is to be retrieved
UnknownValueException
- if the value of the attribute is missing or unknown
InvalidTypeException
- if the value of the attribute is not a concept
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final IConcept getBeliefAttributeConcept(IConcept lhsConcept, java.lang.String attributeName, int index) throws UnknownValueException, InvalidTypeException, ExternalException
lhsConcept
- an IConcept whose attribute value is to be retrievedattributeName
- the String name of the attribute whose value is to be retrievedindex
- the integer index to be looked up in the map
UnknownValueException
- if the value of the attribute is missing or unknown
InvalidTypeException
- if the attribute does not have a collection type or the value of the attribute is not a concept
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final IConcept getBeliefAttributeConcept(IConcept lhsConcept, java.lang.String attributeName, java.lang.String key) throws UnknownValueException, InvalidTypeException, ExternalException
lhsConcept
- an IConcept whose attribute value is to be retrievedattributeName
- the String name of the attribute whose value is to be retrievedkey
- the String key to be looked up in the map
UnknownValueException
- if the value of the attribute is missing or unknown
InvalidTypeException
- if the attribute does not have a collection type or the value of the attribute is not a concept
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final java.util.Map<java.lang.Object,java.lang.Object> getBeliefAttributeMap(IConcept lhsConcept, java.lang.String attributeName, boolean includeUnknown) throws InvalidTypeException, ExternalException
lhsConcept
- an IConcept whose map attribute values are to be retrievedattributeName
- the String name of the map attribute whose values are to be retrievedincludeUnknown
- true if unknown values should be included in the map entries
InvalidTypeException
- if the attribute is not a map attribute
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final java.util.SortedMap<java.lang.Object,java.lang.Object> getBeliefAttributeSortedMap(IConcept lhsConcept, java.lang.String attributeName, boolean includeUnknown) throws InvalidTypeException, ExternalException
lhsConcept
- an IConcept whose map attribute values are to be retrievedattributeName
- the String name of the map attribute whose values are to be retrievedincludeUnknown
- true if unknown values should be included in the map entries
InvalidTypeException
- if the attribute is not a map attribute
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final java.lang.Object getBeliefAttributeValue(IConcept lhsConcept, java.lang.String attributeName) throws ExternalException
lhsConcept
- an IConcept whose attribute value is to be retrievedattributeName
- the String name of the attribute whose value is to be retrieved
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final java.lang.Object getBeliefAttributeValue(IConcept lhsConcept, java.lang.String attributeName, int index) throws InvalidTypeException, ExternalException
lhsConcept
- an IConcept whose attribute value is to be retrievedattributeName
- the String name of the attribute whose value is to be retrievedindex
- the integer index to be looked up in the map
InvalidTypeException
- if the attribute does not have a collection type
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final java.lang.Object getBeliefAttributeValue(IConcept lhsConcept, java.lang.String attributeName, java.lang.String key) throws InvalidTypeException, ExternalException
lhsConcept
- an IConcept whose attribute value is to be retrievedattributeName
- the String name of the attribute whose value is to be retrievedkey
- the String key to be looked up in the map
InvalidTypeException
- if the attribute does not have a collection type
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final boolean hasBeliefAttributeAnyValue(IConcept lhsConcept, java.lang.String attributeName, boolean includeUnknown) throws ExternalException
lhsConcept
- an IConcept whose attribute value is to be checkedattributeName
- the String name of the attribute whose value is to be checkedincludeUnknown
- true if the unknown value is counted, else false
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final boolean hasBeliefAttributeAnyValue(IConcept lhsConcept, java.lang.String attributeName, int index, boolean includeUnknown) throws InvalidTypeException, ExternalException
lhsConcept
- an IConcept whose attribute value is to be checkedattributeName
- the String name of the attribute whose value is to be checkedindex
- the integer index to be looked up in the mapincludeUnknown
- true if the unknown value is counted, else false
InvalidTypeException
- if the attribute does not have a collection type
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final boolean hasBeliefAttributeAnyValue(IConcept lhsConcept, java.lang.String attributeName, java.lang.String key, boolean includeUnknown) throws InvalidTypeException, ExternalException
lhsConcept
- an IConcept whose attribute value is to be checkedattributeName
- the String name of the attribute whose value is to be checkedkey
- the String key to be looked up in the mapincludeUnknown
- true if the unknown value is counted, else false
InvalidTypeException
- if the attribute does not have a collection type
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final boolean hasBeliefAttributeValue(IConcept lhsConcept, java.lang.String attributeName, java.lang.Object value) throws ExternalException
lhsConcept
- an IConcept whose attribute value is to be checkedattributeName
- the String name of the attribute whose value is to be checkedvalue
- an Object to be compared for equality to the current value of the attribute, if any
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final boolean hasBeliefAttributeValue(IConcept lhsConcept, java.lang.String attributeName, int index, java.lang.Object value) throws InvalidTypeException, ExternalException
lhsConcept
- an IConcept whose attribute value is to be checkedattributeName
- the String name of the attribute whose value is to be checkedindex
- the integer index to be looked up in the mapvalue
- an Object to be compared for equality to the current value of the attribute for the index, if any
InvalidTypeException
- if the attribute does not have a collection type
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final boolean hasBeliefAttributeValue(IConcept lhsConcept, java.lang.String attributeName, java.lang.String key, java.lang.Object value) throws InvalidTypeException, ExternalException
lhsConcept
- an IConcept whose attribute value is to be checkedattributeName
- the String name of the attribute whose value is to be checkedkey
- the String key to be looked up in the mapvalue
- an Object to be compared for equality to the current value of the attribute for the key, if any
InvalidTypeException
- if the attribute does not have a collection type
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final void setBeliefAttributeInt(IConcept lhsConcept, java.lang.String attributeName, int value) throws InvalidTypeException, ExternalException
lhsConcept
- an IConcept to be given a new value for an attributeattributeName
- the String name of the attributevalue
- the new int value for the attribute
InvalidTypeException
- if the attribute does not have a compatible type
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final void setBeliefAttributeInt(IConcept lhsConcept, java.lang.String attributeName, int index, int value) throws InvalidTypeException, ExternalException
lhsConcept
- an IConcept to be given a new value for an attributeattributeName
- the String name of the attributeindex
- the integer index to be set to a value in the mapvalue
- the new int value for the attribute
InvalidTypeException
- if the attribute does not have a collection type
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final void setBeliefAttributeInt(IConcept lhsConcept, java.lang.String attributeName, java.lang.String key, int value) throws InvalidTypeException, ExternalException
lhsConcept
- an IConcept to be given a new value for an attributeattributeName
- the String name of the attributekey
- the String key to be set to a value in the mapvalue
- the new int value for the attribute
InvalidTypeException
- if the attribute does not have a collection type
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final void setBeliefAttributeChar(IConcept lhsConcept, java.lang.String attributeName, char value) throws InvalidTypeException, ExternalException
lhsConcept
- an IConcept to be given a new value for an attributeattributeName
- the String name of the attributevalue
- the new char value for the attribute
InvalidTypeException
- if the attribute does not have a compatible type
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final void setBeliefAttributeChar(IConcept lhsConcept, java.lang.String attributeName, int index, char value) throws InvalidTypeException, ExternalException
lhsConcept
- an IConcept to be given a new value for an attributeattributeName
- the String name of the attributeindex
- the integer index to be set to a value in the mapvalue
- the new char value for the attribute
InvalidTypeException
- if the attribute does not have a collection type
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final void setBeliefAttributeChar(IConcept lhsConcept, java.lang.String attributeName, java.lang.String key, char value) throws InvalidTypeException, ExternalException
lhsConcept
- an IConcept to be given a new value for an attributeattributeName
- the String name of the attributekey
- the String key to be set to a value in the mapvalue
- the new char value for the attribute
InvalidTypeException
- if the attribute does not have a collection type
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final void setBeliefAttributeByte(IConcept lhsConcept, java.lang.String attributeName, byte value) throws InvalidTypeException, ExternalException
lhsConcept
- an IConcept to be given a new value for an attributeattributeName
- the String name of the attributevalue
- the new byte value for the attribute
InvalidTypeException
- if the attribute does not have a compatible type
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final void setBeliefAttributeByte(IConcept lhsConcept, java.lang.String attributeName, int index, byte value) throws InvalidTypeException, ExternalException
lhsConcept
- an IConcept to be given a new value for an attributeattributeName
- the String name of the attributeindex
- the integer index to be set to a value in the mapvalue
- the new byte value for the attribute
InvalidTypeException
- if the attribute does not have a collection type
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final void setBeliefAttributeByte(IConcept lhsConcept, java.lang.String attributeName, java.lang.String key, byte value) throws InvalidTypeException, ExternalException
lhsConcept
- an IConcept to be given a new value for an attributeattributeName
- the String name of the attributekey
- the String key to be set to a value in the mapvalue
- the new byte value for the attribute
InvalidTypeException
- if the attribute does not have a collection type
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final void setBeliefAttributeShort(IConcept lhsConcept, java.lang.String attributeName, short value) throws InvalidTypeException, ExternalException
lhsConcept
- an IConcept to be given a new value for an attributeattributeName
- the String name of the attributevalue
- the new short value for the attribute
InvalidTypeException
- if the attribute does not have a compatible type
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final void setBeliefAttributeShort(IConcept lhsConcept, java.lang.String attributeName, int index, short value) throws InvalidTypeException, ExternalException
lhsConcept
- an IConcept to be given a new value for an attributeattributeName
- the String name of the attributeindex
- the integer index to be set to a value in the mapvalue
- the new short value for the attribute
InvalidTypeException
- if the attribute does not have a collection type
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final void setBeliefAttributeShort(IConcept lhsConcept, java.lang.String attributeName, java.lang.String key, short value) throws InvalidTypeException, ExternalException
lhsConcept
- an IConcept to be given a new value for an attributeattributeName
- the String name of the attributekey
- the String key to be set to a value in the mapvalue
- the new short value for the attribute
InvalidTypeException
- if the attribute does not have a collection type
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final void setBeliefAttributeLong(IConcept lhsConcept, java.lang.String attributeName, long value) throws InvalidTypeException, ExternalException
lhsConcept
- an IConcept to be given a new value for an attributeattributeName
- the String name of the attributevalue
- the new long value for the attribute
InvalidTypeException
- if the attribute does not have a compatible type
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final void setBeliefAttributeLong(IConcept lhsConcept, java.lang.String attributeName, int index, long value) throws InvalidTypeException, ExternalException
lhsConcept
- an IConcept to be given a new value for an attributeattributeName
- the String name of the attributeindex
- the integer index to be set to a value in the mapvalue
- the new long value for the attribute
InvalidTypeException
- if the attribute does not have a collection type
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final void setBeliefAttributeLong(IConcept lhsConcept, java.lang.String attributeName, java.lang.String key, long value) throws InvalidTypeException, ExternalException
lhsConcept
- an IConcept to be given a new value for an attributeattributeName
- the String name of the attributekey
- the String key to be set to a value in the mapvalue
- the new long value for the attribute
InvalidTypeException
- if the attribute does not have a collection type
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final void setBeliefAttributeFloat(IConcept lhsConcept, java.lang.String attributeName, float value) throws InvalidTypeException, ExternalException
lhsConcept
- an IConcept to be given a new value for an attributeattributeName
- the String name of the attributevalue
- the new float value for the attribute
InvalidTypeException
- if the attribute does not have a compatible type
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final void setBeliefAttributeFloat(IConcept lhsConcept, java.lang.String attributeName, int index, float value) throws InvalidTypeException, ExternalException
lhsConcept
- an IConcept to be given a new value for an attributeattributeName
- the String name of the attributeindex
- the integer index to be set to a value in the mapvalue
- the new float value for the attribute
InvalidTypeException
- if the attribute does not have a collection type
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final void setBeliefAttributeFloat(IConcept lhsConcept, java.lang.String attributeName, java.lang.String key, float value) throws InvalidTypeException, ExternalException
lhsConcept
- an IConcept to be given a new value for an attributeattributeName
- the String name of the attributekey
- the String key to be set to a value in the mapvalue
- the new float value for the attribute
InvalidTypeException
- if the attribute does not have a collection type
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final void setBeliefAttributeDouble(IConcept lhsConcept, java.lang.String attributeName, double value) throws InvalidTypeException, ExternalException
lhsConcept
- an IConcept to be given a new value for an attributeattributeName
- the String name of the attributevalue
- the new double value for the attribute
InvalidTypeException
- if the attribute does not have a compatible type
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final void setBeliefAttributeDouble(IConcept lhsConcept, java.lang.String attributeName, int index, double value) throws InvalidTypeException, ExternalException
lhsConcept
- an IConcept to be given a new value for an attributeattributeName
- the String name of the attributeindex
- the integer index to be set to a value in the mapvalue
- the new double value for the attribute
InvalidTypeException
- if the attribute does not have a collection type
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final void setBeliefAttributeDouble(IConcept lhsConcept, java.lang.String attributeName, java.lang.String key, double value) throws InvalidTypeException, ExternalException
lhsConcept
- an IConcept to be given a new value for an attributeattributeName
- the String name of the attributekey
- the String key to be set to a value in the mapvalue
- the new double value for the attribute
InvalidTypeException
- if the attribute does not have a collection type
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final void setBeliefAttributeBoolean(IConcept lhsConcept, java.lang.String attributeName, boolean value) throws InvalidTypeException, ExternalException
lhsConcept
- an IConcept to be given a new value for an attributeattributeName
- the String name of the attributevalue
- the new boolean value for the attribute
InvalidTypeException
- if the attribute does not have a compatible type
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final void setBeliefAttributeBoolean(IConcept lhsConcept, java.lang.String attributeName, int index, boolean value) throws InvalidTypeException, ExternalException
lhsConcept
- an IConcept to be given a new value for an attributeattributeName
- the String name of the attributeindex
- the integer index to be set to a value in the mapvalue
- the new boolean value for the attribute
InvalidTypeException
- if the attribute does not have a collection type
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final void setBeliefAttributeBoolean(IConcept lhsConcept, java.lang.String attributeName, java.lang.String key, boolean value) throws InvalidTypeException, ExternalException
lhsConcept
- an IConcept to be given a new value for an attributeattributeName
- the String name of the attributekey
- the String key to be set to a value in the mapvalue
- the new boolean value for the attribute
InvalidTypeException
- if the attribute does not have a collection type
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final void setBeliefAttributeString(IConcept lhsConcept, java.lang.String attributeName, java.lang.String value) throws InvalidTypeException, ExternalException
lhsConcept
- an IConcept to be given a new value for an attributeattributeName
- the String name of the attributevalue
- a String for the new value
InvalidTypeException
- if the attribute does not have a compatible type
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final void setBeliefAttributeString(IConcept lhsConcept, java.lang.String attributeName, int index, java.lang.String value) throws InvalidTypeException, ExternalException
lhsConcept
- an IConcept to be given a new value for an attributeattributeName
- the String name of the attributeindex
- the integer index to be set to a value in the mapvalue
- the new String value for the attribute
InvalidTypeException
- if the attribute does not have a collection type
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final void setBeliefAttributeString(IConcept lhsConcept, java.lang.String attributeName, java.lang.String key, java.lang.String value) throws InvalidTypeException, ExternalException
lhsConcept
- an IConcept to be given a new value for an attributeattributeName
- the String name of the attributekey
- the String key to be set to a value in the mapvalue
- the new String value for the attribute
InvalidTypeException
- if the attribute does not have a collection type
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final void setBeliefAttributeSymbol(IConcept lhsConcept, java.lang.String attributeName, java.lang.String value) throws InvalidTypeException, ExternalException
lhsConcept
- an IConcept to be given a new value for an attributeattributeName
- the String name of the attributevalue
- a String for the new value
InvalidTypeException
- if the attribute does not have a compatible type or the value is not a valid symbol
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final void setBeliefAttributeSymbol(IConcept lhsConcept, java.lang.String attributeName, int index, java.lang.String value) throws InvalidTypeException, ExternalException
lhsConcept
- an IConcept to be given a new value for an attributeattributeName
- the String name of the attributeindex
- the integer index to be set to a value in the mapvalue
- the new String value for the attribute
InvalidTypeException
- if the attribute does not have a collection type or the value is not a valid symbol
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final void setBeliefAttributeSymbol(IConcept lhsConcept, java.lang.String attributeName, java.lang.String key, java.lang.String value) throws InvalidTypeException, ExternalException
lhsConcept
- an IConcept to be given a new value for an attributeattributeName
- the String name of the attributekey
- the String key to be set to a value in the mapvalue
- the new String value for the attribute
InvalidTypeException
- if the attribute does not have a collection type or the value is not a valid symbol
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final void setBeliefAttributeJava(IConcept lhsConcept, java.lang.String attributeName, java.io.Serializable value) throws InvalidTypeException, ExternalException
lhsConcept
- an IConcept to be given a new value for an attributeattributeName
- the String name of the attributevalue
- the new Java Serializable value for the attribute
InvalidTypeException
- if the attribute does not have a compatible type
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final void setBeliefAttributeJava(IConcept lhsConcept, java.lang.String attributeName, int index, java.io.Serializable value) throws InvalidTypeException, ExternalException
lhsConcept
- an IConcept to be given a new value for an attributeattributeName
- the String name of the attributeindex
- the integer index to be set to a value in the mapvalue
- the new Java Serializable value for the attribute
InvalidTypeException
- if the attribute does not have a collection type
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final void setBeliefAttributeJava(IConcept lhsConcept, java.lang.String attributeName, java.lang.String key, java.io.Serializable value) throws InvalidTypeException, ExternalException
lhsConcept
- an IConcept to be given a new value for an attributeattributeName
- the String name of the attributekey
- the String key to be set to a value in the mapvalue
- the new Java Serializable value for the attribute
InvalidTypeException
- if the attribute does not have a collection type
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final void setBeliefAttributeJava(IConcept lhsConcept, java.lang.String attributeName, java.lang.Object value) throws InvalidTypeException, ExternalException
lhsConcept
- an IConcept to be given a new value for an attributeattributeName
- the String name of the attributevalue
- the new Java Object value for the attribute
InvalidTypeException
- if the attribute does not have a compatible type
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final void setBeliefAttributeJava(IConcept lhsConcept, java.lang.String attributeName, int index, java.lang.Object value) throws InvalidTypeException, ExternalException
lhsConcept
- an IConcept to be given a new value for an attributeattributeName
- the String name of the attributeindex
- the integer index to be set to a value in the mapvalue
- the new Java Object value for the attribute
InvalidTypeException
- if the attribute does not have a collection type
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final void setBeliefAttributeJava(IConcept lhsConcept, java.lang.String attributeName, java.lang.String key, java.lang.Object value) throws InvalidTypeException, ExternalException
lhsConcept
- an IConcept to be given a new value for an attributeattributeName
- the String name of the attributekey
- the String key to be set to a value in the mapvalue
- the new Java Object value for the attribute
InvalidTypeException
- if the attribute does not have a collection type
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final void setBeliefAttributeConcept(IConcept lhsConcept, java.lang.String attributeName, IConcept value) throws InvalidTypeException, ExternalException
lhsConcept
- an IConcept to be given a new value for an attributeattributeName
- the String name of the attributevalue
- the new IConcept value for the attribute
InvalidTypeException
- if the attribute does not have a compatible type
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final void setBeliefAttributeConcept(IConcept lhsConcept, java.lang.String attributeName, int index, IConcept value) throws InvalidTypeException, ExternalException
lhsConcept
- an IConcept to be given a new value for an attributeattributeName
- the String name of the attributeindex
- the integer index to be set to a value in the mapvalue
- the new IConcept value for the attribute
InvalidTypeException
- if the attribute does not have a collection type
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final void setBeliefAttributeConcept(IConcept lhsConcept, java.lang.String attributeName, java.lang.String key, IConcept value) throws InvalidTypeException, ExternalException
lhsConcept
- an IConcept to be given a new value for an attributeattributeName
- the String name of the attributekey
- the String key to be set to a value in the mapvalue
- the new IConcept value for the attribute
InvalidTypeException
- if the attribute does not have a collection type
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final void setBeliefAttributeUnknown(IConcept lhsConcept, java.lang.String attributeName) throws InvalidTypeException, ExternalException
lhsConcept
- an IConcept to be given a new value for an attributeattributeName
- the String name of the attribute
InvalidTypeException
- if the attribute does not have a compatible type
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final void setBeliefAttributeUnknown(IConcept lhsConcept, java.lang.String attributeName, int index) throws InvalidTypeException, ExternalException
lhsConcept
- an IConcept to be given a new value for an attributeattributeName
- the String name of the attributeindex
- the integer index to be set to 'unknown' in the map
InvalidTypeException
- if the attribute does not have a collection type
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final void setBeliefAttributeUnknown(IConcept lhsConcept, java.lang.String attributeName, java.lang.String key) throws InvalidTypeException, ExternalException
lhsConcept
- an IConcept to be given a new value for an attributeattributeName
- the String name of the attributekey
- the String key to be set to 'unknown' in the map
InvalidTypeException
- if the attribute does not have a collection type
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final java.util.List<IConcept> getBeliefRelationConcepts(IConcept lhsConcept, java.lang.String relationName) throws ExternalException
lhsConcept
- an IConcept whose values for a relation are to be retrievedrelationName
- a String name for a relation defined for lhsConcept
ExternalException
- if no attribute with the specified name is defined for this concept or an internal error occursprotected final boolean hasBeliefRelationAnyValue(IConcept lhsConcept, java.lang.String relationName, boolean includeUnknown) throws ExternalException
lhsConcept
- an IConcept whose relation to another concept is to be checkedrelationName
- a String name for a relation defined for lhsConceptincludeUnknown
- true if the unknown value is counted, else false
ExternalException
- if no relation with the specified name is defined for this concept or an internal error occursprotected final boolean hasBeliefRelationValue(IConcept lhsConcept, java.lang.String relationName, java.lang.Object value) throws ExternalException
lhsConcept
- an IConcept whose values for a relation are to be checkedrelationName
- a String name for a relation defined for lhsConceptvalue
- an Object to be tested for the right-hand side of the relation
ExternalException
- if no relation with the specified name is defined for this concept or an internal error occursprotected final void addBeliefRelationConcept(IConcept lhsConcept, java.lang.String relationName, IConcept value) throws ExternalException
lhsConcept
- an IConcept that gets a new concept related to itrelationName
- a String name for a relation defined for lhsConceptvalue
- the IConcept to be added to lhsConcept's relation
ExternalException
- if the concept does not have the named relation or an internal error occursprotected final void removeBeliefRelationConcept(IConcept lhsConcept, java.lang.String relationName, IConcept value) throws ExternalException
lhsConcept
- an IConcept that has the relation value removedrelationName
- a String name for a relation defined for lhsConceptvalue
- the IConcept to be removed from the lhsConcept's relation
ExternalException
- if the concept does not have the named relation or an internal error occursprotected final void setBeliefRelationUnknown(IConcept lhsConcept, java.lang.String relationName) throws ExternalException
lhsConcept
- an IConcept for which a relation is set to unknownrelationName
- a String name for a relation defined for lhsConcept
ExternalException
- if the concept does not have the named relation or an internal error occursprotected final java.util.List<IConcept> removeAllBeliefRelationValues(IConcept lhsConcept, java.lang.String relationName) throws ExternalException
lhsConcept
- an IConcept for which a relation is set to unknownrelationName
- a String name for a relation defined for lhsConcept
ExternalException
- if the concept does not have the named relation or an internal error occursprotected final int getFactAttributeInt(IConcept lhsConcept, java.lang.String attributeName) throws UnknownValueException, InvalidTypeException, ExternalException
lhsConcept
- an IConcept whose attribute value is to be retrievedattributeName
- the String name of the attribute whose value is to be retrieved
UnknownValueException
- if the value of the attribute is missing or unknown
InvalidTypeException
- if the attribute's value cannot be converted to int
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final int getFactAttributeInt(IConcept lhsConcept, java.lang.String attributeName, int index) throws UnknownValueException, InvalidTypeException, ExternalException
lhsConcept
- an IConcept whose attribute value is to be retrievedattributeName
- the String name of the attribute whose value is to be retrievedindex
- the integer index to be looked up in the map
UnknownValueException
- if the value of the attribute is missing or unknown
InvalidTypeException
- if the attribute does not have a collection type or the value of the attribute is not of type int
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final int getFactAttributeInt(IConcept lhsConcept, java.lang.String attributeName, java.lang.String key) throws UnknownValueException, InvalidTypeException, ExternalException
lhsConcept
- an IConcept whose attribute value is to be retrievedattributeName
- the String name of the attribute whose value is to be retrievedkey
- the String key to be looked up in the map
UnknownValueException
- if the value of the attribute is missing or unknown
InvalidTypeException
- if the attribute does not have a collection type or the value of the attribute is not of type int
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final char getFactAttributeChar(IConcept lhsConcept, java.lang.String attributeName) throws UnknownValueException, InvalidTypeException, ExternalException
lhsConcept
- an IConcept whose attribute value is to be retrievedattributeName
- the String name of the attribute whose value is to be retrieved
UnknownValueException
- if the value of the attribute is missing or unknown
InvalidTypeException
- if the attribute's value cannot be converted to char
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final char getFactAttributeChar(IConcept lhsConcept, java.lang.String attributeName, int index) throws UnknownValueException, InvalidTypeException, ExternalException
lhsConcept
- an IConcept whose attribute value is to be retrievedattributeName
- the String name of the attribute whose value is to be retrievedindex
- the integer index to be looked up in the map
UnknownValueException
- if the value of the attribute is missing or unknown
InvalidTypeException
- if the attribute does not have a collection type or the value of the attribute is not of type char
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final char getFactAttributeChar(IConcept lhsConcept, java.lang.String attributeName, java.lang.String key) throws UnknownValueException, InvalidTypeException, ExternalException
lhsConcept
- an IConcept whose attribute value is to be retrievedattributeName
- the String name of the attribute whose value is to be retrievedkey
- the String key to be looked up in the map
UnknownValueException
- if the value of the attribute is missing or unknown
InvalidTypeException
- if the attribute does not have a collection type or the value of the attribute is not of type char
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final byte getFactAttributeByte(IConcept lhsConcept, java.lang.String attributeName) throws UnknownValueException, InvalidTypeException, ExternalException
lhsConcept
- an IConcept whose attribute value is to be retrievedattributeName
- the String name of the attribute whose value is to be retrieved
UnknownValueException
- if the value of the attribute is missing or unknown
InvalidTypeException
- if the attribute's value cannot be converted to byte
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final byte getFactAttributeByte(IConcept lhsConcept, java.lang.String attributeName, int index) throws UnknownValueException, InvalidTypeException, ExternalException
lhsConcept
- an IConcept whose attribute value is to be retrievedattributeName
- the String name of the attribute whose value is to be retrievedindex
- the integer index to be looked up in the map
UnknownValueException
- if the value of the attribute is missing or unknown
InvalidTypeException
- if the attribute does not have a collection type or the value of the attribute is not of type byte
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final byte getFactAttributeByte(IConcept lhsConcept, java.lang.String attributeName, java.lang.String key) throws UnknownValueException, InvalidTypeException, ExternalException
lhsConcept
- an IConcept whose attribute value is to be retrievedattributeName
- the String name of the attribute whose value is to be retrievedkey
- the String key to be looked up in the map
UnknownValueException
- if the value of the attribute is missing or unknown
InvalidTypeException
- if the attribute does not have a collection type or the value of the attribute is not of type byte
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final short getFactAttributeShort(IConcept lhsConcept, java.lang.String attributeName) throws UnknownValueException, InvalidTypeException, ExternalException
lhsConcept
- an IConcept whose attribute value is to be retrievedattributeName
- the String name of the attribute whose value is to be retrieved
UnknownValueException
- if the value of the attribute is missing or unknown
InvalidTypeException
- if the attribute's value cannot be converted to short
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final short getFactAttributeShort(IConcept lhsConcept, java.lang.String attributeName, int index) throws UnknownValueException, InvalidTypeException, ExternalException
lhsConcept
- an IConcept whose attribute value is to be retrievedattributeName
- the String name of the attribute whose value is to be retrievedindex
- the integer index to be looked up in the map
UnknownValueException
- if the value of the attribute is missing or unknown
InvalidTypeException
- if the attribute does not have a collection type or the value of the attribute is not of type short
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final short getFactAttributeShort(IConcept lhsConcept, java.lang.String attributeName, java.lang.String key) throws UnknownValueException, InvalidTypeException, ExternalException
lhsConcept
- an IConcept whose attribute value is to be retrievedattributeName
- the String name of the attribute whose value is to be retrievedkey
- the String key to be looked up in the map
UnknownValueException
- if the value of the attribute is missing or unknown
InvalidTypeException
- if the attribute does not have a collection type or the value of the attribute is not of type short
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final long getFactAttributeLong(IConcept lhsConcept, java.lang.String attributeName) throws UnknownValueException, InvalidTypeException, ExternalException
lhsConcept
- an IConcept whose attribute value is to be retrievedattributeName
- the String name of the attribute whose value is to be retrieved
UnknownValueException
- if the value of the attribute is missing or unknown
InvalidTypeException
- if the value of the attribute is not of type long
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final long getFactAttributeLong(IConcept lhsConcept, java.lang.String attributeName, int index) throws UnknownValueException, InvalidTypeException, ExternalException
lhsConcept
- an IConcept whose attribute value is to be retrievedattributeName
- the String name of the attribute whose value is to be retrievedindex
- the integer index to be looked up in the map
UnknownValueException
- if the value of the attribute is missing or unknown
InvalidTypeException
- if the attribute does not have a collection type or the value of the attribute is not of type long
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final long getFactAttributeLong(IConcept lhsConcept, java.lang.String attributeName, java.lang.String key) throws UnknownValueException, InvalidTypeException, ExternalException
lhsConcept
- an IConcept whose attribute value is to be retrievedattributeName
- the String name of the attribute whose value is to be retrievedkey
- the String key to be looked up in the map
UnknownValueException
- if the value of the attribute is missing or unknown
InvalidTypeException
- if the attribute does not have a collection type or the value of the attribute is not of type long
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final float getFactAttributeFloat(IConcept lhsConcept, java.lang.String attributeName) throws UnknownValueException, InvalidTypeException, ExternalException
lhsConcept
- an IConcept whose attribute value is to be retrievedattributeName
- the String name of the attribute whose value is to be retrieved
UnknownValueException
- if the value of the attribute is missing or unknown
InvalidTypeException
- if the attribute's cannot be converted to float
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final float getFactAttributeFloat(IConcept lhsConcept, java.lang.String attributeName, int index) throws UnknownValueException, InvalidTypeException, ExternalException
lhsConcept
- an IConcept whose attribute value is to be retrievedattributeName
- the String name of the attribute whose value is to be retrievedindex
- the integer index to be looked up in the map
UnknownValueException
- if the value of the attribute is missing or unknown
InvalidTypeException
- if the attribute does not have a collection type or the value of the attribute is not of type float
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final float getFactAttributeFloat(IConcept lhsConcept, java.lang.String attributeName, java.lang.String key) throws UnknownValueException, InvalidTypeException, ExternalException
lhsConcept
- an IConcept whose attribute value is to be retrievedattributeName
- the String name of the attribute whose value is to be retrievedkey
- the String key to be looked up in the map
UnknownValueException
- if the value of the attribute is missing or unknown
InvalidTypeException
- if the attribute does not have a collection type or the value of the attribute is not of type float
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final double getFactAttributeDouble(IConcept lhsConcept, java.lang.String attributeName) throws UnknownValueException, InvalidTypeException, ExternalException
lhsConcept
- an IConcept whose attribute value is to be retrievedattributeName
- the String name of the attribute whose value is to be retrieved
UnknownValueException
- if the value of the attribute is missing or unknown
InvalidTypeException
- if the value of the attribute is not of type double
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final double getFactAttributeDouble(IConcept lhsConcept, java.lang.String attributeName, int index) throws UnknownValueException, InvalidTypeException, ExternalException
lhsConcept
- an IConcept whose attribute value is to be retrievedattributeName
- the String name of the attribute whose value is to be retrievedindex
- the integer index to be looked up in the map
UnknownValueException
- if the value of the attribute is missing or unknown
InvalidTypeException
- if the attribute does not have a collection type or the value of the attribute is not of type double
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final double getFactAttributeDouble(IConcept lhsConcept, java.lang.String attributeName, java.lang.String key) throws UnknownValueException, InvalidTypeException, ExternalException
lhsConcept
- an IConcept whose attribute value is to be retrievedattributeName
- the String name of the attribute whose value is to be retrievedkey
- the String key to be looked up in the map
UnknownValueException
- if the value of the attribute is missing or unknown
InvalidTypeException
- if the attribute does not have a collection type or the value of the attribute is not of type double
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final boolean getFactAttributeBoolean(IConcept lhsConcept, java.lang.String attributeName) throws UnknownValueException, InvalidTypeException, ExternalException
lhsConcept
- an IConcept whose attribute value is to be retrievedattributeName
- the String name of the attribute whose value is to be retrieved
UnknownValueException
- if the value of the attribute is missing or unknown
InvalidTypeException
- if the value of the attribute is not of type boolean
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final boolean getFactAttributeBoolean(IConcept lhsConcept, java.lang.String attributeName, int index) throws UnknownValueException, InvalidTypeException, ExternalException
lhsConcept
- an IConcept whose attribute value is to be retrievedattributeName
- the String name of the attribute whose value is to be retrievedindex
- the integer index to be looked up in the map
UnknownValueException
- if the value of the attribute is missing or unknown
InvalidTypeException
- if the attribute does not have a collection type or the value of the attribute is not of type boolean
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final boolean getFactAttributeBoolean(IConcept lhsConcept, java.lang.String attributeName, java.lang.String key) throws UnknownValueException, InvalidTypeException, ExternalException
lhsConcept
- an IConcept whose attribute value is to be retrievedattributeName
- the String name of the attribute whose value is to be retrievedkey
- the String key to be looked up in the map
UnknownValueException
- if the value of the attribute is missing or unknown
InvalidTypeException
- if the attribute does not have a collection type or the value of the attribute is not of type boolean
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final java.lang.String getFactAttributeString(IConcept lhsConcept, java.lang.String attributeName) throws UnknownValueException, InvalidTypeException, ExternalException
lhsConcept
- an IConcept whose attribute value is to be retrievedattributeName
- the String name of the attribute whose value is to be retrieved
UnknownValueException
- if the value of the attribute is missing or unknown
InvalidTypeException
- if the value of the attribute is not a string
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final java.lang.String getFactAttributeString(IConcept lhsConcept, java.lang.String attributeName, int index) throws UnknownValueException, InvalidTypeException, ExternalException
lhsConcept
- an IConcept whose attribute value is to be retrievedattributeName
- the String name of the attribute whose value is to be retrievedindex
- the integer index to be looked up in the map
UnknownValueException
- if the value of the attribute is missing or unknown
InvalidTypeException
- if the attribute does not have a collection type or the value of the attribute is not a string
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final java.lang.String getFactAttributeString(IConcept lhsConcept, java.lang.String attributeName, java.lang.String key) throws UnknownValueException, InvalidTypeException, ExternalException
lhsConcept
- an IConcept whose attribute value is to be retrievedattributeName
- the String name of the attribute whose value is to be retrievedkey
- the String key to be looked up in the map
UnknownValueException
- if the value of the attribute is missing or unknown
InvalidTypeException
- if the attribute does not have a collection type or the value of the attribute is not a string
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final java.io.Serializable getFactAttributeJava(IConcept lhsConcept, java.lang.String attributeName) throws UnknownValueException, InvalidTypeException, ExternalException
lhsConcept
- an IConcept whose attribute value is to be retrievedattributeName
- the String name of the attribute whose value is to be retrieved
UnknownValueException
- if the value of the attribute is missing or unknown
InvalidTypeException
- if the value of the attribute is not of type Serializable
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final java.io.Serializable getFactAttributeJava(IConcept lhsConcept, java.lang.String attributeName, int index) throws UnknownValueException, InvalidTypeException, ExternalException
lhsConcept
- an IConcept whose attribute value is to be retrievedattributeName
- the String name of the attribute whose value is to be retrievedindex
- the integer index to be looked up in the map
UnknownValueException
- if the value of the attribute is missing or unknown
InvalidTypeException
- if the attribute does not have a collection type or the value of the attribute is not of type Serializable
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final java.io.Serializable getFactAttributeJava(IConcept lhsConcept, java.lang.String attributeName, java.lang.String key) throws UnknownValueException, InvalidTypeException, ExternalException
lhsConcept
- an IConcept whose attribute value is to be retrievedattributeName
- the String name of the attribute whose value is to be retrievedkey
- the String key to be looked up in the map
UnknownValueException
- if the value of the attribute is missing or unknown
InvalidTypeException
- if the attribute does not have a collection type or the value of the attribute is not of type Serializable
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final IConcept getFactAttributeConcept(IConcept lhsConcept, java.lang.String attributeName) throws UnknownValueException, InvalidTypeException, ExternalException
lhsConcept
- an IConcept whose attribute value is to be retrievedattributeName
- the String name of the attribute whose value is to be retrieved
UnknownValueException
- if the value of the attribute is missing or unknown
InvalidTypeException
- if the value of the attribute is not a concept
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final IConcept getFactAttributeConcept(IConcept lhsConcept, java.lang.String attributeName, int index) throws UnknownValueException, InvalidTypeException, ExternalException
lhsConcept
- an IConcept whose attribute value is to be retrievedattributeName
- the String name of the attribute whose value is to be retrievedindex
- the integer index to be looked up in the map
UnknownValueException
- if the value of the attribute is missing or unknown
InvalidTypeException
- if the attribute does not have a collection type or the value of the attribute is not a concept
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final IConcept getFactAttributeConcept(IConcept lhsConcept, java.lang.String attributeName, java.lang.String key) throws UnknownValueException, InvalidTypeException, ExternalException
lhsConcept
- an IConcept whose attribute value is to be retrievedattributeName
- the String name of the attribute whose value is to be retrievedkey
- the String key to be looked up in the map
UnknownValueException
- if the value of the attribute is missing or unknown
InvalidTypeException
- if the attribute does not have a collection type or the value of the attribute is not a concept
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final java.util.Map<java.lang.Object,java.lang.Object> getFactAttributeMap(IConcept lhsConcept, java.lang.String attributeName, boolean includeUnknown) throws InvalidTypeException, ExternalException
lhsConcept
- an IConcept whose map attribute values are to be retrievedattributeName
- the String name of the map attribute whose values are to be retrievedincludeUnknown
- true if unknown values should be included in the map entries
InvalidTypeException
- if the attribute is not a map attribute
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final java.util.SortedMap<java.lang.Object,java.lang.Object> getFactAttributeSortedMap(IConcept lhsConcept, java.lang.String attributeName, boolean includeUnknown) throws InvalidTypeException, ExternalException
lhsConcept
- an IConcept whose map attribute values are to be retrievedattributeName
- the String name of the map attribute whose values are to be retrievedincludeUnknown
- true if unknown values should be included in the map entries
InvalidTypeException
- if the attribute is not a map attribute
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final java.lang.Object getFactAttributeValue(IConcept lhsConcept, java.lang.String attributeName) throws ExternalException
lhsConcept
- an IConcept whose attribute value is to be retrievedattributeName
- the String name of the attribute whose value is to be retrieved
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final java.lang.Object getFactAttributeValue(IConcept lhsConcept, java.lang.String attributeName, int index) throws InvalidTypeException, ExternalException
lhsConcept
- an IConcept whose attribute value is to be retrievedattributeName
- the String name of the attribute whose value is to be retrievedindex
- the integer index to be looked up in the map
InvalidTypeException
- if the attribute does not have a collection type
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final java.lang.Object getFactAttributeValue(IConcept lhsConcept, java.lang.String attributeName, java.lang.String key) throws InvalidTypeException, ExternalException
lhsConcept
- an IConcept whose attribute value is to be retrievedattributeName
- the String name of the attribute whose value is to be retrievedkey
- the String key to be looked up in the map
InvalidTypeException
- if the attribute does not have a collection type
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final boolean hasFactAttributeAnyValue(IConcept lhsConcept, java.lang.String attributeName, boolean includeUnknown) throws ExternalException
lhsConcept
- an IConcept whose attribute value is to be checkedattributeName
- the String name of the attribute whose value is to be checkedincludeUnknown
- true if the unknown value is counted, else false
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final boolean hasFactAttributeAnyValue(IConcept lhsConcept, java.lang.String attributeName, int index, boolean includeUnknown) throws InvalidTypeException, ExternalException
lhsConcept
- an IConcept whose attribute value is to be checkedattributeName
- the String name of the attribute whose value is to be checkedindex
- the integer index to be looked up in the mapincludeUnknown
- true if the unknown value is counted, else false
InvalidTypeException
- if the attribute does not have a collection type
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final boolean hasFactAttributeAnyValue(IConcept lhsConcept, java.lang.String attributeName, java.lang.String key, boolean includeUnknown) throws InvalidTypeException, ExternalException
lhsConcept
- an IConcept whose attribute value is to be checkedattributeName
- the String name of the attribute whose value is to be checkedkey
- the String key to be looked up in the mapincludeUnknown
- true if the unknown value is counted, else false
InvalidTypeException
- if the attribute does not have a collection type
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final boolean hasFactAttributeValue(IConcept lhsConcept, java.lang.String attributeName, java.lang.Object value) throws ExternalException
lhsConcept
- an IConcept whose attribute value is to be checkedattributeName
- the String name of the attribute whose value is to be checkedvalue
- an Object to be compared for equality to the current value of the attribute, if any
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final boolean hasFactAttributeValue(IConcept lhsConcept, java.lang.String attributeName, int index, java.lang.Object value) throws InvalidTypeException, ExternalException
lhsConcept
- an IConcept whose attribute value is to be checkedattributeName
- the String name of the attribute whose value is to be checkedindex
- the integer index to be looked up in the mapvalue
- an Object to be compared for equality to the current value of the attribute for the index, if any
InvalidTypeException
- if the attribute does not have a collection type
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final boolean hasFactAttributeValue(IConcept lhsConcept, java.lang.String attributeName, java.lang.String key, java.lang.Object value) throws InvalidTypeException, ExternalException
lhsConcept
- an IConcept whose attribute value is to be checkedattributeName
- the String name of the attribute whose value is to be checkedkey
- the String key to be looked up in the mapvalue
- an Object to be compared for equality to the current value of the attribute for the key, if any
InvalidTypeException
- if the attribute does not have a collection type
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final void setFactAttributeInt(IConcept lhsConcept, java.lang.String attributeName, int value) throws InvalidTypeException, ExternalException
lhsConcept
- an IConcept to be given a new value for an attributeattributeName
- the String name of the attributevalue
- the new int value for the attribute
InvalidTypeException
- if the attribute does not have a compatible type
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final void setFactAttributeInt(IConcept lhsConcept, java.lang.String attributeName, int index, int value) throws InvalidTypeException, ExternalException
lhsConcept
- an IConcept to be given a new value for an attributeattributeName
- the String name of the attributeindex
- the integer index to be set to a value in the mapvalue
- the new int value for the attribute
InvalidTypeException
- if the attribute does not have a collection type
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final void setFactAttributeInt(IConcept lhsConcept, java.lang.String attributeName, java.lang.String key, int value) throws InvalidTypeException, ExternalException
lhsConcept
- an IConcept to be given a new value for an attributeattributeName
- the String name of the attributekey
- the String key to be set to a value in the mapvalue
- the new int value for the attribute
InvalidTypeException
- if the attribute does not have a collection type
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final void setFactAttributeChar(IConcept lhsConcept, java.lang.String attributeName, char value) throws InvalidTypeException, ExternalException
lhsConcept
- an IConcept to be given a new value for an attributeattributeName
- the String name of the attributevalue
- the new char value for the attribute
InvalidTypeException
- if the attribute does not have a compatible type
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final void setFactAttributeChar(IConcept lhsConcept, java.lang.String attributeName, int index, char value) throws InvalidTypeException, ExternalException
lhsConcept
- an IConcept to be given a new value for an attributeattributeName
- the String name of the attributeindex
- the integer index to be set to a value in the mapvalue
- the new char value for the attribute
InvalidTypeException
- if the attribute does not have a collection type
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final void setFactAttributeChar(IConcept lhsConcept, java.lang.String attributeName, java.lang.String key, char value) throws InvalidTypeException, ExternalException
lhsConcept
- an IConcept to be given a new value for an attributeattributeName
- the String name of the attributekey
- the String key to be set to a value in the mapvalue
- the new char value for the attribute
InvalidTypeException
- if the attribute does not have a collection type
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final void setFactAttributeByte(IConcept lhsConcept, java.lang.String attributeName, byte value) throws InvalidTypeException, ExternalException
lhsConcept
- an IConcept to be given a new value for an attributeattributeName
- the String name of the attributevalue
- the new byte value for the attribute
InvalidTypeException
- if the attribute does not have a compatible type
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final void setFactAttributeByte(IConcept lhsConcept, java.lang.String attributeName, int index, byte value) throws InvalidTypeException, ExternalException
lhsConcept
- an IConcept to be given a new value for an attributeattributeName
- the String name of the attributeindex
- the integer index to be set to a value in the mapvalue
- the new byte value for the attribute
InvalidTypeException
- if the attribute does not have a collection type
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final void setFactAttributeByte(IConcept lhsConcept, java.lang.String attributeName, java.lang.String key, byte value) throws InvalidTypeException, ExternalException
lhsConcept
- an IConcept to be given a new value for an attributeattributeName
- the String name of the attributekey
- the String key to be set to a value in the mapvalue
- the new byte value for the attribute
InvalidTypeException
- if the attribute does not have a collection type
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final void setFactAttributeShort(IConcept lhsConcept, java.lang.String attributeName, short value) throws InvalidTypeException, ExternalException
lhsConcept
- an IConcept to be given a new value for an attributeattributeName
- the String name of the attributevalue
- the new short value for the attribute
InvalidTypeException
- if the attribute does not have a compatible type
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final void setFactAttributeShort(IConcept lhsConcept, java.lang.String attributeName, int index, short value) throws InvalidTypeException, ExternalException
lhsConcept
- an IConcept to be given a new value for an attributeattributeName
- the String name of the attributeindex
- the integer index to be set to a value in the mapvalue
- the new short value for the attribute
InvalidTypeException
- if the attribute does not have a collection type
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final void setFactAttributeShort(IConcept lhsConcept, java.lang.String attributeName, java.lang.String key, short value) throws InvalidTypeException, ExternalException
lhsConcept
- an IConcept to be given a new value for an attributeattributeName
- the String name of the attributekey
- the String key to be set to a value in the mapvalue
- the new short value for the attribute
InvalidTypeException
- if the attribute does not have a collection type
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final void setFactAttributeLong(IConcept lhsConcept, java.lang.String attributeName, long value) throws InvalidTypeException, ExternalException
lhsConcept
- an IConcept to be given a new value for an attributeattributeName
- the String name of the attributevalue
- the new long value for the attribute
InvalidTypeException
- if the attribute does not have a compatible type
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final void setFactAttributeLong(IConcept lhsConcept, java.lang.String attributeName, int index, long value) throws InvalidTypeException, ExternalException
lhsConcept
- an IConcept to be given a new value for an attributeattributeName
- the String name of the attributeindex
- the integer index to be set to a value in the mapvalue
- the new long value for the attribute
InvalidTypeException
- if the attribute does not have a collection type
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final void setFactAttributeLong(IConcept lhsConcept, java.lang.String attributeName, java.lang.String key, long value) throws InvalidTypeException, ExternalException
lhsConcept
- an IConcept to be given a new value for an attributeattributeName
- the String name of the attributekey
- the String key to be set to a value in the mapvalue
- the new long value for the attribute
InvalidTypeException
- if the attribute does not have a collection type
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final void setFactAttributeFloat(IConcept lhsConcept, java.lang.String attributeName, float value) throws InvalidTypeException, ExternalException
lhsConcept
- an IConcept to be given a new value for an attributeattributeName
- the String name of the attributevalue
- the new float value for the attribute
InvalidTypeException
- if the attribute does not have a compatible type
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final void setFactAttributeFloat(IConcept lhsConcept, java.lang.String attributeName, int index, float value) throws InvalidTypeException, ExternalException
lhsConcept
- an IConcept to be given a new value for an attributeattributeName
- the String name of the attributeindex
- the integer index to be set to a value in the mapvalue
- the new float value for the attribute
InvalidTypeException
- if the attribute does not have a collection type
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final void setFactAttributeFloat(IConcept lhsConcept, java.lang.String attributeName, java.lang.String key, float value) throws InvalidTypeException, ExternalException
lhsConcept
- an IConcept to be given a new value for an attributeattributeName
- the String name of the attributekey
- the String key to be set to a value in the mapvalue
- the new float value for the attribute
InvalidTypeException
- if the attribute does not have a collection type
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final void setFactAttributeDouble(IConcept lhsConcept, java.lang.String attributeName, double value) throws InvalidTypeException, ExternalException
lhsConcept
- an IConcept to be given a new value for an attributeattributeName
- the String name of the attributevalue
- the new double value for the attribute
InvalidTypeException
- if the attribute does not have a compatible type
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final void setFactAttributeDouble(IConcept lhsConcept, java.lang.String attributeName, int index, double value) throws InvalidTypeException, ExternalException
lhsConcept
- an IConcept to be given a new value for an attributeattributeName
- the String name of the attributeindex
- the integer index to be set to a value in the mapvalue
- the new double value for the attribute
InvalidTypeException
- if the attribute does not have a collection type
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final void setFactAttributeDouble(IConcept lhsConcept, java.lang.String attributeName, java.lang.String key, double value) throws InvalidTypeException, ExternalException
lhsConcept
- an IConcept to be given a new value for an attributeattributeName
- the String name of the attributekey
- the String key to be set to a value in the mapvalue
- the new double value for the attribute
InvalidTypeException
- if the attribute does not have a collection type
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final void setFactAttributeBoolean(IConcept lhsConcept, java.lang.String attributeName, boolean value) throws InvalidTypeException, ExternalException
lhsConcept
- an IConcept to be given a new value for an attributeattributeName
- the String name of the attributevalue
- the new boolean value for the attribute
InvalidTypeException
- if the attribute does not have a compatible type
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final void setFactAttributeBoolean(IConcept lhsConcept, java.lang.String attributeName, int index, boolean value) throws InvalidTypeException, ExternalException
lhsConcept
- an IConcept to be given a new value for an attributeattributeName
- the String name of the attributeindex
- the integer index to be set to a value in the mapvalue
- the new boolean value for the attribute
InvalidTypeException
- if the attribute does not have a collection type
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final void setFactAttributeBoolean(IConcept lhsConcept, java.lang.String attributeName, java.lang.String key, boolean value) throws InvalidTypeException, ExternalException
lhsConcept
- an IConcept to be given a new value for an attributeattributeName
- the String name of the attributekey
- the String key to be set to a value in the mapvalue
- the new boolean value for the attribute
InvalidTypeException
- if the attribute does not have a collection type
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final void setFactAttributeString(IConcept lhsConcept, java.lang.String attributeName, java.lang.String value) throws InvalidTypeException, ExternalException
lhsConcept
- an IConcept to be given a new value for an attributeattributeName
- the String name of the attributevalue
- a String for the new value
InvalidTypeException
- if the attribute does not have a compatible type
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final void setFactAttributeString(IConcept lhsConcept, java.lang.String attributeName, int index, java.lang.String value) throws InvalidTypeException, ExternalException
lhsConcept
- an IConcept to be given a new value for an attributeattributeName
- the String name of the attributeindex
- the integer index to be set to a value in the mapvalue
- the new String value for the attribute
InvalidTypeException
- if the attribute does not have a collection type
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final void setFactAttributeString(IConcept lhsConcept, java.lang.String attributeName, java.lang.String key, java.lang.String value) throws InvalidTypeException, ExternalException
lhsConcept
- an IConcept to be given a new value for an attributeattributeName
- the String name of the attributekey
- the String key to be set to a value in the mapvalue
- the new String value for the attribute
InvalidTypeException
- if the attribute does not have a collection type
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final void setFactAttributeSymbol(IConcept lhsConcept, java.lang.String attributeName, java.lang.String value) throws InvalidTypeException, ExternalException
lhsConcept
- an IConcept to be given a new value for an attributeattributeName
- the String name of the attributevalue
- a String for the new value
InvalidTypeException
- if the attribute does not have a compatible type or the value is not a valid symbol
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final void setFactAttributeSymbol(IConcept lhsConcept, java.lang.String attributeName, int index, java.lang.String value) throws InvalidTypeException, ExternalException
lhsConcept
- an IConcept to be given a new value for an attributeattributeName
- the String name of the attributeindex
- the integer index to be set to a value in the mapvalue
- the new String value for the attribute
InvalidTypeException
- if the attribute does not have a collection type or the value is not a valid symbol
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final void setFactAttributeSymbol(IConcept lhsConcept, java.lang.String attributeName, java.lang.String key, java.lang.String value) throws InvalidTypeException, ExternalException
lhsConcept
- an IConcept to be given a new value for an attributeattributeName
- the String name of the attributekey
- the String key to be set to a value in the mapvalue
- the new String value for the attribute
InvalidTypeException
- if the attribute does not have a collection type or the value is not a valid symbol
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final void setFactAttributeJava(IConcept lhsConcept, java.lang.String attributeName, java.io.Serializable value) throws InvalidTypeException, ExternalException
lhsConcept
- an IConcept to be given a new value for an attributeattributeName
- the String name of the attributevalue
- the new Java Serializable value for the attribute
InvalidTypeException
- if the attribute does not have a compatible type
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final void setFactAttributeJava(IConcept lhsConcept, java.lang.String attributeName, int index, java.io.Serializable value) throws InvalidTypeException, ExternalException
lhsConcept
- an IConcept to be given a new value for an attributeattributeName
- the String name of the attributeindex
- the integer index to be set to a value in the mapvalue
- the new Java Serializable value for the attribute
InvalidTypeException
- if the attribute does not have a collection type
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final void setFactAttributeJava(IConcept lhsConcept, java.lang.String attributeName, java.lang.String key, java.io.Serializable value) throws InvalidTypeException, ExternalException
lhsConcept
- an IConcept to be given a new value for an attributeattributeName
- the String name of the attributekey
- the String key to be set to a value in the mapvalue
- the new Java Serializable value for the attribute
InvalidTypeException
- if the attribute does not have a collection type
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final void setFactAttributeJava(IConcept lhsConcept, java.lang.String attributeName, java.lang.Object value) throws InvalidTypeException, ExternalException
lhsConcept
- an IConcept to be given a new value for an attributeattributeName
- the String name of the attributevalue
- the new Java Object value for the attribute
InvalidTypeException
- if the attribute does not have a compatible type
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final void setFactAttributeJava(IConcept lhsConcept, java.lang.String attributeName, int index, java.lang.Object value) throws InvalidTypeException, ExternalException
lhsConcept
- an IConcept to be given a new value for an attributeattributeName
- the String name of the attributeindex
- the integer index to be set to a value in the mapvalue
- the new Java Object value for the attribute
InvalidTypeException
- if the attribute does not have a collection type
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final void setFactAttributeJava(IConcept lhsConcept, java.lang.String attributeName, java.lang.String key, java.lang.Object value) throws InvalidTypeException, ExternalException
lhsConcept
- an IConcept to be given a new value for an attributeattributeName
- the String name of the attributekey
- the String key to be set to a value in the mapvalue
- the new Java Object value for the attribute
InvalidTypeException
- if the attribute does not have a collection type
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final void setFactAttributeConcept(IConcept lhsConcept, java.lang.String attributeName, IConcept value) throws InvalidTypeException, ExternalException
lhsConcept
- an IConcept to be given a new value for an attributeattributeName
- the String name of the attributevalue
- the new IConcept value for the attribute
InvalidTypeException
- if the attribute does not have a compatible type
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final void setFactAttributeConcept(IConcept lhsConcept, java.lang.String attributeName, int index, IConcept value) throws InvalidTypeException, ExternalException
lhsConcept
- an IConcept to be given a new value for an attributeattributeName
- the String name of the attributeindex
- the integer index to be set to a value in the mapvalue
- the new IConcept value for the attribute
InvalidTypeException
- if the attribute does not have a collection type
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final void setFactAttributeConcept(IConcept lhsConcept, java.lang.String attributeName, java.lang.String key, IConcept value) throws InvalidTypeException, ExternalException
lhsConcept
- an IConcept to be given a new value for an attributeattributeName
- the String name of the attributekey
- the String key to be set to a value in the mapvalue
- the new IConcept value for the attribute
InvalidTypeException
- if the attribute does not have a collection type
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final void setFactAttributeUnknown(IConcept lhsConcept, java.lang.String attributeName) throws InvalidTypeException, ExternalException
lhsConcept
- an IConcept to be given a new value for an attributeattributeName
- the String name of the attribute
InvalidTypeException
- if the attribute does not have a compatible type
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final void setFactAttributeUnknown(IConcept lhsConcept, java.lang.String attributeName, int index) throws InvalidTypeException, ExternalException
lhsConcept
- an IConcept to be given a new value for an attributeattributeName
- the String name of the attributeindex
- the integer index to be set to 'unknown' in the map
InvalidTypeException
- if the attribute does not have a collection type
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final void setFactAttributeUnknown(IConcept lhsConcept, java.lang.String attributeName, java.lang.String key) throws InvalidTypeException, ExternalException
lhsConcept
- an IConcept to be given a new value for an attributeattributeName
- the String name of the attributekey
- the String key to be set to 'unknown' in the map
InvalidTypeException
- if the attribute does not have a collection type
ExternalException
- if the concept does not have the named attribute or an internal error occursprotected final java.util.List<IConcept> getFactRelationConcepts(IConcept lhsConcept, java.lang.String relationName) throws ExternalException
lhsConcept
- an IConcept whose values for a relation are to be retrievedrelationName
- a String name for a relation defined for lhsConcept
ExternalException
- if no attribute with the specified name is defined for this concept or an internal error occursprotected final boolean hasFactRelationAnyValue(IConcept lhsConcept, java.lang.String relationName, boolean includeUnknown) throws ExternalException
lhsConcept
- an IConcept whose relation to another concept is to be checkedrelationName
- a String name for a relation defined for lhsConceptincludeUnknown
- true if the unknown value is counted, else false
ExternalException
- if no relation with the specified name is defined for this concept or an internal error occursprotected final boolean hasFactRelationValue(IConcept lhsConcept, java.lang.String relationName, java.lang.Object value) throws ExternalException
lhsConcept
- an IConcept whose values for a relation are to be checkedrelationName
- a String name for a relation defined for lhsConceptvalue
- an Object to be tested for the right-hand side of the relation
ExternalException
- if no relation with the specified name is defined for this concept or an internal error occursprotected final void addFactRelationConcept(IConcept lhsConcept, java.lang.String relationName, IConcept value) throws ExternalException
lhsConcept
- an IConcept that gets a new concept related to itrelationName
- a String name for a relation defined for lhsConceptvalue
- the IConcept to be added to lhsConcept's relation
ExternalException
- if the concept does not have the named relation or an internal error occursprotected final void removeFactRelationConcept(IConcept lhsConcept, java.lang.String relationName, IConcept value) throws ExternalException
lhsConcept
- an IConcept that has the relation value removedrelationName
- a String name for a relation defined for lhsConceptvalue
- the IConcept to be removed from the lhsConcept's relation
ExternalException
- if the concept does not have the named relation or an internal error occursprotected final void setFactRelationUnknown(IConcept lhsConcept, java.lang.String relationName) throws ExternalException
lhsConcept
- an IConcept for which a relation is set to unknownrelationName
- a String name for a relation defined for lhsConcept
ExternalException
- if the concept does not have the named relation or an internal error occursprotected final java.util.List<IConcept> removeAllFactRelationValues(IConcept lhsConcept, java.lang.String relationName) throws ExternalException
lhsConcept
- an IConcept for which a relation is set to unknownrelationName
- a String name for a relation defined for lhsConcept
ExternalException
- if the concept does not have the named relation or an internal error occursprotected final void assertBelief(IBelief belief) throws ExternalException
belief
- the IBelief to be asserted
ExternalException
- if an internal error occursprotected final void retractBelief(IBelief belief) throws ExternalException
belief
- the IBelief to be asserted
ExternalException
- if an internal error occursprotected final void assertFact(IFact fact) throws ExternalException
fact
- the IFact to be asserted
ExternalException
- if an internal error occursprotected final void retractFact(IFact fact) throws ExternalException
fact
- the IFact to be retracted
ExternalException
- if an internal error occursprotected final void send(IBelief belief, IActiveInstance agent) throws ExternalException
belief
- the IBelief to be send to the specified agentagent
- the IActiveInstance to which to send the belief
ExternalException
- if an internal error occurs
protected final void send(IBelief belief, IActiveInstance[] agents) throws ExternalException
belief
- the IBelief to be send to the specified agentagents
- the list of IActiveInstance to which to send the belief
ExternalException
- if an internal error occurs
protected final void send(IBelief[] beliefs, IActiveInstance agent) throws ExternalException
beliefs
- the list of IBelief to be send to the specified agentagent
- the IActiveInstance to which to send the belief
ExternalException
- if an internal error occurs
protected final void send(IBelief[] beliefs, IActiveInstance[] agents) throws ExternalException
beliefs
- the list of IBelief to be send to the specified agentsagents
- the list of IActiveInstance to which to send the beliefs
ExternalException
- if an internal error occurs
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |