Class PhylorefHelper.PhylorefStatus

java.lang.Object
org.phyloref.jphyloref.helpers.PhylorefHelper.PhylorefStatus
Enclosing class:
PhylorefHelper

public static class PhylorefHelper.PhylorefStatus extends Object
A wrapper for a phyloref status at a particular point in time.
  • Constructor Details

    • PhylorefStatus

      public PhylorefStatus(org.semanticweb.owlapi.model.OWLClass phyloref, org.semanticweb.owlapi.model.IRI status, Instant intervalStart, Instant intervalEnd)
      Create a PhylorefStatus. All arguments except status are optional, and may be null.
      Parameters:
      phyloref - The phyloreference containing this status.
      status - The status of this phyloreference, as an individual in the class http://purl.org/spar/pso/PublicationStatus. Required.
      intervalStart - The interval at which this status starts.
      intervalEnd - The interval at which this status ends. May be null if this status hasn't ended yet.
  • Method Details

    • getPhyloref

      public org.semanticweb.owlapi.model.OWLClass getPhyloref()
      Returns:
      the phyloreference this status is associated with. May be null.
    • getStatus

      public org.semanticweb.owlapi.model.IRI getStatus()
      Returns:
      the status of this phyloreference, as an individual in the class http://purl.org/spar/pso/PublicationStatus
    • getIntervalStart

      public Instant getIntervalStart()
      Returns:
      the interval at which this status starts.
    • getIntervalEnd

      public Instant getIntervalEnd()
      Returns:
      the interval at which this status ends. May be null if this status hasn't ended yet.
    • toString

      public String toString()
      Overrides:
      toString in class Object
      Returns:
      a String representation of this phyloref status