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, getScore
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getLabel, getScore
compareTo
public 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 AbstractOntologyResource
public String getUri()
OntologyResource
getUri
in interface OntologyResource
getUri
in class AbstractOntologyResource
public String getContents()
getContents
in interface AnnotationProperty
public String getProperty()
getProperty
in interface AnnotationProperty
public boolean isObsolete()
OntologyResource
isObsolete
in interface OntologyResource
isObsolete
in class AbstractOntologyResource
public int hashCode()
hashCode
in class AbstractOntologyResource
public String toString()
toString
in class AbstractOntologyResource
Copyright © 2003–2023 UBC Michael Smith Laboratories. All rights reserved.