|
|||||||||
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. |
|
boolean |
isAnonymous()
Determines whether or not this description represents an anonymous class description. |
|
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. |
Method Detail |
---|
boolean isAnonymous()
true
if this is an anonymous class description,
or false
if this is a named class (OWLClass
)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.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 |