|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjade.content.abs.AbsObjectImpl
jade.content.abs.AbsPrimitiveSlotsHolder
jade.content.abs.AbsPredicate
public class AbsPredicate
An abstract descriptor that can hold a predicate expression.
| Field Summary |
|---|
| Fields inherited from interface jade.content.abs.AbsObject |
|---|
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 Summary | |
|---|---|
AbsPredicate(java.lang.String typeName)
Construct an Abstract descriptor to hold a predicate of the proper type (e.g. |
|
| Method Summary | |
|---|---|
AbsTerm |
getAbsTerm(java.lang.String name)
Gets the value (casted as an AbsTerm) of an attribute of the predicate held by this abstract descriptor. |
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). |
boolean |
isMetaFormula()
Return true if this object represents a meta formula (symbol ?? |
void |
set(java.lang.String name,
AbsObject value)
Sets an attribute of the predicate held by this abstract descriptor. |
void |
setIsAContentExpression(boolean flag)
Set the isAContentExpression flag to the passed value. |
void |
setIsMetaFormula(boolean isMeta)
Sets the value of isMetaFormula, where the default is false. |
| Methods inherited from class jade.content.abs.AbsPrimitiveSlotsHolder |
|---|
getBoolean, getByteSequence, getDate, getDouble, getFloat, getInteger, getLong, getString, set, set, set, set, set, set, set, set |
| Methods inherited from class jade.content.abs.AbsObjectImpl |
|---|
equals, getAbsObject, getCount, getNames, getTypeName, hashCode, isGrounded, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface jade.content.abs.AbsObject |
|---|
getAbsObject, getCount, getNames, getTypeName, isGrounded |
| Constructor Detail |
|---|
public AbsPredicate(java.lang.String typeName)
typeName - The name of the type of the predicate held by
this abstract descriptor.| Method Detail |
|---|
public void set(java.lang.String name,
AbsObject value)
set in class AbsPrimitiveSlotsHoldername - The name of the attribute to be set.value - The new value of the attribute.public AbsTerm getAbsTerm(java.lang.String name)
name - The name of the attribute.
public static java.lang.Class getJavaClass()
public boolean isAContentExpression()
AbsContentElement
isAContentExpression in interface AbsContentElementAbsContentElement.isAContentExpressionpublic void setIsAContentExpression(boolean flag)
AbsContentElement
setIsAContentExpression in interface AbsContentElementflag - true if this Abstract Content Element represents a ContentExpression
of the SL Grammar (see also FIPA-SL specifications), false otherwiseAbsContentElement.setIsAContentExpression(boolean flag)public final boolean isMetaFormula()
public final void setIsMetaFormula(boolean isMeta)
public int getAbsType()
getAbsType in interface AbsObjectgetAbsType in class AbsObjectImpl
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||