Package mil.nga.crs.geo
Class GeoDatumEnsemble
- java.lang.Object
-
- mil.nga.crs.common.DatumEnsemble
-
- mil.nga.crs.geo.GeoDatumEnsemble
-
- All Implemented Interfaces:
Identifiable
,GeoDatum
public class GeoDatumEnsemble extends DatumEnsemble implements GeoDatum
Geodetic and Geographic Datum Ensemble- Author:
- osbornb
-
-
Constructor Summary
Constructors Constructor Description GeoDatumEnsemble()
ConstructorGeoDatumEnsemble(String name, List<DatumEnsembleMember> members, Ellipsoid ellipsoid, double accuracy, PrimeMeridian primeMeridian)
ConstructorGeoDatumEnsemble(String name, DatumEnsembleMember member, Ellipsoid ellipsoid, double accuracy, PrimeMeridian primeMeridian)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
Ellipsoid
getEllipsoid()
Get the ellipsoidPrimeMeridian
getPrimeMeridian()
Get the prime meridianint
hashCode()
boolean
hasPrimeMeridian()
Has a prime meridianvoid
setEllipsoid(Ellipsoid ellipsoid)
Set the ellipsoidvoid
setPrimeMeridian(PrimeMeridian primeMeridian)
Set the prime meridian-
Methods inherited from class mil.nga.crs.common.DatumEnsemble
addIdentifier, addIdentifiers, addMember, addMembers, getAccuracy, getAccuracyText, getIdentifier, getIdentifiers, getMember, getMembers, getName, hasIdentifiers, numIdentifiers, numMembers, setAccuracy, setAccuracy, setIdentifiers, setMembers, setName, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface mil.nga.crs.common.Identifiable
addIdentifier, addIdentifiers, getIdentifier, getIdentifiers, hasIdentifiers, numIdentifiers, setIdentifiers
-
-
-
-
Constructor Detail
-
GeoDatumEnsemble
public GeoDatumEnsemble()
Constructor
-
GeoDatumEnsemble
public GeoDatumEnsemble(String name, DatumEnsembleMember member, Ellipsoid ellipsoid, double accuracy, PrimeMeridian primeMeridian)
Constructor- Parameters:
name
- namemember
- memberellipsoid
- ellipsoidaccuracy
- accuracyprimeMeridian
- prime meridian
-
GeoDatumEnsemble
public GeoDatumEnsemble(String name, List<DatumEnsembleMember> members, Ellipsoid ellipsoid, double accuracy, PrimeMeridian primeMeridian)
Constructor- Parameters:
name
- namemembers
- membersellipsoid
- ellipsoidaccuracy
- accuracyprimeMeridian
- prime meridian
-
-
Method Detail
-
getEllipsoid
public Ellipsoid getEllipsoid()
Get the ellipsoid- Specified by:
getEllipsoid
in interfaceGeoDatum
- Returns:
- ellipsoid
-
setEllipsoid
public void setEllipsoid(Ellipsoid ellipsoid)
Set the ellipsoid- Specified by:
setEllipsoid
in interfaceGeoDatum
- Parameters:
ellipsoid
- ellipsoid
-
getPrimeMeridian
public PrimeMeridian getPrimeMeridian()
Get the prime meridian- Specified by:
getPrimeMeridian
in interfaceGeoDatum
- Returns:
- prime meridian
-
hasPrimeMeridian
public boolean hasPrimeMeridian()
Has a prime meridian- Specified by:
hasPrimeMeridian
in interfaceGeoDatum
- Returns:
- true if has prime meridian
-
setPrimeMeridian
public void setPrimeMeridian(PrimeMeridian primeMeridian)
Set the prime meridian- Specified by:
setPrimeMeridian
in interfaceGeoDatum
- Parameters:
primeMeridian
- prime meridian
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classDatumEnsemble
-
equals
public boolean equals(Object obj)
- Overrides:
equals
in classDatumEnsemble
-
-