|
|||||||||||
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.AbsVariable
An abstract descriptor that can hold a variable expression, i.e. an entity that is not known yet.
Constructor Summary | |
AbsVariable()
Construct an Abstract descriptor to hold a variable |
|
AbsVariable(java.lang.String name,
java.lang.String valueType)
Construct an AbsVariable with the given name and value type |
Method Summary | |
static java.lang.Class |
getJavaClass()
|
java.lang.String |
getName()
Gets the name of this variable. |
java.lang.String |
getType()
Gets the value type of this variable. |
boolean |
isGrounded()
Redefine the isGrounded() method in order to
always return false . |
boolean |
isMetaTerm()
Return true if this object represents a meta term (i.e. symbol ?? |
void |
setIsMetaTerm(boolean isMeta)
Sets the value of isMetaTerm, where the default is false. |
void |
setName(java.lang.String name)
Sets the name of this variable. |
void |
setType(java.lang.String valueType)
Sets the value type of this variable. |
Methods inherited from class jade.content.abs.AbsObjectImpl |
equals, getAbsObject, getCount, getNames, getTypeName, hashCode, set, 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 AbsVariable()
public AbsVariable(java.lang.String name, java.lang.String valueType)
name
- The name of the variable.valueType
- The type of values that can be assigned to
this variable.Method Detail |
public void setName(java.lang.String name)
name
- The new name of this variable.public void setType(java.lang.String valueType)
valueType
- The type of values that can be assigned to
this variable.public java.lang.String getName()
public java.lang.String getType()
public boolean isGrounded()
isGrounded()
method in order to
always return false
.
isGrounded
in interface AbsObject
isGrounded
in class AbsObjectImpl
true
if the object is grounded.public static java.lang.Class getJavaClass()
public final boolean isMetaTerm()
public final void setIsMetaTerm(boolean isMeta)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |