jade.content.abs
Class AbsConcept
java.lang.Object
|
+--jade.content.abs.AbsObjectImpl
|
+--jade.content.abs.AbsPrimitiveSlotsHolder
|
+--jade.content.abs.AbsConcept
- All Implemented Interfaces:
- AbsObject, AbsTerm, Concept, java.io.Serializable, Serializable, Term
- Direct Known Subclasses:
- AbsAgentAction, AbsAggregate
- public class AbsConcept
- extends AbsPrimitiveSlotsHolder
- implements AbsTerm, Concept
An abstract descriptor that can hold a concept
expression.
- Author:
- Federico Bergenti - Universita` di Parma
- See Also:
- Serialized Form
Constructor Summary |
AbsConcept(java.lang.String typeName)
Construct an Abstract descriptor to hold a concept of
the proper type (e.g. |
Method Summary |
AbsTerm |
getAbsTerm(java.lang.String name)
Gets the value of an attribute of the concept
held by this abstract descriptor. |
static java.lang.Class |
getJavaClass()
|
void |
set(java.lang.String name,
AbsTerm value)
Sets an attribute of the concept held by this
abstract descriptor. |
Methods inherited from class jade.content.abs.AbsPrimitiveSlotsHolder |
getBoolean, getByteSequence, getDate, getDouble, getFloat, getInteger, getLong, getString, set, set, set, set, set, set, set, set, set |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
AbsConcept
public AbsConcept(java.lang.String typeName)
- Construct an Abstract descriptor to hold a concept of
the proper type (e.g. PERSON, ADDRESS...).
- Parameters:
typeName
- The name of the type of the concept held by
this abstract descriptor.
set
public void set(java.lang.String name,
AbsTerm value)
- Sets an attribute of the concept held by this
abstract descriptor.
- Parameters:
name
- The name of the attribute to be set.value
- The new value of the attribute.
getAbsTerm
public AbsTerm getAbsTerm(java.lang.String name)
- Gets the value of an attribute of the concept
held by this abstract descriptor.
- Parameters:
name
- The name of the attribute.
- Returns:
- value The value of the attribute.
getJavaClass
public static java.lang.Class getJavaClass()
JADE