Package jade.content.abs
Interface AbsObject
-
- All Superinterfaces:
Serializable,Serializable
- All Known Subinterfaces:
AbsContentElement,AbsTerm
- All Known Implementing Classes:
AbsAgentAction,AbsAggregate,AbsConcept,AbsConceptSlotFunction,AbsContentElementList,AbsExtendedPrimitive,AbsIRE,AbsObjectImpl,AbsPredicate,AbsPrimitive,AbsPrimitiveSlotsHolder,AbsReference,AbsVariable,ConceptSlotFunction
public interface AbsObject extends Serializable
The common ancestor of all abstract descriptors- Author:
- Federico Bergenti - Universita` di Parma, Giovanni Caire - TILAB
-
-
Field Summary
Fields Modifier and Type Field Description static intABS_AGENT_ACTIONstatic intABS_AGGREGATEstatic intABS_CONCEPTstatic intABS_CONCEPT_SLOT_FUNCTIONstatic intABS_CONTENT_ELEMENT_LISTstatic intABS_IREstatic intABS_PREDICATEstatic intABS_PRIMITIVEstatic intABS_REFERENCEstatic intABS_VARIABLEstatic intUNKNOWN
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AbsObjectgetAbsObject(String name)Gets the value of an attribute of the object held by this abstract descriptor.intgetAbsType()intgetCount()Gets the number of attributes.String[]getNames()StringgetTypeName()booleanisGrounded()Tests if the object is grounded, i.e., if no one of its attributes is associated with a variable
-
-
-
Field Detail
-
UNKNOWN
static final int UNKNOWN
- See Also:
- Constant Field Values
-
ABS_PREDICATE
static final int ABS_PREDICATE
- See Also:
- Constant Field Values
-
ABS_CONCEPT
static final int ABS_CONCEPT
- See Also:
- Constant Field Values
-
ABS_AGENT_ACTION
static final int ABS_AGENT_ACTION
- See Also:
- Constant Field Values
-
ABS_PRIMITIVE
static final int ABS_PRIMITIVE
- See Also:
- Constant Field Values
-
ABS_AGGREGATE
static final int ABS_AGGREGATE
- See Also:
- Constant Field Values
-
ABS_IRE
static final int ABS_IRE
- See Also:
- Constant Field Values
-
ABS_VARIABLE
static final int ABS_VARIABLE
- See Also:
- Constant Field Values
-
ABS_CONTENT_ELEMENT_LIST
static final int ABS_CONTENT_ELEMENT_LIST
- See Also:
- Constant Field Values
-
ABS_CONCEPT_SLOT_FUNCTION
static final int ABS_CONCEPT_SLOT_FUNCTION
- See Also:
- Constant Field Values
-
ABS_REFERENCE
static final int ABS_REFERENCE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getTypeName
String getTypeName()
- Returns:
- The name of the type of the object held by this abstract descriptor.
-
getAbsObject
AbsObject getAbsObject(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
String[] getNames()
- Returns:
- the name of all attributes.
-
isGrounded
boolean isGrounded()
Tests if the object is grounded, i.e., if no one of its attributes is associated with a variable- Returns:
trueif the object is grounded.
-
getCount
int getCount()
Gets the number of attributes.- Returns:
- the number of attributes.
-
getAbsType
int getAbsType()
-
-