Package org.n52.shetland.inspire
Class InspireTemporalReference
java.lang.Object
org.n52.shetland.inspire.InspireTemporalReference
Service internal representation of INSPIRE temporal reference
- Since:
- 1.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddDateOfPublication(InspireDateOfPublication dateOfPublication) Add a date of publicationaddTemporalExtent(Time temporalExtent) Add a temporal extentGet the date of creationGet the date of last revisiongethe dates of publicationGet the temporal extentsbooleanCheck if the date of creation is setbooleanCheck if the date of last revision is setbooleanCheck if date of publications are setbooleanCheck 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 collectiontoString()
-
Constructor Details
-
InspireTemporalReference
public InspireTemporalReference()
-
-
Method Details
-
getDateOfCreation
Get the date of creation- Returns:
- the dateOfCreation
-
setDateOfCreation
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
Get the date of last revision- Returns:
- the dateOfLastRevision
-
setDateOfLastRevision
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
gethe dates of publication- Returns:
- the datesOfPublication
-
setDatesOfPublication
Set the dates of publication, clears the existing collection- Parameters:
datesOfPublication- the datesOfPublication to set
-
addDateOfPublication
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
Get the temporal extents- Returns:
- the temporalExtents
-
setTemporalExtents
Set the temporal extents, clears the existing collection- Parameters:
temporalExtents- the temporalExtents to set
-
addTemporalExtent
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
-