Class SingleDate
- java.lang.Object
-
- org.gbif.api.model.registry.eml.temporal.TemporalCoverage
-
- org.gbif.api.model.registry.eml.temporal.SingleDate
-
- All Implemented Interfaces:
Serializable
,Keywords
public class SingleDate extends TemporalCoverage implements Serializable
A single instance in time.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SingleDate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
acceptFormatter(TemporalCoverageFormatterVisitor formatter)
Accept a TemporalCoverageFormatterVisitor for formatting purpose.boolean
equals(Object o)
Date
getDate()
int
hashCode()
void
setDate(Date date)
Collection<String>
toKeywords()
String
toString()
-
-
-
Constructor Detail
-
SingleDate
public SingleDate()
-
-
Method Detail
-
toKeywords
public Collection<String> toKeywords()
- Specified by:
toKeywords
in interfaceKeywords
-
acceptFormatter
public String acceptFormatter(TemporalCoverageFormatterVisitor formatter)
Description copied from class:TemporalCoverage
Accept a TemporalCoverageFormatterVisitor for formatting purpose. The concrete class should simply returns formatter.format(this);- Specified by:
acceptFormatter
in classTemporalCoverage
-
-