jade.content.abs
Interface AbsObject

All Known Subinterfaces:
AbsContentElement, AbsTerm
All Known Implementing Classes:
AbsObjectImpl

public interface AbsObject
extends Serializable

The common ancestor of all abstract descriptors

Author:
Federico Bergenti - Universita` di Parma, Giovanni Caire - TILAB

Method Summary
 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.
 java.lang.String[] getNames()
           
 java.lang.String getTypeName()
           
 boolean isGrounded()
          Tests if the object is grounded, i.e., if no one of its attributes is associated with a variable
 

Method Detail

getTypeName

public java.lang.String getTypeName()
Returns:
The name of the type of the object held by this abstract descriptor.

getAbsObject

public AbsObject getAbsObject(java.lang.String name)
Gets the value of an attribute of the object held by this abstract descriptor.
Parameters:
name - The name of the attribute.
Returns:
value The value of the attribute.

getNames

public java.lang.String[] getNames()
Returns:
the name of all attributes.

isGrounded

public boolean isGrounded()
Tests if the object is grounded, i.e., if no one of its attributes is associated with a variable
Returns:
true if the object is grounded.

getCount

public int getCount()
Gets the number of attributes.
Returns:
the number of attributes.