|
|||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||
| Packages that use OntologyException | |
| JADE_SL.abs | |
| JADE_SL.onto | |
| JADE_SL.onto.basic | |
| JADE_SL.schema | |
| JADE_SL.schema.facets | |
| Uses of OntologyException in JADE_SL.abs |
| Methods in JADE_SL.abs that throw OntologyException | |
static AbsAggregate |
AbsHelper.externaliseList(java.util.List obj,
Ontology onto)
Converts a List into a AbsAggregate using
the specified ontology. |
static AbsAggregate |
AbsHelper.externaliseIterator(java.util.Iterator obj,
Ontology onto)
Converts an Iterator into a AbsAggregate using
the specified ontology. |
static AbsContentElementList |
AbsHelper.externaliseContentElementList(ContentElementList obj,
Ontology onto)
Converts a ContentElementList into an
AbsContentElementList using
the specified ontology. |
static AbsAgentAction |
AbsHelper.externaliseACLMessage(ACLMessage obj,
Ontology onto)
Converts an ACLMessage into an
AbsAgentAction using
the specified ontology. |
static java.util.List |
AbsHelper.internaliseList(AbsAggregate aggregate,
Ontology onto)
Converts an AbsAggregate into a List using the
specified ontology. |
static OntoAID |
AbsHelper.internaliseAID(AbsConcept aid)
Converts an AbsConcept representing an AID
into an OntoAID |
static ContentElementList |
AbsHelper.internaliseContentElementList(AbsContentElementList l,
Ontology onto)
Converts to an AbsContentElementList into a
ContentElementList using the
specified ontology. |
static OntoACLMessage |
AbsHelper.internaliseACLMessage(AbsAgentAction absMsg,
Ontology onto)
Converts to an AbsAgentAction representing an ACLMessage
into an OntoACLMessage using the specified ontology. |
| Uses of OntologyException in JADE_SL.onto |
| Subclasses of OntologyException in JADE_SL.onto | |
class |
UngroundedException
Thrown when working with an ungrounded abstract descriptor, i.e., a descriptor containing variables, as if it were grounded. |
class |
UnknownSchemaException
Thrown when the schema for the type of the entity to be translated into/from an abstract descriptor is not defined in the ontology used to perform the translation. |
| Methods in JADE_SL.onto that throw OntologyException | |
AbsObject |
BasicIntrospector.externalise(Ontology onto,
Ontology referenceOnto,
java.lang.Object obj)
Translate an object of a class representing an element in an ontology into a proper abstract descriptor |
java.lang.Object |
BasicIntrospector.internalise(Ontology onto,
Ontology referenceOnto,
AbsObject abs)
Translate an abstract descriptor into an object of a proper class representing an element in an ontology |
void |
BasicIntrospector.checkClass(ObjectSchema schema,
java.lang.Class javaClass)
This method will never be called |
AbsObject |
BCReflectiveIntrospector.externalise(Ontology onto,
Ontology referenceOnto,
java.lang.Object obj)
Translate an object of a class representing an element in an ontology into a proper abstract descriptor |
private AbsObject |
BCReflectiveIntrospector.invokeGetMethod(Ontology onto,
java.lang.reflect.Method method,
java.lang.Object obj)
|
java.lang.Object |
BCReflectiveIntrospector.internalise(Ontology onto,
Ontology referenceOnto,
AbsObject abs)
Translate an abstract descriptor into an object of a proper class representing an element in an ontology |
private void |
BCReflectiveIntrospector.invokeSetMethod(Ontology onto,
java.lang.reflect.Method method,
java.lang.Object obj,
AbsObject value)
|
private void |
BCReflectiveIntrospector.invokeAddMethod(Ontology onto,
java.lang.reflect.Method method,
java.lang.Object obj,
AbsAggregate value)
|
void |
BCReflectiveIntrospector.checkClass(ObjectSchema schema,
java.lang.Class javaClass)
Check the structure of a java class associated to an ontological element to ensure that translations to/from abstract descriptors and java objects (instances of that class) can be accomplished by this introspector. |
private java.lang.reflect.Method |
BCReflectiveIntrospector.findMethodCaseInsensitive(java.lang.String name,
java.lang.Class c)
|
void |
Introspectable.externalise(AbsObject abs,
Ontology onto)
Externalise this object into the given abstract descriptor |
void |
Introspectable.internalise(AbsObject abs,
Ontology onto)
Internalise this object from a given abstract descriptor |
AbsObject |
Introspector.externalise(Ontology onto,
Ontology referenceOnto,
java.lang.Object obj)
Translate an object of a class representing an element in an ontology into a proper abstract descriptor |
java.lang.Object |
Introspector.internalise(Ontology onto,
Ontology referenceOnto,
AbsObject abs)
Translate an abstract descriptor into an object of a proper class representing an element in an ontology |
void |
Introspector.checkClass(ObjectSchema schema,
java.lang.Class javaClass)
Check the structure of a java class associated to an ontological element to ensure that translations to/from abstract descriptors and java objects (instances of that class) can be accomplished by this introspector. |
AbsObject |
MicroIntrospector.externalise(Ontology onto,
Ontology referenceOnto,
java.lang.Object obj)
Translate an object of a class representing an element in an ontology into a proper abstract descriptor |
java.lang.Object |
MicroIntrospector.internalise(Ontology onto,
Ontology referenceOnto,
AbsObject abs)
Translate an abstract descriptor into an object of a proper class representing an element in an ontology |
void |
MicroIntrospector.checkClass(ObjectSchema schema,
java.lang.Class javaClass)
Check the structure of a java class associated to an ontological element to ensure that translations to/from abstract descriptors and java objects (instances of that class) can be accomplished by this introspector. |
void |
Ontology.add(ObjectSchema schema)
Adds a schema to this ontology |
void |
Ontology.add(ObjectSchema schema,
java.lang.Class javaClass)
Adds a schema to the ontology and associates it to the class javaClass |
ObjectSchema |
Ontology.getSchema(java.lang.String name)
Retrieves the schema associated with name. |
java.lang.Object |
Ontology.toObject(AbsObject abs)
Converts an abstract descriptor to a Java object of the proper class. |
AbsObject |
Ontology.fromObject(java.lang.Object obj)
Converts a Java object into a proper abstract descriptor. |
(package private) ObjectSchema |
Ontology.getSchema(java.lang.String name,
boolean searchInBase)
Retrieves the schema associated with name. |
(package private) ObjectSchema |
Ontology.getSchema(java.lang.Class javaClass)
Retrieves the schema associated with javaClass
The search is not extended to the base ontologies |
(package private) java.lang.Class |
Ontology.getClassForElement(java.lang.String name)
Retrieves the concrete class associated with name in
the vocabulary. |
private java.lang.Object |
Ontology.toObject(AbsObject abs,
Ontology globalOnto)
Converts an abstract descriptor to a Java object of the proper class. |
private AbsObject |
Ontology.fromObject(java.lang.Object obj,
Ontology globalOnto)
Converts a Java object into a proper abstract descriptor. |
static void |
Ontology.checkIsTerm(java.lang.Object obj)
Check whether a given object is a valid term. |
static void |
Ontology.setAttribute(AbsObject abs,
java.lang.String attrName,
AbsObject attrValue)
Set an attribute in an abstract descriptor performing all necessary type checks. |
AbsObject |
ReflectiveIntrospector.externalise(Ontology onto,
Ontology referenceOnto,
java.lang.Object obj)
Translate an object of a class representing an element in an ontology into a proper abstract descriptor |
private AbsObject |
ReflectiveIntrospector.invokeGetMethod(Ontology onto,
java.lang.reflect.Method method,
java.lang.Object obj)
|
java.lang.Object |
ReflectiveIntrospector.internalise(Ontology onto,
Ontology referenceOnto,
AbsObject abs)
Translate an abstract descriptor into an object of a proper class representing an element in an ontology |
private void |
ReflectiveIntrospector.invokeSetMethod(Ontology onto,
java.lang.reflect.Method method,
java.lang.Object obj,
AbsObject value)
|
void |
ReflectiveIntrospector.checkClass(ObjectSchema schema,
java.lang.Class javaClass)
Check the structure of a java class associated to an ontological element to ensure that translations to/from abstract descriptors and java objects (instances of that class) can be accomplished by this introspector. |
| Uses of OntologyException in JADE_SL.onto.basic |
| Methods in JADE_SL.onto.basic that throw OntologyException | |
void |
Action.externalise(AbsObject abs,
Ontology onto)
|
void |
Action.internalise(AbsObject abs,
Ontology onto)
|
| Uses of OntologyException in JADE_SL.schema |
| Methods in JADE_SL.schema that throw OntologyException | |
AbsObject |
AgentActionSchema.newInstance()
Creates an Abstract descriptor to hold an agent action of the proper type. |
void |
AgentActionSchema.validate(AbsObject abs,
Ontology onto)
Check whether a given abstract descriptor complies with this schema. |
AbsObject |
AggregateSchema.newInstance()
Creates an Abstract descriptor to hold an aggregate of the proper type. |
void |
AggregateSchema.validate(AbsObject abs,
Ontology onto)
Check whether a given abstract descriptor complies with this schema. |
void |
ConceptSchema.addFacet(java.lang.String slotName,
Facet f)
Add a Facet on a slot of this schema |
AbsObject |
ConceptSchema.newInstance()
Creates an Abstract descriptor to hold a concept of the proper type. |
void |
ConceptSchema.validate(AbsObject abs,
Ontology onto)
Check whether a given abstract descriptor complies with this schema. |
AbsObject |
ContentElementListSchema.newInstance()
Creates an Abstract descriptor to hold a content element list |
void |
ContentElementListSchema.validate(AbsObject abs,
Ontology onto)
Check whether a given abstract descriptor complies with this schema. |
AbsObject |
ContentElementSchema.newInstance()
Creates an Abstract descriptor to hold a content element of the proper type. |
void |
Facet.validate(AbsObject value,
Ontology onto)
Check whether a given value for the slot this Facet applies to is valid. |
AbsObject |
IRESchema.newInstance()
Creates an Abstract descriptor to hold a ire of the proper type. |
void |
IRESchema.validate(AbsObject abs,
Ontology onto)
Check whether a given abstract descriptor complies with this schema. |
protected void |
ObjectSchema.addFacet(java.lang.String slotName,
Facet f)
Add a Facet on a slot of this schema |
ObjectSchema |
ObjectSchema.getSchema(java.lang.String name)
Retrieves the schema of a slot of this Schema. |
AbsObject |
ObjectSchema.newInstance()
Creates an Abstract descriptor to hold an object compliant to this Schema. |
void |
ObjectSchema.validate(AbsObject abs,
Ontology onto)
Check whether a given abstract descriptor complies with this schema. |
protected void |
ObjectSchema.validateSlots(AbsObject abs,
Ontology onto)
For each slot - get the corresponding attribute value from the abstract descriptor abs - Check that it is not null if the slot is mandatory - Check that its schema is compatible with the schema of the slot - Check that it is a correct abstract descriptor by validating it against its schema. |
private boolean |
ObjectSchema.validate(java.lang.String slotName,
AbsObject value,
Ontology onto)
Validate a given abstract descriptor as a value for a slot defined in this schema |
void |
PredicateSchema.addFacet(java.lang.String slotName,
Facet f)
Add a Facet on a slot of this schema |
AbsObject |
PredicateSchema.newInstance()
Creates an Abstract descriptor to hold a predicate of the proper type. |
void |
PredicateSchema.validate(AbsObject abs,
Ontology onto)
Check whether a given abstract descriptor complies with this schema. |
AbsObject |
PrimitiveSchema.newInstance()
Creates an Abstract descriptor to hold a primitive of the proper type. |
void |
PrimitiveSchema.validate(AbsObject abs,
Ontology onto)
Check whether a given abstract descriptor complies with this schema. |
AbsObject |
TermSchema.newInstance()
Creates an Abstract descriptor to hold a term of the proper type. |
AbsObject |
VariableSchema.newInstance()
Creates an Abstract descriptor to hold a variable |
void |
VariableSchema.validate(AbsObject abs,
Ontology onto)
Check whether a given abstract descriptor complies with this schema. |
| Uses of OntologyException in JADE_SL.schema.facets |
| Methods in JADE_SL.schema.facets that throw OntologyException | |
void |
CardinalityFacet.validate(AbsObject value,
Ontology onto)
Check that the number of elements in an AbsAggregate is within a given range |
void |
TypedAggregateFacet.validate(AbsObject value,
Ontology onto)
Check whether a given value for the slot this Facet applies to is valid. |
|
|||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||