Package org.phyloref.jphyloref.helpers
Class PhylorefHelper.PhylorefStatus
java.lang.Object
org.phyloref.jphyloref.helpers.PhylorefHelper.PhylorefStatus
- Enclosing class:
- PhylorefHelper
A wrapper for a phyloref status at a particular point in time.
-
Constructor Summary
ConstructorsConstructorDescriptionPhylorefStatus(org.semanticweb.owlapi.model.OWLClass phyloref, org.semanticweb.owlapi.model.IRI status, Instant intervalStart, Instant intervalEnd)Create a PhylorefStatus. -
Method Summary
Modifier and TypeMethodDescriptionorg.semanticweb.owlapi.model.OWLClassorg.semanticweb.owlapi.model.IRItoString()
-
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
- Returns:
- the interval at which this status starts.
-
getIntervalEnd
- Returns:
- the interval at which this status ends. May be null if this status hasn't ended yet.
-
toString
-