Interface OWLAnnotationObject

All Superinterfaces:
Comparable<OWLObject>, HasAnnotationPropertiesInSignature, HasAnonymousIndividuals, HasClassesInSignature, HasComponents, HasContainsEntityInSignature, HasDataPropertiesInSignature, HasDatatypesInSignature, HasHashIndex, HasIndex, HasIndividualsInSignature, HasObjectPropertiesInSignature, HasSignature, IsAnonymous, OWLObject, Serializable
All Known Subinterfaces:
OWLAnnotationAssertionAxiom, OWLAnnotationAxiom, OWLAnnotationPropertyDomainAxiom, OWLAnnotationPropertyRangeAxiom, OWLAnnotationSubject, OWLAnnotationValue, OWLAnonymousIndividual, OWLLiteral, OWLSubAnnotationPropertyOfAxiom
All Known Implementing Classes:
IRI, OWLAnnotationAssertionAxiomImpl, OWLAnnotationPropertyDomainAxiomImpl, OWLAnnotationPropertyRangeAxiomImpl, OWLAnonymousIndividualImpl, OWLLiteralImpl, OWLLiteralImplBoolean, OWLLiteralImplDouble, OWLLiteralImplFloat, OWLLiteralImplInteger, OWLLiteralImplLong, OWLLiteralImplNoCompression, OWLLiteralImplPlain, OWLLiteralImplString, OWLSubAnnotationPropertyOfAxiomImpl

public interface OWLAnnotationObject extends OWLObject
A marker interface for the values (objects) of annotations.
Since:
3.0.0
Author:
Matthew Horridge, The University of Manchester, Information Management Group
  • Method Details

    • asIRI

      default Optional<IRI> asIRI()
      Returns:
      if the value is an IRI, return an optional containing it. Return Optional.absent otherwise.
    • asAnonymousIndividual

      default Optional<OWLAnonymousIndividual> asAnonymousIndividual()
      Returns:
      if the value is an anonymous, return an optional containing it. Return Optional.absent otherwise.