Class PhylorefHelper.PhylorefStatus

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

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

    Constructors
    Constructor Description
    PhylorefStatus​(org.semanticweb.owlapi.model.OWLClass phyloref, org.semanticweb.owlapi.model.IRI status, java.time.Instant intervalStart, java.time.Instant intervalEnd)
    Create a PhylorefStatus.
  • Method Summary

    Modifier and Type Method Description
    java.time.Instant getIntervalEnd()  
    java.time.Instant getIntervalStart()  
    org.semanticweb.owlapi.model.OWLClass getPhyloref()  
    org.semanticweb.owlapi.model.IRI getStatus()  
    java.lang.String toString()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • PhylorefStatus

      public PhylorefStatus​(org.semanticweb.owlapi.model.OWLClass phyloref, org.semanticweb.owlapi.model.IRI status, java.time.Instant intervalStart, java.time.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 java.time.Instant getIntervalStart()
      Returns:
      the interval at which this status starts.
    • getIntervalEnd

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

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