jade.content.onto
Class BasicOntology
java.lang.Object
|
+--jade.content.onto.Ontology
|
+--jade.content.onto.BasicOntology
- public class BasicOntology
- extends Ontology
- implements SL0Vocabulary
Ontology containing
- Primitive types
- content element list
- Basic concept ACL_MESSAGE
- SL0 elements (AID, SL0 operators and TRUE and FALSE propositions).
- Author:
- Federico Bergenti - Universita` di Parma, Giovanni Caire - TILAB
- See Also:
- Serialized Form
Fields inherited from interface jade.content.lang.sl.SL0Vocabulary |
ACLMSG,
ACLMSG_BYTE_SEQUENCE_CONTENT,
ACLMSG_CONTENT,
ACLMSG_CONVERSATION_ID,
ACLMSG_ENCODING,
ACLMSG_IN_REPLY_TO,
ACLMSG_LANGUAGE,
ACLMSG_ONTOLOGY,
ACLMSG_PERFORMATIVE,
ACLMSG_PROTOCOL,
ACLMSG_RECEIVERS,
ACLMSG_REPLY_BY,
ACLMSG_REPLY_TO,
ACLMSG_REPLY_WITH,
ACLMSG_SENDER,
ACTION,
ACTION_ACTION,
ACTION_ACTOR,
AID,
AID_ADDRESSES,
AID_NAME,
AID_RESOLVERS,
DONE,
DONE_ACTION,
DONE_CONDITION,
EQUALS,
EQUALS_LEFT,
EQUALS_RIGHT,
FALSE_PROPOSITION,
RESULT,
RESULT_ACTION,
RESULT_ITEMS,
RESULT_VALUE,
SEQUENCE,
SET,
TRUE_PROPOSITION |
Method Summary |
protected AbsObject |
fromObject(java.lang.Object obj,
Ontology referenceOnto)
This method is redefined as BasicOntology does not use an
Introspector for performance reason |
static Ontology |
getInstance()
Returns the singleton instance of the BasicOntology . |
ObjectSchema |
getSchema(java.lang.String name)
Redefine the getSchema() method to take into
account ACL performatives. |
protected java.lang.Object |
toObject(AbsObject abs,
java.lang.String lcType,
Ontology referenceOnto)
This method is redefined as BasicOntology does not use an
Introspector for performance reason |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
STRING
public static final java.lang.String STRING
FLOAT
public static final java.lang.String FLOAT
INTEGER
public static final java.lang.String INTEGER
BOOLEAN
public static final java.lang.String BOOLEAN
DATE
public static final java.lang.String DATE
BYTE_SEQUENCE
public static final java.lang.String BYTE_SEQUENCE
CONTENT_ELEMENT_LIST
public static final java.lang.String CONTENT_ELEMENT_LIST
getInstance
public static Ontology getInstance()
- Returns the singleton instance of the
BasicOntology
.
- Returns:
- the singleton instance of the
BasicOntology
toObject
protected java.lang.Object toObject(AbsObject abs,
java.lang.String lcType,
Ontology referenceOnto)
throws UngroundedException,
OntologyException
- This method is redefined as BasicOntology does not use an
Introspector for performance reason
- Overrides:
- toObject in class Ontology
- See Also:
Ontology.toObject(AbsObject)
fromObject
protected AbsObject fromObject(java.lang.Object obj,
Ontology referenceOnto)
throws OntologyException
- This method is redefined as BasicOntology does not use an
Introspector for performance reason
- Overrides:
- fromObject in class Ontology
- See Also:
Ontology.toObject(AbsObject)
getSchema
public ObjectSchema getSchema(java.lang.String name)
throws OntologyException
- Redefine the
getSchema()
method to take into
account ACL performatives.
- Overrides:
- getSchema in class Ontology
- Parameters:
name
- the name of the schema in the vocabulary.- Returns:
- the schema or
null
if the schema is not found. - Throws:
- OntologyException -