|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface OWLDescription
Author: Matthew Horridge
The University Of Manchester
Bio-Health Informatics Group
Date: 24-Oct-2006
Represents a class description in OWL. This interface
covers named and anonymous classes.
Method Summary | ||
---|---|---|
void |
accept(OWLDescriptionVisitor visitor)
Accepts a visit from an OWLDescriptionVisitor |
|
|
accept(OWLDescriptionVisitorEx<O> visitor)
|
|
OWLClass |
asOWLClass()
If this class description is in fact a named class then this method may be used to obtain the description as an OWLClass
without the need for casting. |
|
OWLDescription |
getComplementNNF()
Gets the negation normal form of the complement of this description. |
|
OWLDescription |
getNNF()
Gets this description in negation normal form. |
|
boolean |
isAnonymous()
Determines whether or not this description represents an anonymous class description. |
|
boolean |
isLiteral()
Determines if this class is a literal. |
|
boolean |
isOWLNothing()
Determines if this description is the built in class owl:Nothing. |
|
boolean |
isOWLThing()
Determines if this description is the built in class owl:Thing. |
Methods inherited from interface org.semanticweb.owl.model.OWLObject |
---|
accept, accept, getSignature |
Methods inherited from interface java.lang.Comparable |
---|
compareTo |
Method Detail |
---|
boolean isAnonymous()
true
if this is an anonymous class description,
or false
if this is a named class (OWLClass
)boolean isLiteral()
true
if this is a literal, or false if this
is not a literal.OWLClass asOWLClass()
OWLClass
without the need for casting. The general pattern of use is to use
the isAnonymous
to first check
OWLClass
.
OWLRuntimeException
- if this class description is not an OWLClass
.boolean isOWLThing()
true
if this description is owl:Thing,
or false
if this description is not owl:Thingboolean isOWLNothing()
true
if this description is owl:Nothing,
or false
if this description is not owl:Nothing.OWLDescription getNNF()
OWLDescription getComplementNNF()
void accept(OWLDescriptionVisitor visitor)
OWLDescriptionVisitor
visitor
- The visitor that wants to visit<O> O accept(OWLDescriptionVisitorEx<O> visitor)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |