Package | Description |
---|---|
jade.content | |
jade.content.onto | |
jade.content.onto.basic | |
jade.content.schema | |
jade.content.schema.facets |
Modifier and Type | Method and Description |
---|---|
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 . |
Modifier and Type | Class and Description |
---|---|
class |
BeanOntologyException
This class is used for reporting exceptions when adding beans to a
BeanOntology . |
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 |
Modifier and Type | Method and Description |
---|---|
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 |
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.
|
AbsAggregate |
ReflectiveIntrospector.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 |
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) |
AbsObject |
Ontology.fromObject(java.lang.Object obj)
Converts a Java object into a proper abstract descriptor.
|
java.lang.Class |
Ontology.getClassForElement(java.lang.String name)
Retrieves the concrete class associated with element
name
in this ontology. |
static java.util.List<ObjectSchema> |
Ontology.getReferencedSchemas(ObjectSchema rootSchema) |
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 |
ReflectiveIntrospector.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) |
java.lang.Object |
ReflectiveIntrospector.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 |
Introspector.internalizeSpecialType(AbsObject abs,
ObjectSchema schema,
java.lang.Class javaClass,
Ontology referenceOnto) |
void |
ReflectiveIntrospector.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.
|
Modifier and Type | Method and Description |
---|---|
void |
Action.externalise(AbsObject abs,
Ontology onto) |
void |
Action.internalise(AbsObject abs,
Ontology onto) |
Modifier and Type | Method and Description |
---|---|
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 |
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.
|
Modifier and Type | Method and Description |
---|---|
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
|