Package | Description |
---|---|
jade.content.onto | |
jade.content.schema | |
jade.content.schema.facets |
Modifier and Type | Method and Description |
---|---|
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. |
Modifier and Type | Method and Description |
---|---|
static java.util.List<ObjectSchema> |
Ontology.getReferencedSchemas(ObjectSchema rootSchema) |
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 |
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.
|
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) |
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) |
static java.util.List<ObjectSchema> |
Ontology.getReferencedSchemas(ObjectSchema rootSchema) |
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) |
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) |
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 |
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.
|
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 |
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.
|
abstract ObjectSchema |
ObjectSchema.getSchema(java.lang.String name)
Retrieves the schema of a slot of this
Schema . |
abstract ObjectSchema[] |
ObjectSchema.getSuperSchemas()
Retrieves an array containing the direct super-schemas of this schema.
|
Modifier and Type | Method and Description |
---|---|
void |
PredicateSchema.add(java.lang.String name,
ObjectSchema slotSchema)
Add a mandatory slot to this schema.
|
protected abstract void |
ObjectSchema.add(java.lang.String name,
ObjectSchema slotSchema)
Add a mandatory slot to the schema.
|
void |
PredicateSchema.add(java.lang.String name,
ObjectSchema slotSchema,
int optionality)
Add a slot to this schema.
|
protected abstract void |
ObjectSchema.add(java.lang.String name,
ObjectSchema slotSchema,
int optionality)
Add a slot to the schema.
|
protected abstract void |
ObjectSchema.add(java.lang.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(java.lang.String name,
ObjectSchema elementsSchema,
int cardMin,
int cardMax,
java.lang.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. |
void |
PredicateSchema.add(java.lang.String name,
ObjectSchema elementsSchema,
int cardMin,
int cardMax,
java.lang.String aggType,
int optionality)
Add a slot with optionality and cardinality between
cardMin
and cardMax to this schema and allow specifying the type
of Aggregate to be used for this slot. |
void |
ConceptSchema.add(java.lang.String name,
ObjectSchema elementsSchema,
int cardMin,
int cardMax,
java.lang.String aggType,
int optionality)
Add a slot with optionality and 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.addSuperSchema(ObjectSchema superSchema)
Add a super schema tho this schema, i.e. this schema will
inherit all characteristics from the super schema
|
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. s is ConceptSchema.getBaseSchema() and this
schema is an instance of ConceptSchema)
- s is the base schema for a super-class of the XXXSchema class
this schema is an instance of (e.g. s is TermSchema.getBaseSchema()
and this schema is an instance of ConceptSchema)
|
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. s is ConceptSchema.getBaseSchema() and this
schema is an instance of ConceptSchema)
- s is the base schema for a super-class of the XXXSchema class
this schema is an instance of (e.g. s is TermSchema.getBaseSchema()
and this schema is an instance of ConceptSchema)
|
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. s is ConceptSchema.getBaseSchema() and this
schema is an instance of ConceptSchema)
- s is the base schema for a super-class of the XXXSchema class
this schema is an instance of (e.g. s is TermSchema.getBaseSchema()
and this schema is an instance of ConceptSchema)
|
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. s is ConceptSchema.getBaseSchema() and this
schema is an instance of ConceptSchema)
- s is the base schema for a super-class of the XXXSchema class
this schema is an instance of (e.g. s is TermSchema.getBaseSchema()
and this schema is an instance of ConceptSchema)
|
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. s is ConceptSchema.getBaseSchema() and this
schema is an instance of ConceptSchema)
- s is the base schema for a super-class of the XXXSchema class
this schema is an instance of (e.g. s is TermSchema.getBaseSchema()
and this schema is an instance of ConceptSchema)
|
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. s is ConceptSchema.getBaseSchema() and this
schema is an instance of ConceptSchema)
- s is the base schema for a super-class of the XXXSchema class
this schema is an instance of (e.g. s is TermSchema.getBaseSchema()
and this schema is an instance of ConceptSchema.
|
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. s is ConceptSchema.getBaseSchema() and this
schema is an instance of ConceptSchema)
- s is the base schema for a super-class of the XXXSchema class
this schema is an instance of (e.g. s is TermSchema.getBaseSchema()
and this schema is an instance of ConceptSchema)
|
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. s is ConceptSchema.getBaseSchema() and this
schema is an instance of ConceptSchema)
- s is the base schema for a super-class of the XXXSchema class
this schema is an instance of (e.g. s is TermSchema.getBaseSchema()
and this schema is an instance of ConceptSchema)
|
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. s is ConceptSchema.getBaseSchema() and this
schema is an instance of ConceptSchema)
- s is the base schema for a super-class of the XXXSchema class
this schema is an instance of (e.g. s is TermSchema.getBaseSchema()
and this schema is an instance of ConceptSchema)
|
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. s is ConceptSchema.getBaseSchema() and this
schema is an instance of ConceptSchema)
- s is the base schema for a super-class of the XXXSchema class
this schema is an instance of (e.g. s is TermSchema.getBaseSchema()
and this schema is an instance of ConceptSchema)
|
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. s is ConceptSchema.getBaseSchema() and this
schema is an instance of ConceptSchema)
- s is the base schema for a super-class of the XXXSchema class
this schema is an instance of (e.g. s is TermSchema.getBaseSchema()
and this schema is an instance of ConceptSchema.
|
boolean |
PrimitiveSchema.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()
|
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()
|
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 |