public class ContentElementListSchema extends ContentElementSchema
Modifier and Type | Field and Description |
---|---|
static String |
BASE_NAME |
private static ContentElementListSchema |
baseSchema |
RESULT_SLOT_NAME
encodingByOrder, MANDATORY, OPTIONAL, UNLIMITED
Modifier | Constructor and Description |
---|---|
private |
ContentElementListSchema()
Construct a schema that vinculates an entity to be a content element
list.
|
Modifier and Type | Method and Description |
---|---|
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.
|
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.
|
add, add, add, add, addFacet, addSuperSchema, containsSlot, equals, getAllFacets, getFacets, getNames, getOwnNames, getSchema, getSuperSchemas, getTypeName, isAssignableFrom, isCompatibleWith, isMandatory, isOwnSlot, toString, validateSlots
getEncodingByOrder, setEncodingByOrder
public static final String BASE_NAME
private static ContentElementListSchema baseSchema
private ContentElementListSchema()
public static ObjectSchema getBaseSchema()
public AbsObject newInstance() throws OntologyException
newInstance
in class ContentElementSchema
OntologyException
public void validate(AbsObject abs, Ontology onto) throws OntologyException
validate
in class ObjectSchemaImpl
abs
- The abstract descriptor to be checkedOntologyException
- If the abstract descriptor does not
complies with this schemaprotected boolean descendsFrom(ObjectSchema s)
descendsFrom
in class ContentElementSchema