Uses of Class
jade.content.onto.OntologyException
-
Packages that use OntologyException Package Description jade.content jade.content.abs jade.content.lang.xml 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 Modifier and Type Method Description AbsContentElementContentManager. extractAbsContent(ACLMessage msg)Translates the:contentslot of anACLMessage msginto anAbsContentElementusing the content language and ontology indicated in the:languageand:ontologyfields ofmsg.ContentElementContentManager. extractContent(ACLMessage msg)Translates the:contentslot of anACLMessage msginto aContentElementusing the content language and ontology indicated in the:languageand:ontologyfields ofmsg.voidContentManager. fillContent(ACLMessage msg, AbsContentElement content)Fills the:contentslot of anACLMessage msgusing the content language and ontology indicated in the:languageand:ontologyfields ofmsg.voidContentManager. fillContent(ACLMessage msg, ContentElement content)Fills the:contentslot of anACLMessage msgusing the content language and ontology indicated in the:languageand:ontologyfields ofmsg. -
Uses of OntologyException in jade.content.abs
Methods in jade.content.abs that throw OntologyException Modifier and Type Method Description static AbsObjectAbsHelper. addPrefix(AbsObject abs, String prefix)Recursively add prefix to abs-type-name, except for BasicOntology types Eg.static AbsObjectAbsHelper. 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 templatestatic AbsObjectAbsHelper. createAbsTemplate(ObjectSchema schema)Generate an AbsObject consistently with schema.static AbsObjectAbsHelper. createAbsTemplate(ObjectSchema schema, String prefix)Generate an AbsObject consistently with schema.static AbsObjectAbsHelper. createAbsTemplate(Class clazz, Ontology onto)Generate an AbsObject consistently with class.static AbsAgentActionAbsHelper. externaliseACLMessage(ACLMessage obj, Ontology onto)Converts anACLMessageinto anAbsAgentActionusing the specified ontology.static AbsContentElementListAbsHelper. externaliseContentElementList(ContentElementList obj, Ontology onto)Converts aContentElementListinto anAbsContentElementListusing the specified ontology.static AbsAggregateAbsHelper. externaliseIterator(Iterator obj, Ontology onto, String AggregateType)Converts anIteratorinto aAbsAggregateusing the specified ontology.static AbsAggregateAbsHelper. externaliseList(List obj, Ontology onto, String AggregateType)Converts aListinto aAbsAggregateusing the specified ontology.static AbsConceptAbsHelper. externaliseProperty(Property obj, Ontology onto)Converts aPROPERTYinto anAbsConceptrepresenting a PROPERTYstatic AbsAggregateAbsHelper. externaliseSet(Set obj, Ontology onto, String AggregateType)Converts aSetinto aAbsAggregateusing the specified ontology.static OntoACLMessageAbsHelper. internaliseACLMessage(AbsAgentAction absMsg, Ontology onto)Converts to anAbsAgentActionrepresenting an ACLMessage into an OntoACLMessage using the specified ontology.static OntoAIDAbsHelper. internaliseAID(AbsConcept aid)Converts anAbsConceptrepresenting an AID into an OntoAIDstatic ContentElementListAbsHelper. internaliseContentElementList(AbsContentElementList l, Ontology onto)Converts to anAbsContentElementListinto a ContentElementList using the specified ontology.static CollectionAbsHelper. internaliseJavaCollection(AbsAggregate aggregate, Ontology onto)Converts anAbsAggregateinto a List using the specified ontology.static ListAbsHelper. internaliseList(AbsAggregate aggregate, Ontology onto)Converts anAbsAggregateinto a List using the specified ontology.static PropertyAbsHelper. internaliseProperty(AbsConcept property, Ontology onto)Converts anAbsConceptrepresenting a PROPERTY into an Propertystatic SetAbsHelper. internaliseSet(AbsAggregate aggregate, Ontology onto)Converts anAbsAggregateinto a Set using the specified ontology.static AbsObjectAbsHelper. removePrefix(AbsObject abs, String separator)Recursively removes prefix (if present) from abs-type-name, except for BasicOntology types Prefix is identified from last separator string Eg.static voidAbsHelper. setAttribute(AbsObject abs, String attrName, AbsObject attrValue)Set an attribute in an abstract descriptor performing all necessary type checks. -
Uses of OntologyException in jade.content.lang.xml
Methods in jade.content.lang.xml that throw OntologyException Modifier and Type Method Description AbsObjectXMLCodec. decodeAbsObject(Ontology ontology, String xml)ObjectXMLCodec. decodeObject(Ontology ontology, String xml)Decode a generic ontological entity from an XML formStringXMLCodec. encodeAbsObject(Ontology ontology, AbsObject abs, boolean indent)StringXMLCodec. encodeObject(Ontology ontology, Object obj, boolean indent)Encode a generic ontological entity in XML form -
Uses of OntologyException in jade.content.onto
Subclasses of OntologyException in jade.content.onto Modifier and Type Class Description classBeanOntologyExceptionThis class is used for reporting exceptions when adding beans to aBeanOntology.classNotAnAggregateclassNotASpecialTypeclassUngroundedExceptionThrown when working with an ungrounded abstract descriptor, i.e., a descriptor containing variables.classUnknownSchemaExceptionThrown 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.classUnknownSlotExceptionMethods in jade.content.onto that throw OntologyException Modifier and Type Method Description voidOntology. add(ObjectSchema schema)Adds a schema to this ontologyvoidOntology. add(ObjectSchema schema, Class javaClass)Adds a schema to the ontology and associates it to the classjavaClassObjectConceptSlotFunction. apply()ObjectConceptSlotFunction. apply(Concept c)voidBCReflectiveIntrospector. checkClass(ObjectSchema schema, 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.voidIntrospector. checkClass(ObjectSchema schema, 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.voidMicroIntrospector. checkClass(ObjectSchema schema, 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.voidReflectiveIntrospector. checkClass(ObjectSchema schema, 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 voidOntology. checkIsTerm(Object obj)Check whether a given object is a valid term.ConceptSlotFunctionOntology. createConceptSlotFunction(String slotName, Concept c)Create a ConceptSlotFunction for a given slot of a given Concept.static voidOntologyUtils. exploreOntology(Ontology ontology)voidIntrospectable. externalise(AbsObject abs, Ontology onto)Externalise this object into the given abstract descriptorprotected voidOntology. externalize(Object obj, AbsObject abs, ObjectSchema schema, Ontology globalOnto)Externalize (obj --> abs) the slots defined inschemaand its super-schemasAbsAggregateBCReflectiveIntrospector. externalizeAggregate(String slotName, Object obj, ObjectSchema schema, Ontology referenceOnto)AbsAggregateCFReflectiveIntrospector. externalizeAggregate(String slotName, Object obj, ObjectSchema schema, Ontology referenceOnto)AbsAggregateIntrospector. externalizeAggregate(String slotName, Object obj, ObjectSchema schema, Ontology referenceOnto)AbsAggregateMicroIntrospector. externalizeAggregate(String slotName, Object obj, ObjectSchema schema, Ontology referenceOnto)AbsAggregateReflectiveIntrospector. externalizeAggregate(String slotName, Object obj, ObjectSchema schema, Ontology referenceOnto)static AbsObjectOntology. externalizeSlotValue(Object obj, Introspector introspector, Ontology referenceOnto)AbsObjectIntrospector. externalizeSpecialType(Object obj, ObjectSchema schema, Class javaClass, Ontology referenceOnto)AbsObjectMicroIntrospector. externalizeSpecialType(Object obj, ObjectSchema schema, Class javaClass, Ontology referenceOnto)AbsObjectReflectiveIntrospector. externalizeSpecialType(Object obj, ObjectSchema schema, Class javaClass, Ontology referenceOnto)voidConceptSlotFunction. fill(Concept c, Object val)voidConceptSlotFunction. fill(Object val)protected MethodReflectiveIntrospector. findMethodCaseInsensitive(String name, Class c)protected AbsObjectBasicOntology. fromObject(Object obj, Ontology referenceOnto)This method is redefined as BasicOntology does not use an Introspector for performance reasonprotected AbsObjectJavaCollectionOntology. fromObject(Object obj, Ontology globalOnto)AbsObjectOntology. fromObject(Object obj)Converts a Java object into a proper abstract descriptor.protected AbsObjectOntology. fromObject(Object obj, Ontology globalOnto)Converts a Java object into a proper abstract descriptor.protected AbsObjectSerializableOntology. fromObject(Object obj, Ontology globalOnto)Class<?>Ontology. getClassForElement(String name)Retrieves the concrete class associated with elementnamein this ontology.static List<ObjectSchema>Ontology. getReferencedSchemas(ObjectSchema rootSchema)ObjectSchemaBasicOntology. getSchema(Class clazz)Redefine thegetSchema()method to take into account java primitives.ObjectSchemaBasicOntology. getSchema(String name)Redefine thegetSchema()method to take into account ACL performatives.ObjectSchemaOntology. getSchema(Class<?> clazz)Retrieves the schema associated to a given class in this ontology.ObjectSchemaOntology. getSchema(String name)Retrieves the schema of elementnamein this ontology.ObjectBCReflectiveIntrospector. getSlotValue(String slotName, Object obj, ObjectSchema schema)ObjectIntrospector. getSlotValue(String slotName, Object obj, ObjectSchema schema)ObjectMicroIntrospector. getSlotValue(String slotName, Object obj, ObjectSchema schema)ObjectOntology. getSlotValue(String slotName, Object obj)Retrieve the value of slotslotNamefrom objectobjObjectReflectiveIntrospector. getSlotValue(String slotName, Object obj, ObjectSchema schema)voidIntrospectable. internalise(AbsObject abs, Ontology onto)Internalise this object from a given abstract descriptorprotected voidOntology. internalize(AbsObject abs, Object obj, ObjectSchema schema, Ontology globalOnto)Internalize (abs --> obj) the slots defined inschemaand its super-schemasObjectBCReflectiveIntrospector. internalizeAggregate(String slotName, AbsAggregate abs, ObjectSchema schema, Ontology referenceOnto)ObjectCFReflectiveIntrospector. internalizeAggregate(String slotName, AbsAggregate absAggregate, ObjectSchema schema, Ontology referenceOnto)ObjectIntrospector. internalizeAggregate(String slotName, AbsAggregate abs, ObjectSchema schema, Ontology referenceOnto)ObjectMicroIntrospector. internalizeAggregate(String slotName, AbsAggregate abs, ObjectSchema schema, Ontology referenceOnto)ObjectReflectiveIntrospector. internalizeAggregate(String slotName, AbsAggregate abs, ObjectSchema schema, Ontology referenceOnto)static ObjectOntology. internalizeSlotValue(AbsObject abs, Introspector introspector, Ontology referenceOnto)ObjectIntrospector. internalizeSpecialType(AbsObject abs, ObjectSchema schema, Class javaClass, Ontology referenceOnto)ObjectMicroIntrospector. internalizeSpecialType(AbsObject abs, ObjectSchema schema, Class javaClass, Ontology referenceOnto)ObjectReflectiveIntrospector. internalizeSpecialType(AbsObject abs, ObjectSchema schema, Class javaClass, Ontology referenceOnto)protected ObjectReflectiveIntrospector. invokeAccessorMethod(Method method, Object obj)protected voidReflectiveIntrospector. invokeSetterMethod(Method method, Object obj, Object value)voidBCReflectiveIntrospector. setSlotValue(String slotName, Object slotValue, Object obj, ObjectSchema schema)voidIntrospector. setSlotValue(String slotName, Object slotValue, Object obj, ObjectSchema schema)voidMicroIntrospector. setSlotValue(String slotName, Object slotValue, Object obj, ObjectSchema schema)voidOntology. setSlotValue(String slotName, Object slotValue, Object obj)Set the value of slotslotNameasslotValueto objectobjvoidReflectiveIntrospector. setSlotValue(String slotName, Object slotValue, Object obj, ObjectSchema schema)protected ObjectBasicOntology. toObject(AbsObject abs, String lcType, Ontology referenceOnto)This method is redefined as BasicOntology does not use an Introspector for performance reasonprotected ObjectJavaCollectionOntology. toObject(AbsObject abs, String lcType, Ontology globalOnto)ObjectOntology. toObject(AbsObject abs)Converts an abstract descriptor to a Java object of the proper class.protected ObjectOntology. toObject(AbsObject abs, String lcType, Ontology globalOnto)Converts an abstract descriptor to a Java object of the proper class.protected ObjectSerializableOntology. toObject(AbsObject abs, String lcType, Ontology globalOnto) -
Uses of OntologyException in jade.content.onto.basic
Methods in jade.content.onto.basic that throw OntologyException Modifier and Type Method Description voidAction. externalise(AbsObject abs, Ontology onto)voidAction. internalise(AbsObject abs, Ontology onto) -
Uses of OntologyException in jade.content.schema
Methods in jade.content.schema that throw OntologyException Modifier and Type Method Description voidConceptSchema. addFacet(String slotName, Facet f)Add aFaceton a slot of this schemaprotected abstract voidObjectSchema. addFacet(String slotName, Facet f)Add aFaceton a slot of this schemavoidPredicateSchema. addFacet(String slotName, Facet f)Add aFaceton a slot of this schemaabstract ObjectSchemaObjectSchema. getSchema(String name)Retrieves the schema of a slot of thisSchema.abstract booleanObjectSchema. isMandatory(String name)Indicate whether a slot of this schema is mandatoryAbsObjectAgentActionSchema. newInstance()Creates an Abstract descriptor to hold an agent action of the proper type.AbsObjectAggregateSchema. newInstance()Creates an Abstract descriptor to hold an aggregate of the proper type.AbsObjectConceptSchema. newInstance()Creates an Abstract descriptor to hold a concept of the proper type.AbsObjectConceptSlotFunctionSchema. newInstance()AbsObjectContentElementListSchema. newInstance()Creates an Abstract descriptor to hold a content element listAbsObjectContentElementSchema. newInstance()Creates an Abstract descriptor to hold a content element of the proper type.AbsObjectIRESchema. newInstance()Creates an Abstract descriptor to hold a ire of the proper type.abstract AbsObjectObjectSchema. newInstance()Creates an Abstract descriptor to hold an object compliant to thisSchema.AbsObjectPredicateSchema. newInstance()Creates an Abstract descriptor to hold a predicate of the proper type.AbsObjectPrimitiveSchema. newInstance()Creates an Abstract descriptor to hold a primitive of the proper type.AbsObjectReferenceSchema. newInstance()Creates an Abstract descriptor to hold a referenceAbsObjectTermSchema. newInstance()Creates an Abstract descriptor to hold a term of the proper type.AbsObjectVariableSchema. newInstance()Creates an Abstract descriptor to hold a variablevoidAgentActionSchema. validate(AbsObject abs, Ontology onto)Check whether a given abstract descriptor complies with this schema.voidAggregateSchema. validate(AbsObject abs, Ontology onto)Check whether a given abstract descriptor complies with this schema.voidConceptSchema. validate(AbsObject abs, Ontology onto)Check whether a given abstract descriptor complies with this schema.voidContentElementListSchema. validate(AbsObject abs, Ontology onto)Check whether a given abstract descriptor complies with this schema.voidFacet. validate(AbsObject value, Ontology onto)Check whether a given value for the slot this Facet applies to is valid.voidIRESchema. validate(AbsObject abs, Ontology onto)Check whether a given abstract descriptor complies with this schema.abstract voidObjectSchema. validate(AbsObject abs, Ontology onto)Check whether a given abstract descriptor complies with this schema.voidPredicateSchema. validate(AbsObject abs, Ontology onto)Check whether a given abstract descriptor complies with this schema.voidPrimitiveSchema. validate(AbsObject abs, Ontology onto)Check whether a given abstract descriptor complies with this schema.voidReferenceSchema. validate(AbsObject abs, Ontology onto)Check whether a given abstract descriptor complies with this schema.voidVariableSchema. 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 Modifier and Type Method Description voidCardinalityFacet. validate(AbsObject value, Ontology onto)Check that the number of elements in an AbsAggregate is within a given rangevoidDefaultValueFacet. validate(AbsObject value, Ontology onto)Check whether a given value for the slot this Facet applies to is valid.voidDocumentationFacet. validate(AbsObject value, Ontology onto)Check whether a given value for the slot this Facet applies to is valid.voidJavaTypeFacet. validate(AbsObject value, Ontology onto)Check whether a given value for the slot this Facet applies to is valid.voidPermittedValuesFacet. validate(AbsObject value, Ontology onto)Check whether a given value for the slot this Facet applies to is valid.voidRegexFacet. validate(AbsObject value, Ontology onto)Check whether a given value for the slot this Facet applies to is valid.voidTypedAggregateFacet. validate(AbsObject value, Ontology onto)Check whether a given value for the slot this Facet applies to is valid.
-