Class InspireTemporalReference

java.lang.Object
org.n52.shetland.inspire.InspireTemporalReference

public class InspireTemporalReference extends Object
Service internal representation of INSPIRE temporal reference
Since:
1.0.0
  • Constructor Details

    • InspireTemporalReference

      public InspireTemporalReference()
  • Method Details

    • getDateOfCreation

      public InspireDateOfCreation getDateOfCreation()
      Get the date of creation
      Returns:
      the dateOfCreation
    • setDateOfCreation

      public void setDateOfCreation(InspireDateOfCreation dateOfCreation)
      Set the date of creation
      Parameters:
      dateOfCreation - the dateOfCreation to set
    • isSetDateOfCreation

      public boolean isSetDateOfCreation()
      Check if the date of creation is set
      Returns:
      true, if the date of creation is set
    • getDateOfLastRevision

      public InspireDateOfLastRevision getDateOfLastRevision()
      Get the date of last revision
      Returns:
      the dateOfLastRevision
    • setDateOfLastRevision

      public void setDateOfLastRevision(InspireDateOfLastRevision dateOfLastRevision)
      Set the date of last revision
      Parameters:
      dateOfLastRevision - the dateOfLastRevision to set
    • isSetDateOfLastRevision

      public boolean isSetDateOfLastRevision()
      Check if the date of last revision is set
      Returns:
      true, if the date of last revision is set
    • getDatesOfPublication

      public List<InspireDateOfPublication> getDatesOfPublication()
      gethe dates of publication
      Returns:
      the datesOfPublication
    • setDatesOfPublication

      public void setDatesOfPublication(Collection<InspireDateOfPublication> datesOfPublication)
      Set the dates of publication, clears the existing collection
      Parameters:
      datesOfPublication - the datesOfPublication to set
    • addDateOfPublication

      public InspireTemporalReference addDateOfPublication(InspireDateOfPublication dateOfPublication)
      Add a date of publication
      Parameters:
      dateOfPublication - the date of publication to add
      Returns:
      this
    • isSetDatesOfPublication

      public boolean isSetDatesOfPublication()
      Check if date of publications are set
      Returns:
      true, if date of publications are set
    • getTemporalExtents

      public List<Time> getTemporalExtents()
      Get the temporal extents
      Returns:
      the temporalExtents
    • setTemporalExtents

      public void setTemporalExtents(Collection<Time> temporalExtents)
      Set the temporal extents, clears the existing collection
      Parameters:
      temporalExtents - the temporalExtents to set
    • addTemporalExtent

      public InspireTemporalReference addTemporalExtent(Time temporalExtent)
      Add a temporal extent
      Parameters:
      temporalExtent - the temporal extent to add
      Returns:
      this
    • isSetTemporalExtents

      public boolean isSetTemporalExtents()
      Check if temporal extents are set
      Returns:
      true, if temporal extents are set
    • toString

      public String toString()
      Overrides:
      toString in class Object