Package org.geotools.temporal.reference
Class DefaultOrdinalEra
- Object
-
- DefaultOrdinalEra
-
- All Implemented Interfaces:
OrdinalEra
public class DefaultOrdinalEra extends Object implements OrdinalEra
- Author:
- Mehdi Sidhoum (Geomatys)
-
-
Constructor Summary
Constructors Constructor Description DefaultOrdinalEra(InternationalString name, Date beginning, Date end)
DefaultOrdinalEra(InternationalString name, Date beginning, Date end, Collection<OrdinalEra> composition)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object object)
Date
getBeginning()
The beginning at which the ordinal era began if it's known.Collection<OrdinalEra>
getComposition()
Ordinal eras that subdivide this ordinal era.Date
getEnd()
The end at which the ordinal era began if it's known.DefaultOrdinalEra
getGroup()
InternationalString
getName()
The unique name of the ordinal era within the ordinal reference system.int
hashCode()
void
setBeginning(Date beginning)
void
setEnd(Date end)
void
setGroup(DefaultOrdinalEra group)
void
setName(InternationalString name)
String
toString()
-
-
-
Constructor Detail
-
DefaultOrdinalEra
public DefaultOrdinalEra(InternationalString name, Date beginning, Date end)
-
DefaultOrdinalEra
public DefaultOrdinalEra(InternationalString name, Date beginning, Date end, Collection<OrdinalEra> composition)
-
-
Method Detail
-
getName
public InternationalString getName()
Description copied from interface:OrdinalEra
The unique name of the ordinal era within the ordinal reference system.- Specified by:
getName
in interfaceOrdinalEra
-
getBeginning
public Date getBeginning()
Description copied from interface:OrdinalEra
The beginning at which the ordinal era began if it's known.- Specified by:
getBeginning
in interfaceOrdinalEra
-
getEnd
public Date getEnd()
Description copied from interface:OrdinalEra
The end at which the ordinal era began if it's known.- Specified by:
getEnd
in interfaceOrdinalEra
-
getComposition
public Collection<OrdinalEra> getComposition()
Description copied from interface:OrdinalEra
Ordinal eras that subdivide this ordinal era.- Specified by:
getComposition
in interfaceOrdinalEra
-
setName
public void setName(InternationalString name)
-
setBeginning
public void setBeginning(Date beginning)
-
setEnd
public void setEnd(Date end)
-
getGroup
public DefaultOrdinalEra getGroup()
-
setGroup
public void setGroup(DefaultOrdinalEra group)
-
-