|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--jade.content.schema.ObjectSchema | +--jade.content.schema.ObjectSchemaImpl | +--jade.content.schema.ContentElementSchema | +--jade.content.schema.ContentElementListSchema
Field Summary | |
static java.lang.String |
BASE_NAME
|
Fields inherited from class jade.content.schema.ContentElementSchema |
BASE_NAME |
Fields inherited from class jade.content.schema.ObjectSchema |
BASE_NAME,
baseSchema,
MANDATORY,
OPTIONAL,
UNLIMITED |
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. 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) |
static ObjectSchema |
getBaseSchema()
Retrieve the generic base schema for all content element lists. |
AbsObject |
newInstance()
Creates an Abstract descriptor to hold a content element list |
void |
validate(AbsObject abs,
Ontology onto)
Check whether a given abstract descriptor complies with this schema. |
Methods inherited from class jade.content.schema.ObjectSchemaImpl |
add,
add,
add,
add,
addFacet,
addSuperSchema,
containsSlot,
equals,
getFacets,
getNames,
getSchema,
getTypeName,
isCompatibleWith,
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
Method Detail |
public static ObjectSchema getBaseSchema()
public AbsObject newInstance() throws OntologyException
public void validate(AbsObject abs, Ontology onto) throws OntologyException
abs
- The abstract descriptor to be checkedprotected boolean descendsFrom(ObjectSchema s)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |