Class VerbatimTimePeriod
- java.lang.Object
-
- org.gbif.api.model.registry.eml.temporal.TemporalCoverage
-
- org.gbif.api.model.registry.eml.temporal.VerbatimTimePeriod
-
- All Implemented Interfaces:
Serializable
,Keywords
public class VerbatimTimePeriod extends TemporalCoverage implements Serializable
A verbatim (e.g. free text) period of time.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description VerbatimTimePeriod()
-
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)
String
getPeriod()
VerbatimTimePeriodType
getType()
int
hashCode()
void
setPeriod(String period)
void
setType(VerbatimTimePeriodType type)
Collection<String>
toKeywords()
String
toString()
-
-
-
Constructor Detail
-
VerbatimTimePeriod
public VerbatimTimePeriod()
-
-
Method Detail
-
getType
public VerbatimTimePeriodType getType()
-
setType
public void setType(VerbatimTimePeriodType type)
-
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
-
-