| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface OWLEntity
Author: Matthew Horridge
 The University Of Manchester
 Bio-Health Informatics Group
 Date: 24-Oct-2006
 
| Method Summary | ||
|---|---|---|
 void | 
accept(OWLEntityVisitor visitor)
 | 
|
 | 
accept(OWLEntityVisitorEx<O> visitor)
 | 
|
 OWLClass | 
asOWLClass()
A convenience method that obtains this entity as an OWLClass (in order to avoid explicit casting).  | 
|
 OWLDataProperty | 
asOWLDataProperty()
A convenience method that obtains this entity as an OWLDataProperty (in order to avoid explicit casting).  | 
|
 OWLDataType | 
asOWLDataType()
A convenience method that obtains this entity as an OWLDataType (in order to avoid explicit casting).  | 
|
 OWLIndividual | 
asOWLIndividual()
A convenience method that obtains this entity as an OWLIndividual (in order to avoid explicit casting).  | 
|
 OWLObjectProperty | 
asOWLObjectProperty()
A convenience method that obtains this entity as an OWLObjectProperty (in order to avoid explicit casting).  | 
|
 java.util.Set<OWLAnnotationAxiom> | 
getAnnotationAxioms(OWLOntology ontology)
 | 
|
 java.util.Set<OWLAnnotation> | 
getAnnotations(OWLOntology ontology)
Obtains annotations on this entity where the annotation have been asserted on the specified entity.  | 
|
 java.util.Set<OWLAnnotation> | 
getAnnotations(OWLOntology ontology,
               java.net.URI annotationURI)
Obtains the annotations on this entity where the annotation has the specified URI.  | 
|
 boolean | 
isOWLClass()
A convenience method that determines if this entity is an OWLClass  | 
|
 boolean | 
isOWLDataProperty()
A convenience method that determines if this entity is an OWLDataProperty  | 
|
 boolean | 
isOWLDataType()
A convenience method that determines if this entity is an OWLDataType  | 
|
 boolean | 
isOWLIndividual()
A convenience method that determines if this entity is an OWLIndividual  | 
|
 boolean | 
isOWLObjectProperty()
A convenience method that determines if this entity is an OWLObjectProperty  | 
|
| Methods inherited from interface org.semanticweb.owl.model.OWLNamedObject | 
|---|
accept, getURI | 
| Methods inherited from interface org.semanticweb.owl.model.OWLObject | 
|---|
accept, accept, getSignature | 
| Methods inherited from interface java.lang.Comparable | 
|---|
compareTo | 
| Method Detail | 
|---|
java.util.Set<OWLAnnotation> getAnnotations(OWLOntology ontology)
java.util.Set<OWLAnnotation> getAnnotations(OWLOntology ontology,
                                            java.net.URI annotationURI)
ontology - The ontology to examine for annotation axiomsannotationURI - The annotation URI
OWLAnnotation objects that have the specified
 URI.java.util.Set<OWLAnnotationAxiom> getAnnotationAxioms(OWLOntology ontology)
boolean isOWLClass()
true if this entity is an OWLClass, otherwise falseOWLClass asOWLClass()
OWLRuntimeException - if this entity is not an OWLClass (check with the
 isOWLClass method first).boolean isOWLObjectProperty()
true if this entity is an OWLObjectProperty, otherwise falseOWLObjectProperty asOWLObjectProperty()
OWLRuntimeException - if this entity is not an OWLObjectProperty (check with the
 isOWLObjectProperty method first).boolean isOWLDataProperty()
true if this entity is an OWLDataProperty, otherwise falseOWLDataProperty asOWLDataProperty()
OWLRuntimeException - if this entity is not an OWLDataProperty (check with the
 isOWLDataProperty method first).boolean isOWLIndividual()
true if this entity is an OWLIndividual, otherwise falseOWLIndividual asOWLIndividual()
OWLRuntimeException - if this entity is not an OWLIndividual (check with the
 isOWLIndividual method first).boolean isOWLDataType()
true if this entity is an OWLDataType, otherwise falseOWLDataType asOWLDataType()
OWLRuntimeException - if this entity is not an OWLDataType (check with the
 isOWLDataType method first).void accept(OWLEntityVisitor visitor)
<O> O accept(OWLEntityVisitorEx<O> visitor)
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||