org.geotools.temporal.reference
Class DefaultOrdinalEra

Object
  extended by DefaultOrdinalEra
All Implemented Interfaces:
OrdinalEra

public class DefaultOrdinalEra
extends Object
implements OrdinalEra

Author:
Mehdi Sidhoum (Geomatys)

Constructor Summary
DefaultOrdinalEra(InternationalString name, Date beginning, Date end)
           
DefaultOrdinalEra(InternationalString name, Date beginning, Date end, Collection<OrdinalEra> composition)
           
 
Method Summary
 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()
           
 
Methods inherited from class Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

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 interface OrdinalEra

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 interface OrdinalEra

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 interface OrdinalEra

getComposition

public Collection<OrdinalEra> getComposition()
Description copied from interface: OrdinalEra
Ordinal eras that subdivide this ordinal era.

Specified by:
getComposition in interface OrdinalEra

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)

equals

public boolean equals(Object object)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 1996-2014 Geotools. All Rights Reserved.