Package | Description |
---|---|
jade.content.abs | |
jade.content.lang.sl | |
jade.content.onto | |
jade.content.schema | |
jade.content.schema.facets |
Modifier and Type | Method and Description |
---|---|
static AbsObject |
AbsHelper.createAbsTemplate(ObjectSchema schema)
Generate an AbsObject consistently with schema.
|
static AbsObject |
AbsHelper.createAbsTemplate(ObjectSchema schema,
String prefix)
Generate an AbsObject consistently with schema.
|
private static AbsObject |
AbsHelper.createAbsTemplate(ObjectSchema schema,
String prefix,
AbsHelper.VarIndexWrapper viw) |
Modifier and Type | Method and Description |
---|---|
private void |
SimpleSLCodec.fillSlotsByOrder(AbsObject abs,
ObjectSchema s,
SimpleSLTokenizer p,
Ontology o) |
Modifier and Type | Method and Description |
---|---|
private ObjectSchema |
BasicOntology.createMsgSchema(String performative)
Note that we don't want to keep 22 different schemas for the 22
FIPA communicative acts --> We generate the schemas for communicative
acts on the fly as needed.
|
private ObjectSchema |
BeanOntologyBuilder.doAddFlatSchema(Class clazz,
boolean skipClassChecking) |
private ObjectSchema |
BeanOntologyBuilder.doAddHierarchicalSchema(Class clazz,
boolean skipClassChecking) |
ObjectSchema |
Ontology.getSchema(Class clazz)
Retrieves the schema associated to a given class in this ontology.
|
ObjectSchema |
BasicOntology.getSchema(Class clazz)
Redefine the
getSchema() method to take into
account java primitives. |
static ObjectSchema |
AggregateHelper.getSchema(Class clazz,
TermSchema elementSchema)
Get ontology schema associated to class
Try to manage as aggregate
|
ObjectSchema |
Ontology.getSchema(String name)
Retrieves the schema of element
name in this ontology. |
ObjectSchema |
BasicOntology.getSchema(String name)
Redefine the
getSchema() method to take into
account ACL performatives. |
Modifier and Type | Method and Description |
---|---|
void |
Ontology.add(ObjectSchema schema)
Adds a schema to this ontology
|
void |
Ontology.add(ObjectSchema schema,
Class javaClass)
Adds a schema to the ontology and associates it to the class
javaClass |
void |
ReflectiveIntrospector.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.
|
void |
MicroIntrospector.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.
|
void |
Introspector.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.
|
void |
BeanIntrospector.checkClass(ObjectSchema schema,
Class javaClass,
Ontology onto) |
void |
BCReflectiveIntrospector.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.
|
private void |
BeanOntologyBuilder.doAddEnumSlotSchema(Class clazz,
ObjectSchema schema,
String schemaName) |
protected void |
Ontology.externalize(Object obj,
AbsObject abs,
ObjectSchema schema,
Ontology globalOnto)
Externalize (obj --> abs) the slots defined in
schema and its super-schemas |
AbsAggregate |
ReflectiveIntrospector.externalizeAggregate(String slotName,
Object obj,
ObjectSchema schema,
Ontology referenceOnto) |
AbsAggregate |
MicroIntrospector.externalizeAggregate(String slotName,
Object obj,
ObjectSchema schema,
Ontology referenceOnto) |
AbsAggregate |
Introspector.externalizeAggregate(String slotName,
Object obj,
ObjectSchema schema,
Ontology referenceOnto) |
AbsAggregate |
CFReflectiveIntrospector.externalizeAggregate(String slotName,
Object obj,
ObjectSchema schema,
Ontology referenceOnto) |
AbsAggregate |
BeanIntrospector.externalizeAggregate(String slotName,
Object slotValue,
ObjectSchema schema,
Ontology referenceOnto) |
AbsAggregate |
BCReflectiveIntrospector.externalizeAggregate(String slotName,
Object obj,
ObjectSchema schema,
Ontology referenceOnto) |
AbsObject |
ReflectiveIntrospector.externalizeSpecialType(Object obj,
ObjectSchema schema,
Class javaClass,
Ontology referenceOnto) |
private AbsObject |
Ontology.externalizeSpecialType(Object obj,
ObjectSchema schema,
Class javaClass,
Ontology globalOnto) |
AbsObject |
MicroIntrospector.externalizeSpecialType(Object obj,
ObjectSchema schema,
Class javaClass,
Ontology referenceOnto) |
AbsObject |
Introspector.externalizeSpecialType(Object obj,
ObjectSchema schema,
Class javaClass,
Ontology referenceOnto) |
AbsObject |
BeanIntrospector.externalizeSpecialType(Object obj,
ObjectSchema schema,
Class javaClass,
Ontology referenceOnto) |
Object |
ReflectiveIntrospector.getSlotValue(String slotName,
Object obj,
ObjectSchema schema) |
private Object |
Ontology.getSlotValue(String slotName,
Object obj,
ObjectSchema schema) |
Object |
MicroIntrospector.getSlotValue(String slotName,
Object obj,
ObjectSchema schema) |
Object |
Introspector.getSlotValue(String slotName,
Object obj,
ObjectSchema schema) |
Object |
BeanIntrospector.getSlotValue(String slotName,
Object obj,
ObjectSchema schema) |
Object |
BCReflectiveIntrospector.getSlotValue(String slotName,
Object obj,
ObjectSchema schema) |
protected void |
Ontology.internalize(AbsObject abs,
Object obj,
ObjectSchema schema,
Ontology globalOnto)
Internalize (abs --> obj) the slots defined in
schema and its super-schemas |
Object |
ReflectiveIntrospector.internalizeAggregate(String slotName,
AbsAggregate abs,
ObjectSchema schema,
Ontology referenceOnto) |
Object |
MicroIntrospector.internalizeAggregate(String slotName,
AbsAggregate abs,
ObjectSchema schema,
Ontology referenceOnto) |
Object |
Introspector.internalizeAggregate(String slotName,
AbsAggregate abs,
ObjectSchema schema,
Ontology referenceOnto) |
Object |
CFReflectiveIntrospector.internalizeAggregate(String slotName,
AbsAggregate absAggregate,
ObjectSchema schema,
Ontology referenceOnto) |
Object |
BeanIntrospector.internalizeAggregate(String slotName,
AbsAggregate absAggregate,
ObjectSchema schema,
Ontology referenceOnto) |
Object |
BCReflectiveIntrospector.internalizeAggregate(String slotName,
AbsAggregate abs,
ObjectSchema schema,
Ontology referenceOnto) |
Object |
ReflectiveIntrospector.internalizeSpecialType(AbsObject abs,
ObjectSchema schema,
Class javaClass,
Ontology referenceOnto) |
private Object |
Ontology.internalizeSpecialType(AbsObject abs,
ObjectSchema schema,
Class javaClass,
Ontology globalOnto) |
Object |
MicroIntrospector.internalizeSpecialType(AbsObject abs,
ObjectSchema schema,
Class javaClass,
Ontology referenceOnto) |
Object |
Introspector.internalizeSpecialType(AbsObject abs,
ObjectSchema schema,
Class javaClass,
Ontology referenceOnto) |
Object |
BeanIntrospector.internalizeSpecialType(AbsObject abs,
ObjectSchema schema,
Class javaClass,
Ontology referenceOnto) |
void |
ReflectiveIntrospector.setSlotValue(String slotName,
Object slotValue,
Object obj,
ObjectSchema schema) |
private void |
Ontology.setSlotValue(String slotName,
Object slotValue,
Object obj,
ObjectSchema schema) |
void |
MicroIntrospector.setSlotValue(String slotName,
Object slotValue,
Object obj,
ObjectSchema schema) |
void |
Introspector.setSlotValue(String slotName,
Object slotValue,
Object obj,
ObjectSchema schema) |
void |
BeanIntrospector.setSlotValue(String slotName,
Object slotValue,
Object obj,
ObjectSchema schema) |
void |
BCReflectiveIntrospector.setSlotValue(String slotName,
Object slotValue,
Object obj,
ObjectSchema schema) |
Modifier and Type | Class and Description |
---|---|
class |
AgentActionSchema
The class to be used to define schemas of agent actions in
an ontology.
|
class |
AggregateSchema
This class represent the schema of aggregate entities in
an ontology.
|
class |
ConceptSchema
The class to be used to define schemas of concepts in
an ontology.
|
class |
ConceptSlotFunctionSchema |
class |
ContentElementListSchema |
class |
ContentElementSchema
This class represents the schema of a generic content element in
an ontology.
|
class |
IRESchema
This class represents the schema of an Identifying Referential
Expression (IRE) in an ontology.
|
(package private) class |
ObjectSchemaImpl |
class |
PredicateSchema
The class to be used to define schemas of predicates in
an ontology.
|
class |
PrimitiveSchema
This class represent the schema of primitive entities in
an ontology.
|
class |
TermSchema
This class represents the schema of a generic term in
an ontology.
|
class |
VariableSchema
This class represents the schema of a variable.
|
Modifier and Type | Field and Description |
---|---|
protected static ObjectSchema |
ObjectSchema.baseSchema |
private ObjectSchema |
ObjectSchemaImpl.SlotDescriptor.schema |
Modifier and Type | Method and Description |
---|---|
static ObjectSchema |
VariableSchema.getBaseSchema()
Retrieve the generic base schema for all variables.
|
static ObjectSchema |
TermSchema.getBaseSchema()
Retrieve the generic base schema for terms.
|
static ObjectSchema |
PrimitiveSchema.getBaseSchema()
Retrieve the generic base schema for all primitives.
|
static ObjectSchema |
PredicateSchema.getBaseSchema()
Retrieve the generic base schema for all predicates.
|
static ObjectSchema |
ObjectSchema.getBaseSchema()
Retrieve the generic base schema for all objects.
|
static ObjectSchema |
IRESchema.getBaseSchema()
Retrieve the generic base schema for all ire-s.
|
static ObjectSchema |
ContentElementSchema.getBaseSchema()
Retrieve the generic base schema for all content elements.
|
static ObjectSchema |
ContentElementListSchema.getBaseSchema()
Retrieve the generic base schema for all content element lists.
|
static ObjectSchema |
ConceptSchema.getBaseSchema()
Retrieve the generic base schema for all concepts.
|
static ObjectSchema |
AggregateSchema.getBaseSchema()
Retrieve the generic base schema for all aggregates.
|
static ObjectSchema |
AgentActionSchema.getBaseSchema()
Retrieve the generic base schema for all agent actions.
|
ObjectSchema |
ObjectSchemaImpl.getSchema(String name)
Retrieves the schema of a slot of this
Schema . |
abstract ObjectSchema |
ObjectSchema.getSchema(String name)
Retrieves the schema of a slot of this
Schema . |
ObjectSchema[] |
ObjectSchemaImpl.getSuperSchemas() |
abstract ObjectSchema[] |
ObjectSchema.getSuperSchemas()
Retrieves an array containing the direct super-schemas of this schema.
|
Modifier and Type | Method and Description |
---|---|
void |
PredicateSchema.add(String name,
ObjectSchema slotSchema)
Add a mandatory slot to this schema.
|
protected void |
ObjectSchemaImpl.add(String name,
ObjectSchema slotSchema)
Add a mandatory slot to the schema.
|
protected abstract void |
ObjectSchema.add(String name,
ObjectSchema slotSchema)
Add a mandatory slot to the schema.
|
void |
PredicateSchema.add(String name,
ObjectSchema slotSchema,
int optionality)
Add a slot to this schema.
|
protected void |
ObjectSchemaImpl.add(String name,
ObjectSchema slotSchema,
int optionality)
Add a slot to the schema.
|
protected abstract void |
ObjectSchema.add(String name,
ObjectSchema slotSchema,
int optionality)
Add a slot to the schema.
|
protected void |
ObjectSchemaImpl.add(String name,
ObjectSchema elementsSchema,
int cardMin,
int cardMax)
Add a slot with cardinality between
cardMin
and cardMax to this schema. |
protected abstract void |
ObjectSchema.add(String name,
ObjectSchema elementsSchema,
int cardMin,
int cardMax)
Add a slot with cardinality between
cardMin
and cardMax to this schema. |
protected void |
ObjectSchemaImpl.add(String name,
ObjectSchema elementsSchema,
int cardMin,
int cardMax,
String aggType)
Add a slot with cardinality between
cardMin
and cardMax to this schema and allow specifying the type
of Aggregate to be used for this slot. |
protected abstract void |
ObjectSchema.add(String name,
ObjectSchema elementsSchema,
int cardMin,
int cardMax,
String aggType)
Add a slot with cardinality between
cardMin
and cardMax to this schema and allow specifying the type
of Aggregate to be used for this slot. |
protected void |
ObjectSchemaImpl.addSuperSchema(ObjectSchema superSchema)
Add a super schema to this schema, i.e.
|
protected abstract void |
ObjectSchema.addSuperSchema(ObjectSchema superSchema)
Add a super schema tho this schema, i.e.
|
protected boolean |
VariableSchema.descendsFrom(ObjectSchema s)
Return true if
- s is the base schema for the XXXSchema class this schema is
an instance of (e.g.
|
protected boolean |
TermSchema.descendsFrom(ObjectSchema s)
Return true if
- s is the base schema for the XXXSchema class this schema is
an instance of (e.g.
|
protected boolean |
PrimitiveSchema.descendsFrom(ObjectSchema s)
Return true if
- s is the base schema for the XXXSchema class this schema is
an instance of (e.g.
|
protected boolean |
PredicateSchema.descendsFrom(ObjectSchema s)
Return true if
- s is the base schema for the XXXSchema class this schema is
an instance of (e.g.
|
protected boolean |
ObjectSchemaImpl.descendsFrom(ObjectSchema s)
Return true if
- s is the base schema for the XXXSchema class this schema is
an instance of (e.g.
|
protected abstract boolean |
ObjectSchema.descendsFrom(ObjectSchema s)
Return true if
- s is the base schema for the XXXSchema class this schema is
an instance of (e.g.
|
protected boolean |
IRESchema.descendsFrom(ObjectSchema s)
Return true if
- s is the base schema for the XXXSchema class this schema is
an instance of (e.g.
|
protected boolean |
ContentElementSchema.descendsFrom(ObjectSchema s)
Return true if
- s is the base schema for the XXXSchema class this schema is
an instance of (e.g.
|
protected boolean |
ContentElementListSchema.descendsFrom(ObjectSchema s)
Return true if
- s is the base schema for the XXXSchema class this schema is
an instance of (e.g.
|
protected boolean |
ConceptSchema.descendsFrom(ObjectSchema s)
Return true if
- s is the base schema for the XXXSchema class this schema is
an instance of (e.g.
|
protected boolean |
AggregateSchema.descendsFrom(ObjectSchema s)
Return true if
- s is the base schema for the XXXSchema class this schema is
an instance of (e.g.
|
protected boolean |
AgentActionSchema.descendsFrom(ObjectSchema s)
Return true if
- s is the base schema for the XXXSchema class this schema is
an instance of (e.g.
|
boolean |
PrimitiveSchema.isAssignableFrom(ObjectSchema s) |
boolean |
ObjectSchemaImpl.isAssignableFrom(ObjectSchema s) |
abstract boolean |
ObjectSchema.isAssignableFrom(ObjectSchema s)
This method checks whether or not an abstract object that is an instance
of schema s can be used in place of an abstract object that is an instance
of this schema.
|
boolean |
AggregateSchema.isAssignableFrom(ObjectSchema s) |
boolean |
VariableSchema.isCompatibleWith(ObjectSchema s)
A variable can be put whereever a term of whatever type is
required --> A VariableSchema is
compatible with s if s descends from TermSchema.getBaseSchema()
|
boolean |
ObjectSchemaImpl.isCompatibleWith(ObjectSchema s)
Check if this schema is compatible with a given schema s.
|
abstract boolean |
ObjectSchema.isCompatibleWith(ObjectSchema s)
Check if this schema is compatible with a given schema s.
|
boolean |
IRESchema.isCompatibleWith(ObjectSchema s)
An IRE can be put whereever a term of whatever type is
required --> An IRESchema is
compatible with s if s descends from TermSchema.getBaseSchema()
|
private boolean |
ObjectSchemaImpl.isSubSchemaOf(ObjectSchema s)
Return true if s is a super-schema (directly or indirectly)
of this schema
|
Constructor and Description |
---|
SlotDescriptor(String name,
ObjectSchema schema,
int optionality)
Construct a SlotDescriptor
|
Modifier and Type | Field and Description |
---|---|
private ObjectSchema |
TypedAggregateFacet.type |
Modifier and Type | Method and Description |
---|---|
ObjectSchema |
TypedAggregateFacet.getType()
Get the schema associated to this facet
|
Constructor and Description |
---|
TypedAggregateFacet(ObjectSchema s)
Construct a
TypedAggregateFacet that forces
the elements in an AbsAggregate to be instances of a given
schema |