public class AnnotationPropertyImpl extends AbstractOntologyResource implements AnnotationProperty
log| Constructor and Description |
|---|
AnnotationPropertyImpl(com.hp.hpl.jena.ontology.AnnotationProperty prop,
com.hp.hpl.jena.rdf.model.RDFNode object) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getContents() |
String |
getProperty() |
String |
getUri()
A URI if known, otherwise null.
|
int |
hashCode() |
boolean |
isObsolete()
Whether the resource is marked as obsolete.
|
String |
toString() |
compareTo, getLabel, getScoreclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetLabel, getScorecompareTopublic AnnotationPropertyImpl(com.hp.hpl.jena.ontology.AnnotationProperty prop,
@Nullable
com.hp.hpl.jena.rdf.model.RDFNode object)
prop - property for the statementsource - ontology this relates to.object - of the statementpublic boolean equals(@Nullable Object obj)
equals in class AbstractOntologyResourcepublic String getUri()
OntologyResourcegetUri in interface OntologyResourcegetUri in class AbstractOntologyResourcepublic String getContents()
getContents in interface AnnotationPropertypublic String getProperty()
getProperty in interface AnnotationPropertypublic boolean isObsolete()
OntologyResourceisObsolete in interface OntologyResourceisObsolete in class AbstractOntologyResourcepublic int hashCode()
hashCode in class AbstractOntologyResourcepublic String toString()
toString in class AbstractOntologyResourceCopyright © 2003–2023 UBC Michael Smith Laboratories. All rights reserved.