|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use OntologyException | |
|---|---|
| jade.content | |
| jade.content.abs | |
| jade.content.onto | |
| jade.content.onto.basic | |
| jade.content.schema | |
| jade.content.schema.facets | |
| Uses of OntologyException in jade.content |
|---|
| Methods in jade.content that throw OntologyException | |
|---|---|
AbsContentElement |
ContentManager.extractAbsContent(ACLMessage msg)
Translates the :content slot of an
ACLMessage msg into an AbsContentElement
using the content language and ontology indicated in the
:language and :ontology fields of msg. |
ContentElement |
ContentManager.extractContent(ACLMessage msg)
Translates the :content slot of an
ACLMessage msg into a ContentElement
using the content language and ontology indicated in the
:language and :ontology fields of msg. |
void |
ContentManager.fillContent(ACLMessage msg,
AbsContentElement content)
Fills the :content slot of an
ACLMessage msg using the content language
and ontology indicated in the :language and
:ontology fields of msg. |
void |
ContentManager.fillContent(ACLMessage msg,
ContentElement content)
Fills the :content slot of an
ACLMessage msg using the content language
and ontology indicated in the :language and
:ontology fields of msg. |
| Uses of OntologyException in jade.content.abs |
|---|
| Methods in jade.content.abs that throw OntologyException | |
|---|---|
static AbsObject |
AbsHelper.addPrefix(AbsObject abs,
java.lang.String prefix)
Recursively add prefix to abs-type-name, except for BasicOntology types Eg. |
static AbsObject |
AbsHelper.applyDefaultValues(AbsObject absTemplate,
AbsObject absDefault)
Apply default value to template Replace node with default value only if the value in template is null or AbsVariable or default value is null and template is a true template |
static AbsObject |
AbsHelper.createAbsTemplate(java.lang.Class clazz,
Ontology onto)
Generate an AbsObject consistently with class. |
static AbsObject |
AbsHelper.createAbsTemplate(ObjectSchema schema)
Generate an AbsObject consistently with schema. |
static AbsObject |
AbsHelper.createAbsTemplate(ObjectSchema schema,
java.lang.String prefix)
Generate an AbsObject consistently with schema. |
static AbsAgentAction |
AbsHelper.externaliseACLMessage(ACLMessage obj,
Ontology onto)
Converts an ACLMessage into an
AbsAgentAction using
the specified ontology. |
static AbsContentElementList |
AbsHelper.externaliseContentElementList(ContentElementList obj,
Ontology onto)
Converts a ContentElementList into an
AbsContentElementList using
the specified ontology. |
static AbsAggregate |
AbsHelper.externaliseIterator(java.util.Iterator obj,
Ontology onto,
java.lang.String AggregateType)
Converts an Iterator into a AbsAggregate using
the specified ontology. |
static AbsAggregate |
AbsHelper.externaliseList(List obj,
Ontology onto,
java.lang.String AggregateType)
Converts a List into a AbsAggregate using
the specified ontology. |
static AbsAggregate |
AbsHelper.externaliseSet(Set obj,
Ontology onto,
java.lang.String AggregateType)
Converts a Set into a AbsAggregate 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. |
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 java.util.Collection |
AbsHelper.internaliseJavaCollection(AbsAggregate aggregate,
Ontology onto)
Converts an AbsAggregate into a List using the
specified ontology. |
static List |
AbsHelper.internaliseList(AbsAggregate aggregate,
Ontology onto)
Converts an AbsAggregate into a List using the
specified ontology. |
static Set |
AbsHelper.internaliseSet(AbsAggregate aggregate,
Ontology onto)
Converts an AbsAggregate into a Set using the
specified ontology. |
static AbsObject |
AbsHelper.removePrefix(AbsObject abs,
java.lang.String separator)
Recursively removes prefix (if present) from abs-type-name, except for BasicOntology types Prefix is identified from last separator string Eg. |
static void |
AbsHelper.setAttribute(AbsObject abs,
java.lang.String attrName,
AbsObject attrValue)
Set an attribute in an abstract descriptor performing all necessary type checks. |
| Uses of OntologyException in jade.content.onto |
|---|
| Subclasses of OntologyException in jade.content.onto | |
|---|---|
class |
BeanOntologyException
This class is used for reporting exceptions when adding beans to a BeanOntology. |
class |
NotAnAggregate
|
class |
NotASpecialType
|
class |
UngroundedException
Thrown when working with an ungrounded abstract descriptor, i.e., a descriptor containing variables. |
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. |
class |
UnknownSlotException
|
| Methods in jade.content.onto that throw OntologyException | |
|---|---|
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 |
java.lang.Object |
ConceptSlotFunction.apply()
|
java.lang.Object |
ConceptSlotFunction.apply(Concept c)
|
void |
ReflectiveIntrospector.checkClass(ObjectSchema schema,
java.lang.Class javaClass,
Ontology onto)
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 |
MicroIntrospector.checkClass(ObjectSchema schema,
java.lang.Class javaClass,
Ontology onto)
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 |
Introspector.checkClass(ObjectSchema schema,
java.lang.Class javaClass,
Ontology onto)
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 |
BCReflectiveIntrospector.checkClass(ObjectSchema schema,
java.lang.Class javaClass,
Ontology onto)
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. |
static void |
Ontology.checkIsTerm(java.lang.Object obj)
Check whether a given object is a valid term. |
ConceptSlotFunction |
Ontology.createConceptSlotFunction(java.lang.String slotName,
Concept c)
Create a ConceptSlotFunction for a given slot of a given Concept. |
static void |
OntologyUtils.exploreOntology(Ontology ontology)
|
void |
Introspectable.externalise(AbsObject abs,
Ontology onto)
Externalise this object into the given abstract descriptor |
protected void |
Ontology.externalize(java.lang.Object obj,
AbsObject abs,
ObjectSchema schema,
Ontology globalOnto)
Externalize (obj --> abs) the slots defined in schema and its super-schemas |
AbsAggregate |
ReflectiveIntrospector.externalizeAggregate(java.lang.String slotName,
java.lang.Object obj,
ObjectSchema schema,
Ontology referenceOnto)
|
AbsAggregate |
MicroIntrospector.externalizeAggregate(java.lang.String slotName,
java.lang.Object obj,
ObjectSchema schema,
Ontology referenceOnto)
|
AbsAggregate |
Introspector.externalizeAggregate(java.lang.String slotName,
java.lang.Object obj,
ObjectSchema schema,
Ontology referenceOnto)
|
AbsAggregate |
CFReflectiveIntrospector.externalizeAggregate(java.lang.String slotName,
java.lang.Object obj,
ObjectSchema schema,
Ontology referenceOnto)
|
AbsAggregate |
BCReflectiveIntrospector.externalizeAggregate(java.lang.String slotName,
java.lang.Object obj,
ObjectSchema schema,
Ontology referenceOnto)
|
static AbsObject |
Ontology.externalizeSlotValue(java.lang.Object obj,
Introspector introspector,
Ontology referenceOnto)
|
AbsObject |
ReflectiveIntrospector.externalizeSpecialType(java.lang.Object obj,
ObjectSchema schema,
java.lang.Class javaClass,
Ontology referenceOnto)
|
AbsObject |
MicroIntrospector.externalizeSpecialType(java.lang.Object obj,
ObjectSchema schema,
java.lang.Class javaClass,
Ontology referenceOnto)
|
AbsObject |
Introspector.externalizeSpecialType(java.lang.Object obj,
ObjectSchema schema,
java.lang.Class javaClass,
Ontology referenceOnto)
|
void |
ConceptSlotFunction.fill(Concept c,
java.lang.Object val)
|
void |
ConceptSlotFunction.fill(java.lang.Object val)
|
protected java.lang.reflect.Method |
ReflectiveIntrospector.findMethodCaseInsensitive(java.lang.String name,
java.lang.Class c)
|
AbsObject |
Ontology.fromObject(java.lang.Object obj)
Converts a Java object into a proper abstract descriptor. |
protected AbsObject |
SerializableOntology.fromObject(java.lang.Object obj,
Ontology globalOnto)
|
protected AbsObject |
Ontology.fromObject(java.lang.Object obj,
Ontology globalOnto)
Converts a Java object into a proper abstract descriptor. |
protected AbsObject |
BasicOntology.fromObject(java.lang.Object obj,
Ontology referenceOnto)
This method is redefined as BasicOntology does not use an Introspector for performance reason |
java.lang.Class |
Ontology.getClassForElement(java.lang.String name)
Retrieves the concrete class associated with element name
in this ontology. |
ObjectSchema |
Ontology.getSchema(java.lang.Class clazz)
Retrieves the schema associated to a given class in this ontology. |
ObjectSchema |
BasicOntology.getSchema(java.lang.Class clazz)
Redefine the getSchema() method to take into
account java primitives. |
ObjectSchema |
Ontology.getSchema(java.lang.String name)
Retrieves the schema of element name in this ontology. |
ObjectSchema |
BasicOntology.getSchema(java.lang.String name)
Redefine the getSchema() method to take into
account ACL performatives. |
java.lang.Object |
Ontology.getSlotValue(java.lang.String slotName,
java.lang.Object obj)
Retrieve the value of slot slotName from object obj |
java.lang.Object |
ReflectiveIntrospector.getSlotValue(java.lang.String slotName,
java.lang.Object obj,
ObjectSchema schema)
|
java.lang.Object |
MicroIntrospector.getSlotValue(java.lang.String slotName,
java.lang.Object obj,
ObjectSchema schema)
|
java.lang.Object |
Introspector.getSlotValue(java.lang.String slotName,
java.lang.Object obj,
ObjectSchema schema)
|
java.lang.Object |
BCReflectiveIntrospector.getSlotValue(java.lang.String slotName,
java.lang.Object obj,
ObjectSchema schema)
|
void |
Introspectable.internalise(AbsObject abs,
Ontology onto)
Internalise this object from a given abstract descriptor |
protected void |
Ontology.internalize(AbsObject abs,
java.lang.Object obj,
ObjectSchema schema,
Ontology globalOnto)
Internalize (abs --> obj) the slots defined in schema and its super-schemas |
java.lang.Object |
ReflectiveIntrospector.internalizeAggregate(java.lang.String slotName,
AbsAggregate abs,
ObjectSchema schema,
Ontology referenceOnto)
|
java.lang.Object |
MicroIntrospector.internalizeAggregate(java.lang.String slotName,
AbsAggregate abs,
ObjectSchema schema,
Ontology referenceOnto)
|
java.lang.Object |
Introspector.internalizeAggregate(java.lang.String slotName,
AbsAggregate abs,
ObjectSchema schema,
Ontology referenceOnto)
|
java.lang.Object |
CFReflectiveIntrospector.internalizeAggregate(java.lang.String slotName,
AbsAggregate absAggregate,
ObjectSchema schema,
Ontology referenceOnto)
|
java.lang.Object |
BCReflectiveIntrospector.internalizeAggregate(java.lang.String slotName,
AbsAggregate abs,
ObjectSchema schema,
Ontology referenceOnto)
|
static java.lang.Object |
Ontology.internalizeSlotValue(AbsObject abs,
Introspector introspector,
Ontology referenceOnto)
|
java.lang.Object |
ReflectiveIntrospector.internalizeSpecialType(AbsObject abs,
ObjectSchema schema,
java.lang.Class javaClass,
Ontology referenceOnto)
|
java.lang.Object |
MicroIntrospector.internalizeSpecialType(AbsObject abs,
ObjectSchema schema,
java.lang.Class javaClass,
Ontology referenceOnto)
|
java.lang.Object |
Introspector.internalizeSpecialType(AbsObject abs,
ObjectSchema schema,
java.lang.Class javaClass,
Ontology referenceOnto)
|
protected java.lang.Object |
ReflectiveIntrospector.invokeAccessorMethod(java.lang.reflect.Method method,
java.lang.Object obj)
|
protected void |
ReflectiveIntrospector.invokeSetterMethod(java.lang.reflect.Method method,
java.lang.Object obj,
java.lang.Object value)
|
void |
Ontology.setSlotValue(java.lang.String slotName,
java.lang.Object slotValue,
java.lang.Object obj)
Set the value of slot slotName as slotValue to object obj |
void |
ReflectiveIntrospector.setSlotValue(java.lang.String slotName,
java.lang.Object slotValue,
java.lang.Object obj,
ObjectSchema schema)
|
void |
MicroIntrospector.setSlotValue(java.lang.String slotName,
java.lang.Object slotValue,
java.lang.Object obj,
ObjectSchema schema)
|
void |
Introspector.setSlotValue(java.lang.String slotName,
java.lang.Object slotValue,
java.lang.Object obj,
ObjectSchema schema)
|
void |
BCReflectiveIntrospector.setSlotValue(java.lang.String slotName,
java.lang.Object slotValue,
java.lang.Object obj,
ObjectSchema schema)
|
java.lang.Object |
Ontology.toObject(AbsObject abs)
Converts an abstract descriptor to a Java object of the proper class. |
protected java.lang.Object |
SerializableOntology.toObject(AbsObject abs,
java.lang.String lcType,
Ontology globalOnto)
|
protected java.lang.Object |
Ontology.toObject(AbsObject abs,
java.lang.String lcType,
Ontology globalOnto)
Converts an abstract descriptor to a Java object of the proper class. |
protected java.lang.Object |
BasicOntology.toObject(AbsObject abs,
java.lang.String lcType,
Ontology referenceOnto)
This method is redefined as BasicOntology does not use an Introspector for performance reason |
| Uses of OntologyException in jade.content.onto.basic |
|---|
| Methods in jade.content.onto.basic that throw OntologyException | |
|---|---|
void |
Action.externalise(AbsObject abs,
Ontology onto)
|
void |
Action.internalise(AbsObject abs,
Ontology onto)
|
| Uses of OntologyException in jade.content.schema |
|---|
| Methods in jade.content.schema that throw OntologyException | |
|---|---|
void |
PredicateSchema.addFacet(java.lang.String slotName,
Facet f)
Add a Facet on a slot of this schema |
protected abstract void |
ObjectSchema.addFacet(java.lang.String slotName,
Facet f)
Add a Facet on a slot of this schema |
void |
ConceptSchema.addFacet(java.lang.String slotName,
Facet f)
Add a Facet on a slot of this schema |
abstract ObjectSchema |
ObjectSchema.getSchema(java.lang.String name)
Retrieves the schema of a slot of this Schema. |
abstract boolean |
ObjectSchema.isMandatory(java.lang.String name)
Indicate whether a slot of this schema is mandatory |
AbsObject |
VariableSchema.newInstance()
Creates an Abstract descriptor to hold a variable |
AbsObject |
TermSchema.newInstance()
Creates an Abstract descriptor to hold a term of the proper type. |
AbsObject |
PrimitiveSchema.newInstance()
Creates an Abstract descriptor to hold a primitive of the proper type. |
AbsObject |
PredicateSchema.newInstance()
Creates an Abstract descriptor to hold a predicate of the proper type. |
abstract AbsObject |
ObjectSchema.newInstance()
Creates an Abstract descriptor to hold an object compliant to this Schema. |
AbsObject |
IRESchema.newInstance()
Creates an Abstract descriptor to hold a ire of the proper type. |
AbsObject |
ContentElementSchema.newInstance()
Creates an Abstract descriptor to hold a content element of the proper type. |
AbsObject |
ContentElementListSchema.newInstance()
Creates an Abstract descriptor to hold a content element list |
AbsObject |
ConceptSlotFunctionSchema.newInstance()
|
AbsObject |
ConceptSchema.newInstance()
Creates an Abstract descriptor to hold a concept of the proper type. |
AbsObject |
AggregateSchema.newInstance()
Creates an Abstract descriptor to hold an aggregate of the proper type. |
AbsObject |
AgentActionSchema.newInstance()
Creates an Abstract descriptor to hold an agent action of the proper type. |
void |
VariableSchema.validate(AbsObject abs,
Ontology onto)
Check whether a given abstract descriptor complies with this schema. |
void |
PrimitiveSchema.validate(AbsObject abs,
Ontology onto)
Check whether a given abstract descriptor complies with this schema. |
void |
PredicateSchema.validate(AbsObject abs,
Ontology onto)
Check whether a given abstract descriptor complies with this schema. |
abstract void |
ObjectSchema.validate(AbsObject abs,
Ontology onto)
Check whether a given abstract descriptor complies with this schema. |
void |
IRESchema.validate(AbsObject abs,
Ontology onto)
Check whether a given abstract descriptor complies with this schema. |
void |
Facet.validate(AbsObject value,
Ontology onto)
Check whether a given value for the slot this Facet applies to is valid. |
void |
ContentElementListSchema.validate(AbsObject abs,
Ontology onto)
Check whether a given abstract descriptor complies with this schema. |
void |
ConceptSchema.validate(AbsObject abs,
Ontology onto)
Check whether a given abstract descriptor complies with this schema. |
void |
AggregateSchema.validate(AbsObject abs,
Ontology onto)
Check whether a given abstract descriptor complies with this schema. |
void |
AgentActionSchema.validate(AbsObject abs,
Ontology onto)
Check whether a given abstract descriptor complies with this schema. |
| Uses of OntologyException in jade.content.schema.facets |
|---|
| Methods in jade.content.schema.facets that throw OntologyException | |
|---|---|
void |
TypedAggregateFacet.validate(AbsObject value,
Ontology onto)
Check whether a given value for the slot this Facet applies to is valid. |
void |
RegexFacet.validate(AbsObject value,
Ontology onto)
Check whether a given value for the slot this Facet applies to is valid. |
void |
PermittedValuesFacet.validate(AbsObject value,
Ontology onto)
Check whether a given value for the slot this Facet applies to is valid. |
void |
JavaTypeFacet.validate(AbsObject value,
Ontology onto)
Check whether a given value for the slot this Facet applies to is valid. |
void |
DocumentationFacet.validate(AbsObject value,
Ontology onto)
Check whether a given value for the slot this Facet applies to is valid. |
void |
DefaultValueFacet.validate(AbsObject value,
Ontology onto)
Check whether a given value for the slot this Facet applies to is valid. |
void |
CardinalityFacet.validate(AbsObject value,
Ontology onto)
Check that the number of elements in an AbsAggregate is within a given range |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||