Package mil.nga.crs.derived
Class DerivedCoordinateReferenceSystem
- java.lang.Object
-
- mil.nga.crs.CRS
-
- mil.nga.crs.CommonCRS
-
- mil.nga.crs.CoordinateReferenceSystem
-
- mil.nga.crs.SimpleCoordinateReferenceSystem
-
- mil.nga.crs.derived.DerivedCoordinateReferenceSystem
-
- All Implemented Interfaces:
Identifiable
,ScopeExtentIdentifierRemark
public class DerivedCoordinateReferenceSystem extends SimpleCoordinateReferenceSystem
Derived Coordinate Reference System- Author:
- osbornb
-
-
Constructor Summary
Constructors Constructor Description DerivedCoordinateReferenceSystem()
ConstructorDerivedCoordinateReferenceSystem(String name, CoordinateReferenceSystem base, DerivingConversion conversion, CoordinateSystem coordinateSystem)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
CoordinateReferenceSystem
getBase()
Get the base coordinate reference systemList<Identifier>
getBaseIdentifiers()
Get the base identifiersString
getBaseName()
Get the base nameCRSType
getBaseType()
Get the base typeDerivingConversion
getConversion()
Get the deriving conversionboolean
hasBaseIdentifiers()
Has base identifiersint
hashCode()
void
setBase(CoordinateReferenceSystem base)
Set the base coordinate reference systemvoid
setConversion(DerivingConversion conversion)
Set the deriving conversion-
Methods inherited from class mil.nga.crs.SimpleCoordinateReferenceSystem
getCoordinateSystem, setCoordinateSystem
-
Methods inherited from class mil.nga.crs.CommonCRS
addIdentifier, addIdentifiers, addUsage, addUsages, getIdentifier, getIdentifiers, getName, getRemark, getUsage, getUsages, hasIdentifiers, hasRemark, hasUsages, numIdentifiers, numUsages, setIdentifiers, setName, setRemark, setUsages
-
-
-
-
Constructor Detail
-
DerivedCoordinateReferenceSystem
public DerivedCoordinateReferenceSystem()
Constructor
-
DerivedCoordinateReferenceSystem
public DerivedCoordinateReferenceSystem(String name, CoordinateReferenceSystem base, DerivingConversion conversion, CoordinateSystem coordinateSystem)
Constructor- Parameters:
name
- namebase
- base CRSconversion
- deriving conversioncoordinateSystem
- coordinate system
-
-
Method Detail
-
getBase
public CoordinateReferenceSystem getBase()
Get the base coordinate reference system- Returns:
- base coordinate reference system
-
setBase
public void setBase(CoordinateReferenceSystem base)
Set the base coordinate reference system- Parameters:
base
- base coordinate reference system
-
getBaseName
public String getBaseName()
Get the base name- Returns:
- base name
-
getBaseType
public CRSType getBaseType()
Get the base type- Returns:
- base type
-
getBaseIdentifiers
public List<Identifier> getBaseIdentifiers()
Get the base identifiers- Returns:
- base identifiers
-
hasBaseIdentifiers
public boolean hasBaseIdentifiers()
Has base identifiers- Returns:
- true if has base identifiers
-
getConversion
public DerivingConversion getConversion()
Get the deriving conversion- Returns:
- deriving conversion
-
setConversion
public void setConversion(DerivingConversion conversion)
Set the deriving conversion- Parameters:
conversion
- deriving conversion
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classSimpleCoordinateReferenceSystem
-
equals
public boolean equals(Object obj)
- Overrides:
equals
in classSimpleCoordinateReferenceSystem
-
-