|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--jade.content.schema.ObjectSchema
|
+--jade.content.schema.ObjectSchemaImpl
|
+--jade.content.schema.TermSchema
|
+--jade.content.schema.AggregateSchema
This class represent the schema of aggregate entities in an ontology.
| Field Summary | |
static java.lang.String |
BASE_NAME
|
| Fields inherited from class jade.content.schema.ObjectSchema |
baseSchema, MANDATORY, OPTIONAL, UNLIMITED |
| Constructor Summary | |
AggregateSchema(java.lang.String typeName)
Creates an AggregateSchema with a given type-name. |
|
| Method Summary | |
protected boolean |
descendsFrom(ObjectSchema s)
Return true if - s is the base schema for the XXXSchema class this schema is an instance of (e.g. |
boolean |
equals(java.lang.Object o)
The difference between types of aggregates (such as SET and SEQUENCE) is quite fuzy. |
static ObjectSchema |
getBaseSchema()
Retrieve the generic base schema for all aggregates. |
AbsObject |
newInstance()
Creates an Abstract descriptor to hold an aggregate of the proper type. |
void |
validate(AbsObject abs,
Ontology onto)
Check whether a given abstract descriptor complies with this schema. |
| Methods inherited from class jade.content.schema.TermSchema |
add, add, add, add, addFacet, addSuperSchema, containsSlot, getFacets, getNames, getSchema, getTypeName, isCompatibleWith, isMandatory, toString, validateSlots |
| Methods inherited from class jade.content.schema.ObjectSchema |
getEncodingByOrder, setEncodingByOrder |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final java.lang.String BASE_NAME
| Constructor Detail |
public AggregateSchema(java.lang.String typeName)
AggregateSchema with a given type-name.
typeName - The name of this AggregateSchema.| Method Detail |
public static ObjectSchema getBaseSchema()
public AbsObject newInstance()
throws OntologyException
newInstance in class TermSchemaOntologyException
public void validate(AbsObject abs,
Ontology onto)
throws OntologyException
validate in class jade.content.schema.ObjectSchemaImplabs - The abstract descriptor to be checked
OntologyException - If the abstract descriptor does not
complies with this schemaprotected boolean descendsFrom(ObjectSchema s)
descendsFrom in class TermSchemapublic boolean equals(java.lang.Object o)
equals in class jade.content.schema.ObjectSchemaImpl
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||