|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.lehigh.swat.hawk.storage.simplememory.SerializableClass
edu.lehigh.swat.hawk.storage.simplememory.OntObject
edu.lehigh.swat.hawk.storage.simplememory.OntClass
public class OntClass
A simple implementation of core.OntClass in memory.
Constructor Summary | |
---|---|
OntClass()
Constructor |
Method Summary | |
---|---|
void |
addComplementOf(ObjectId i)
Add an 'ComplementOf' class or restriction. |
void |
addDisjointWith(ObjectId id)
Add a 'disjointWith' class. |
void |
addEquivalentClass(ObjectId ec)
Add a equivalent class. |
void |
addIntersectionOf(ObjectId i)
Add an 'IntersectionOf' class or restriction. |
void |
addOneOf(ObjectId one)
Add an 'OneOf' object. |
void |
addPropertyRestriction(ObjectId r)
Add a property restriction. |
void |
addSubClass(ObjectId c)
Add a direct subClass. |
void |
addSuperClass(ObjectId c)
Add a direct super Class. |
void |
addUnionOf(ObjectId u)
Add an 'UnionOf' class. |
void |
deleteComplementOf(ObjectId i)
Delete an 'ComplementOf' class or restriction. |
void |
deleteDisjointWith(ObjectId id)
Delete a 'disjointWith' class. |
void |
deleteEquivalentClass(ObjectId ec)
Delete a equivalent class. |
void |
deleteIntersectionOf(ObjectId i)
Delete an 'IntersectionOf' class or restriction. |
void |
deleteOneOf(ObjectId one)
Delete an 'OneOf' object. |
void |
deletePropertyRestriction(ObjectId r)
Delete a property restriction. |
void |
deleteSubClass(ObjectId c)
Delete a direct subClass. |
void |
deleteSuperClass(ObjectId c)
delete a direct super Class |
void |
deleteUnionOf(ObjectId u)
Delete an 'UnionOf' class. |
ObjectId[] |
getComplementOfs()
Get the 'ComplementOf' classes or restrictions. |
ObjectId[] |
getDirectSubClasses()
get the direct subClasses |
ObjectId[] |
getDirectSuperClasses()
get the direct super Classes |
ObjectId[] |
getDisjointWith()
Get the disjointWith classes. |
ObjectId[] |
getEquivalentClasses()
Get the equivalent classes. |
ObjectId[] |
getIntersectionOfs()
Get the 'IntersectionOf' classes or restrictions. |
ObjectId[] |
getOneOfs()
Get the 'OneOf' objects. |
ObjectId[] |
getPropertyRestrictions()
Get the property restrictions. |
ObjectId[] |
getUnionOfs()
Get the 'IntersectionOf' classes. |
boolean |
isDeprecated()
Test if this class is deprecated. |
java.lang.Boolean |
isSatisfiabele()
Test if this class is satisfiable. |
void |
setDeprecated(boolean dep)
Set the class to be deprecated. |
void |
setSatisfiable(java.lang.Boolean sat)
Set the satisfiability of this class. |
Methods inherited from class edu.lehigh.swat.hawk.storage.simplememory.OntObject |
---|
addDescription, deleteDescription, getAllDescriptions, getDescription, getID, getLabel, getOntology, getSource, setID, setLabel, setOntology, setSource |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface edu.lehigh.swat.hawk.core.OntObject |
---|
addDescription, deleteDescription, getAllDescriptions, getDescription, getID, getLabel, getOntology, getSource, setID, setLabel, setOntology, setSource |
Constructor Detail |
---|
public OntClass()
Method Detail |
---|
public void addSubClass(ObjectId c)
addSubClass
in interface OntClass
public ObjectId[] getDirectSubClasses()
getDirectSubClasses
in interface OntClass
public void deleteSubClass(ObjectId c)
deleteSubClass
in interface OntClass
public void addSuperClass(ObjectId c)
addSuperClass
in interface OntClass
public ObjectId[] getDirectSuperClasses()
getDirectSuperClasses
in interface OntClass
public void deleteSuperClass(ObjectId c)
deleteSuperClass
in interface OntClass
public void addPropertyRestriction(ObjectId r)
addPropertyRestriction
in interface OntClass
public void deletePropertyRestriction(ObjectId r)
deletePropertyRestriction
in interface OntClass
public ObjectId[] getPropertyRestrictions()
getPropertyRestrictions
in interface OntClass
public void addEquivalentClass(ObjectId ec)
addEquivalentClass
in interface OntClass
public void deleteEquivalentClass(ObjectId ec)
deleteEquivalentClass
in interface OntClass
public ObjectId[] getEquivalentClasses()
getEquivalentClasses
in interface OntClass
public void addUnionOf(ObjectId u)
addUnionOf
in interface OntClass
public void deleteUnionOf(ObjectId u)
deleteUnionOf
in interface OntClass
public ObjectId[] getUnionOfs()
getUnionOfs
in interface OntClass
public void addIntersectionOf(ObjectId i)
addIntersectionOf
in interface OntClass
public void deleteIntersectionOf(ObjectId i)
deleteIntersectionOf
in interface OntClass
public ObjectId[] getIntersectionOfs()
getIntersectionOfs
in interface OntClass
public void addOneOf(ObjectId one)
addOneOf
in interface OntClass
public void deleteOneOf(ObjectId one)
deleteOneOf
in interface OntClass
public ObjectId[] getOneOfs()
getOneOfs
in interface OntClass
public void addComplementOf(ObjectId i)
addComplementOf
in interface OntClass
public void deleteComplementOf(ObjectId i)
deleteComplementOf
in interface OntClass
public ObjectId[] getComplementOfs()
getComplementOfs
in interface OntClass
public void addDisjointWith(ObjectId id)
addDisjointWith
in interface OntClass
public void deleteDisjointWith(ObjectId id)
deleteDisjointWith
in interface OntClass
public ObjectId[] getDisjointWith()
getDisjointWith
in interface OntClass
public boolean isDeprecated()
isDeprecated
in interface OntClass
public void setDeprecated(boolean dep)
setDeprecated
in interface OntClass
public void setSatisfiable(java.lang.Boolean sat)
setSatisfiable
in interface OntClass
public java.lang.Boolean isSatisfiabele()
isSatisfiabele
in interface OntClass
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |