JADE_SL.schema
Class TermSchema
java.lang.Object
JADE_SL.schema.ObjectSchema
JADE_SL.schema.TermSchema
- Direct Known Subclasses:
- AggregateSchema, ConceptSchema, IRESchema, PrimitiveSchema, VariableSchema
- public class TermSchema
- extends ObjectSchema
- Author:
- Federico Bergenti - Universita` di Parma
| Nested classes inherited from class JADE_SL.schema.ObjectSchema |
|
|
Constructor Summary |
private |
TermSchema()
Construct a schema that vinculates an entity to be a generic
term |
protected |
TermSchema(java.lang.String typeName)
Creates a TermSchema 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. 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 terms. |
AbsObject |
newInstance()
Creates an Abstract descriptor to hold a term of
the proper type. |
| Methods inherited from class JADE_SL.schema.ObjectSchema |
add, add, add, addFacet, addSuperSchema, containsSlot, equals, getNames, getSchema, getTypeName, isCompatibleWith, toString, validate, validateSlots |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
BASE_NAME
public static final java.lang.String BASE_NAME
- See Also:
- Constant Field Values
baseSchema
private static TermSchema baseSchema
TermSchema
private TermSchema()
- Construct a schema that vinculates an entity to be a generic
term
TermSchema
protected TermSchema(java.lang.String typeName)
- Creates a
TermSchema with a given type-name.
- Parameters:
typeName - The name of this TermSchema.
getBaseSchema
public static ObjectSchema getBaseSchema()
- Retrieve the generic base schema for terms.
- Returns:
- the generic base schema for terms.
newInstance
public AbsObject newInstance()
throws OntologyException
- Creates an Abstract descriptor to hold a term of
the proper type.
- Overrides:
newInstance in class ObjectSchema
- Throws:
OntologyException
descendsFrom
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)
- Overrides:
descendsFrom in class ObjectSchema
Copyright © 2000-2003 BT Exact Technologies. All Rights Reserved.