Interface OntologyResource

All Known Subinterfaces:
AnnotationProperty, DatatypeProperty, ObjectProperty, OntologyCardinalityRestriction, OntologyClassRestriction, OntologyDatatypeRestriction, OntologyIndividual, OntologyProperty, OntologyRestriction, OntologyTerm
All Known Implementing Classes:
AbstractOntologyResourceSimple, OntologyIndividualSimple, OntologyPropertySimple, OntologyTermSimple

public interface OntologyResource
Author:
pavlidis
  • Method Summary

    Modifier and Type
    Method
    Description
    A comment for the resource, if available, otherwise null.
    A label, if known, otherwise null.
    A local name for this resource.
    A URI if known, otherwise null.
    boolean
    Whether the resource is marked as obsolete.
  • Method Details

    • getUri

      @Nullable String getUri()
      A URI if known, otherwise null.
    • getLocalName

      @Nullable String getLocalName()
      A local name for this resource.
    • getLabel

      @Nullable String getLabel()
      A label, if known, otherwise null.
    • getComment

      @Nullable String getComment()
      A comment for the resource, if available, otherwise null.
    • isObsolete

      boolean isObsolete()
      Whether the resource is marked as obsolete.