public class AbsAgentAction extends AbsConcept implements AbsContentElement, AgentAction
ABS_AGENT_ACTION, ABS_AGGREGATE, ABS_CONCEPT, ABS_CONCEPT_SLOT_FUNCTION, ABS_CONTENT_ELEMENT_LIST, ABS_IRE, ABS_PREDICATE, ABS_PRIMITIVE, ABS_VARIABLE, UNKNOWN| Constructor and Description |
|---|
AbsAgentAction(java.lang.String typeName)
Construct an Abstract descriptor to hold an agent action of
the proper type, e.g.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getAbsType() |
static java.lang.Class |
getJavaClass() |
boolean |
isAContentExpression()
Return true if this Abstract Content Element represents a ContentExpression
of the SL Grammar (see also FIPA-SL specifications).
|
void |
set(java.lang.String name,
AbsPredicate value)
Set an attribute of the agent action held by this
abstract descriptor.
|
void |
setIsAContentExpression(boolean flag)
Set the isAContentExpression flag to the passed value.
|
getAbsTerm, setgetBoolean, getByteSequence, getDate, getDouble, getFloat, getInteger, getLong, getString, set, set, set, set, set, set, set, set, setequals, getAbsObject, getCount, getNames, getTypeName, hashCode, isGrounded, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetAbsObject, getCount, getNames, getTypeName, isGroundedpublic AbsAgentAction(java.lang.String typeName)
typeName - The name of the type of the agent action held by
this abstract descriptor.public void set(java.lang.String name,
AbsPredicate value)
name - The name of the attribute to be set.value - The new value of the attribute.public static java.lang.Class getJavaClass()
public boolean isAContentExpression()
AbsContentElementisAContentExpression in interface AbsContentElementAbsContent.isAContentExpressionpublic void setIsAContentExpression(boolean flag)
AbsContentElementsetIsAContentExpression in interface AbsContentElementflag - true if this Abstract Content Element represents a ContentExpression
of the SL Grammar (see also FIPA-SL specifications), false otherwiseAbsContent.setIsAContentExpression(boolean flag)public int getAbsType()
getAbsType in interface AbsObjectgetAbsType in class AbsConcept