public class AbsIRE extends AbsObjectImpl implements AbsContentElement, AbsTerm
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 |
|---|
AbsIRE(java.lang.String typeName)
Construct an Abstract descriptor to hold a IRE of
the proper type (e.g.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getAbsType() |
static java.lang.Class |
getJavaClass() |
AbsPredicate |
getProposition()
Gets the proposition of this IRE.
|
AbsTerm |
getTerm()
Gets the variable term of this IRE.
|
AbsVariable |
getVariable()
Gets the variable of this IRE.
|
AbsAggregate |
getVariables()
Gets the sequence of variables of this IRE.
|
boolean |
isAContentExpression()
Return true if this Abstract Content Element represents a ContentExpression
of the SL Grammar (see also FIPA-SL specifications).
|
boolean |
isGrounded()
Redefine the
isGrounded() method in order to
always return false. |
void |
setIsAContentExpression(boolean flag)
Set the isAContentExpression flag to the passed value.
|
void |
setProposition(AbsPredicate proposition)
Sets the proposition of this IRE.
|
void |
setTerm(AbsTerm t)
Sets the variable term of this IRE.
|
void |
setVariable(AbsVariable variable)
Sets the variable of this IRE.
|
void |
setVariables(AbsAggregate variables)
Sets the sequence of variables of this IRE.
|
equals, getAbsObject, getCount, getNames, getTypeName, hashCode, set, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetAbsObject, getCount, getNames, getTypeNamepublic AbsIRE(java.lang.String typeName)
typeName - The name of the type of the IRE held by
this abstract descriptor.public void setVariable(AbsVariable variable)
variable - The abstract descriptor holding the variable.public void setVariables(AbsAggregate variables)
variables - The abstract descriptor holding the sequence of variables.public void setTerm(AbsTerm t)
t - The abstract descriptor holding the variable or sequence of variables.public void setProposition(AbsPredicate proposition)
proposition - The abstract descriptor holding the proposition.public AbsVariable getVariable()
public AbsAggregate getVariables()
public AbsTerm getTerm()
public AbsPredicate getProposition()
public boolean isGrounded()
isGrounded() method in order to
always return false. Infact an IRE always
includes a variable.isGrounded in interface AbsObjectisGrounded in class AbsObjectImpltrue if the object is grounded.AbsObject.isGrounded()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 AbsObjectImpl