Package org.n52.shetland.inspire
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 Summary
Constructors Constructor Description InspireTemporalReference()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InspireTemporalReferenceaddDateOfPublication(InspireDateOfPublication dateOfPublication)Add a date of publicationInspireTemporalReferenceaddTemporalExtent(Time temporalExtent)Add a temporal extentInspireDateOfCreationgetDateOfCreation()Get the date of creationInspireDateOfLastRevisiongetDateOfLastRevision()Get the date of last revisionList<InspireDateOfPublication>getDatesOfPublication()gethe dates of publicationList<Time>getTemporalExtents()Get the temporal extentsbooleanisSetDateOfCreation()Check if the date of creation is setbooleanisSetDateOfLastRevision()Check if the date of last revision is setbooleanisSetDatesOfPublication()Check if date of publications are setbooleanisSetTemporalExtents()Check if temporal extents are setvoidsetDateOfCreation(InspireDateOfCreation dateOfCreation)Set the date of creationvoidsetDateOfLastRevision(InspireDateOfLastRevision dateOfLastRevision)Set the date of last revisionvoidsetDatesOfPublication(Collection<InspireDateOfPublication> datesOfPublication)Set the dates of publication, clears the existing collectionvoidsetTemporalExtents(Collection<Time> temporalExtents)Set the temporal extents, clears the existing collectionStringtoString()
-
-
-
Method Detail
-
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
-
-