Package | Description |
---|---|
casa.ontology.v3 |
Modifier and Type | Class and Description |
---|---|
class |
SimpleType
Helper class for Ontology; not to be used by any other class other than Ontolgy.
|
class |
TypeListType |
Modifier and Type | Field and Description |
---|---|
(package private) List<BaseType> |
TypeListType.list |
(package private) HierarchicalDictionary<BaseType> |
CASAOntology.tBox
A specialized
HierarchicalDictionary used to contain type objects in this ontology. |
Modifier and Type | Method and Description |
---|---|
BaseType |
CASAOntology.declIndividual(String name)
Adds a new individual to this ontology.
|
BaseType |
CASAOntology.declType(String name)
Adds a new type to this ontology.
|
BaseType |
CASAOntology.getType(String name)
Retrieves the type object based on the name.
|
Modifier and Type | Method and Description |
---|---|
private int |
CASAOntology.appendMapletDecl(StringBuffer b,
BaseType t,
Relation rel) |
protected void |
CASAOntology.declMaplet(Relation relation,
BaseType domain,
BaseType range)
Adds a new pair in relationName to this ontology.
|
String |
CASAOntology.describe(BaseType type)
This method is not fully implemented in this implementation
|
private void |
BaseType.insertRelationFrom(Relation relation,
BaseType x)
Primitive method to add a link to the Type oo the range end of relation.
|
protected boolean |
BaseType.insertRelationTo(Relation relation,
BaseType roleFiller)
Primitive method to add a relation to link this Type through relation to another
Type.
|
protected boolean |
BaseType.relatedFrom(Relation relation,
BaseType domain) |
protected boolean |
BaseType.relatedTo(Relation relation,
BaseType range) |
protected boolean |
BaseType.removeRelationTo(Relation relation,
BaseType roleFiller)
Primitive method to remove a relation link from this Type through relation to
rolefiller.
|
Modifier and Type | Method and Description |
---|---|
private void |
TypeListType.extendedRelation(Relation relation,
Set<Type> ret,
List<BaseType> prefix,
int index) |
protected void |
BaseType.insertRelationTo(Relation relation,
Vector<BaseType> roleFiller) |
Constructor and Description |
---|
Maplet(BaseType newFirst,
BaseType newSecond) |
Constructor and Description |
---|
SimpleType(String typeName,
Vector<BaseType> parents,
CASAOntology ontology)
Constructor: makes a new node in the hierarchy with name typeName,
attaching the pointers to and from the nodes in parents.
|
TypeListType(List<BaseType> list) |