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 booleanequals(Object object)DategetBeginning()The beginning at which the ordinal era began if it's known.Collection<OrdinalEra>getComposition()Ordinal eras that subdivide this ordinal era.DategetEnd()The end at which the ordinal era began if it's known.DefaultOrdinalEragetGroup()InternationalStringgetName()The unique name of the ordinal era within the ordinal reference system.inthashCode()voidsetBeginning(Date beginning)voidsetEnd(Date end)voidsetGroup(DefaultOrdinalEra group)voidsetName(InternationalString name)StringtoString()
-
-
-
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:OrdinalEraThe unique name of the ordinal era within the ordinal reference system.- Specified by:
getNamein interfaceOrdinalEra
-
getBeginning
public Date getBeginning()
Description copied from interface:OrdinalEraThe beginning at which the ordinal era began if it's known.- Specified by:
getBeginningin interfaceOrdinalEra
-
getEnd
public Date getEnd()
Description copied from interface:OrdinalEraThe end at which the ordinal era began if it's known.- Specified by:
getEndin interfaceOrdinalEra
-
getComposition
public Collection<OrdinalEra> getComposition()
Description copied from interface:OrdinalEraOrdinal eras that subdivide this ordinal era.- Specified by:
getCompositionin 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)
-
-