jade.content.abs
Class AbsVariable
java.lang.Object
|
+--jade.content.abs.AbsObjectImpl
|
+--jade.content.abs.AbsVariable
- public class AbsVariable
- extends AbsObjectImpl
- implements AbsTerm
- Author:
- Federico Bergenti - Universita` di Parma
- See Also:
- Serialized Form
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 . |
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 java.lang.Object |
clone,
finalize,
getClass,
notify,
notifyAll,
wait,
wait,
wait |
AbsVariable
public AbsVariable()
- Construct an Abstract descriptor to hold a variable
AbsVariable
public AbsVariable(java.lang.String name,
java.lang.String valueType)
- Construct an AbsVariable with the given name and value type
- Parameters:
name
- The name of the variable.valueType
- The type of values that can be assigned to
this variable.
setName
public void setName(java.lang.String name)
- Sets the name of this variable.
- Parameters:
name
- The new name of this variable.
setType
public void setType(java.lang.String valueType)
- Sets the value type of this variable.
- Parameters:
valueType
- The type of values that can be assigned to
this variable.
getName
public java.lang.String getName()
- Gets the name of this variable.
- Returns:
- The name of this variable.
getType
public java.lang.String getType()
- Gets the value type of this variable.
- Returns:
- The type of values that can be assigned to
this variable.
isGrounded
public boolean isGrounded()
- Redefine the
isGrounded()
method in order to
always return false
.
- Overrides:
- isGrounded in class AbsObjectImpl
- Tags copied from interface: AbsObject
- Returns:
true
if the object is grounded.
getJavaClass
public static java.lang.Class getJavaClass()