public class TermSchema extends ObjectSchemaImpl
Modifier and Type | Field and Description |
---|---|
static String |
BASE_NAME |
private static TermSchema |
baseSchema |
RESULT_SLOT_NAME
encodingByOrder, MANDATORY, OPTIONAL, UNLIMITED
Modifier | Constructor and Description |
---|---|
private |
TermSchema()
Construct a schema that vinculates an entity to be a generic
term
|
protected |
TermSchema(String typeName)
Creates a
TermSchema with a given type-name. |
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 terms.
|
AbsObject |
newInstance()
Creates an Abstract descriptor to hold a term of
the proper type.
|
add, add, add, add, addFacet, addSuperSchema, containsSlot, equals, getAllFacets, getFacets, getNames, getOwnNames, getSchema, getSuperSchemas, getTypeName, isAssignableFrom, isCompatibleWith, isMandatory, isOwnSlot, toString, validate, validateSlots
getEncodingByOrder, setEncodingByOrder
public static final String BASE_NAME
private static TermSchema baseSchema
private TermSchema()
protected TermSchema(String typeName)
TermSchema
with a given type-name.typeName
- The name of this TermSchema
.public static ObjectSchema getBaseSchema()
public AbsObject newInstance() throws OntologyException
newInstance
in class ObjectSchemaImpl
OntologyException
protected boolean descendsFrom(ObjectSchema s)
descendsFrom
in class ObjectSchemaImpl