public class InspireTemporalReference extends Object
Modifier and Type | Field and Description |
---|---|
private InspireDateOfCreation |
dateOfCreation |
private InspireDateOfLastRevision |
dateOfLastRevision |
private List<InspireDateOfPublication> |
datesOfPublication |
private List<Time> |
temporalExtents |
Constructor and Description |
---|
InspireTemporalReference() |
Modifier and Type | Method and Description |
---|---|
InspireTemporalReference |
addDateOfPublication(InspireDateOfPublication dateOfPublication)
Add a date of publication
|
InspireTemporalReference |
addTemporalExtent(Time temporalExtent)
Add a temporal extent
|
InspireDateOfCreation |
getDateOfCreation()
Get the date of creation
|
InspireDateOfLastRevision |
getDateOfLastRevision()
Get the date of last revision
|
List<InspireDateOfPublication> |
getDatesOfPublication()
gethe dates of publication
|
List<Time> |
getTemporalExtents()
Get the temporal extents
|
boolean |
isSetDateOfCreation()
Check if the date of creation is set
|
boolean |
isSetDateOfLastRevision()
Check if the date of last revision is set
|
boolean |
isSetDatesOfPublication()
Check if date of publications are set
|
boolean |
isSetTemporalExtents()
Check if temporal extents are set
|
void |
setDateOfCreation(InspireDateOfCreation dateOfCreation)
Set the date of creation
|
void |
setDateOfLastRevision(InspireDateOfLastRevision dateOfLastRevision)
Set the date of last revision
|
void |
setDatesOfPublication(Collection<InspireDateOfPublication> datesOfPublication)
Set the dates of publication, clears the existing collection
|
void |
setTemporalExtents(Collection<Time> temporalExtents)
Set the temporal extents, clears the existing collection
|
String |
toString() |
private InspireDateOfCreation dateOfCreation
private InspireDateOfLastRevision dateOfLastRevision
private List<InspireDateOfPublication> datesOfPublication
public InspireDateOfCreation getDateOfCreation()
public void setDateOfCreation(InspireDateOfCreation dateOfCreation)
dateOfCreation
- the dateOfCreation to setpublic boolean isSetDateOfCreation()
true
, if the date of creation is setpublic InspireDateOfLastRevision getDateOfLastRevision()
public void setDateOfLastRevision(InspireDateOfLastRevision dateOfLastRevision)
dateOfLastRevision
- the dateOfLastRevision to setpublic boolean isSetDateOfLastRevision()
true
, if the date of last revision is setpublic List<InspireDateOfPublication> getDatesOfPublication()
public void setDatesOfPublication(Collection<InspireDateOfPublication> datesOfPublication)
datesOfPublication
- the datesOfPublication to setpublic InspireTemporalReference addDateOfPublication(InspireDateOfPublication dateOfPublication)
dateOfPublication
- the date of publication to addpublic boolean isSetDatesOfPublication()
true
, if date of publications are setpublic List<Time> getTemporalExtents()
public void setTemporalExtents(Collection<Time> temporalExtents)
temporalExtents
- the temporalExtents to setpublic InspireTemporalReference addTemporalExtent(Time temporalExtent)
temporalExtent
- the temporal extent to addpublic boolean isSetTemporalExtents()
true
, if temporal extents are setCopyright © 2012-2015 52north.org. All Rights Reserved.