|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface OWLEntity
Represents a entity in an OWL ontology. An entity is an object with an URI.
| Method Summary | |
|---|---|
java.util.Set<Annotation> |
getAnnotations(Ontology ontology)
Returns the set of annotations of this entity. |
java.lang.Object |
getAnnotationValue(Ontology ontology,
AnnotationProperty annotationProperty)
Returns the value of annotation for given annotation property. |
java.util.Map<AnnotationProperty,java.util.Set<java.lang.Object>> |
getAnnotationValues(Ontology ontology)
Returns the set of annotations of this entity grouped by annotation properties. |
java.util.Set<java.lang.Object> |
getAnnotationValues(Ontology ontology,
AnnotationProperty annotationProperty)
Returns the set of annotation values of this entity for given annotation property. |
| Methods inherited from interface org.semanticweb.kaon2.api.Entity |
|---|
accept, getURI, toString |
| Method Detail |
|---|
java.util.Set<Annotation> getAnnotations(Ontology ontology)
throws KAON2Exception
ontology - the ontology in which the search is perfromed
KAON2Exception - thrown if there is an error
java.util.Map<AnnotationProperty,java.util.Set<java.lang.Object>> getAnnotationValues(Ontology ontology)
throws KAON2Exception
ontology - the ontology in which the search is perfromed
KAON2Exception - thrown if there is an error
java.util.Set<java.lang.Object> getAnnotationValues(Ontology ontology,
AnnotationProperty annotationProperty)
throws KAON2Exception
ontology - the ontology in which the search is perfromedannotationProperty - the annotation property
KAON2Exception - thrown if there is an error
java.lang.Object getAnnotationValue(Ontology ontology,
AnnotationProperty annotationProperty)
throws KAON2Exception
null is returned. Note that
this method does allow for distinguishing "no value" from "null-value" situations.
ontology - the ontology in which the search is perfromedannotationProperty - the annotation property
KAON2Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||