|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--jade.content.abs.AbsObjectImpl
|
+--jade.content.abs.AbsIRE
An Abstract descriptor that can hold an Identifying Referential Expression (IRE). Note that an IRE is both a content element (as in the case of a QUERY-REF communicative act) and a Term (as in the case of (== (X) (iota ?x P(?x))
| Constructor Summary | |
AbsIRE(java.lang.String typeName)
Construct an Abstract descriptor to hold a IRE of the proper type (e.g. |
|
| Method Summary | |
boolean |
equals(java.lang.Object obj)
Returns true if the attribute is equal to this abstract descriptor, based on the contents of both descriptors. |
AbsObject |
getAbsObject(java.lang.String name)
Gets the value of an attribute of the object held by this abstract descriptor. |
int |
getCount()
Gets the number of attributes. |
static java.lang.Class |
getJavaClass()
|
java.lang.String[] |
getNames()
|
AbsPredicate |
getProposition()
Gets the proposition of this IRE. |
java.lang.String |
getTypeName()
|
AbsVariable |
getVariable()
Gets the variable of this IRE. |
int |
hashCode()
Returns an integer hashcode calculated from the contents of this abstract descriptor |
boolean |
isGrounded()
Redefine the isGrounded() method in order to
always return false. |
protected void |
set(java.lang.String name,
AbsObject value)
Sets an attribute of the object held by this abstract descriptor. |
void |
setProposition(AbsPredicate proposition)
Sets the proposition of this IRE. |
void |
setVariable(AbsVariable variable)
Sets the variable of this IRE. |
java.lang.String |
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 |
| Constructor Detail |
public AbsIRE(java.lang.String typeName)
typeName - The name of the type of the IRE held by
this abstract descriptor.| Method Detail |
public void setVariable(AbsVariable variable)
variable - The abstract descriptor holding the variable.public void setProposition(AbsPredicate proposition)
proposition - The abstract descriptor holding the proposition.public AbsVariable getVariable()
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 jade.content.abs.AbsObjectImpltrue if the object is grounded.public static java.lang.Class getJavaClass()
public java.lang.String getTypeName()
getTypeName in interface AbsObjectAbsObject.getTypeName()
protected void set(java.lang.String name,
AbsObject value)
name - The name of the attribute to be set.value - The new value of the attribute. If value
is null the current mapping with name (if any) is
removed.public AbsObject getAbsObject(java.lang.String name)
getAbsObject in interface AbsObjectname - The name of the attribute.
AbsObject.getAbsObject(String)public java.lang.String[] getNames()
getNames in interface AbsObjectAbsObject.getNames()public int getCount()
getCount in interface AbsObjectAbsObject.getCount()public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||