Package mil.nga.crs
Class SimpleCoordinateReferenceSystem
- java.lang.Object
-
- mil.nga.crs.CRS
-
- mil.nga.crs.CommonCRS
-
- mil.nga.crs.CoordinateReferenceSystem
-
- mil.nga.crs.SimpleCoordinateReferenceSystem
-
- All Implemented Interfaces:
Identifiable,ScopeExtentIdentifierRemark
- Direct Known Subclasses:
DerivedCoordinateReferenceSystem,EngineeringCoordinateReferenceSystem,GeoCoordinateReferenceSystem,ParametricCoordinateReferenceSystem,ProjectedCoordinateReferenceSystem,TemporalCoordinateReferenceSystem,VerticalCoordinateReferenceSystem
public abstract class SimpleCoordinateReferenceSystem extends CoordinateReferenceSystem
Simple Coordinate Reference System with Coordinate System- Author:
- osbornb
-
-
Constructor Summary
Constructors Constructor Description SimpleCoordinateReferenceSystem()ConstructorSimpleCoordinateReferenceSystem(String name, CRSType type)ConstructorSimpleCoordinateReferenceSystem(String name, CRSType type, CoordinateSystem coordinateSystem)ConstructorSimpleCoordinateReferenceSystem(CRSType type)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)CoordinateSystemgetCoordinateSystem()Get the coordinate systeminthashCode()voidsetCoordinateSystem(CoordinateSystem coordinateSystem)Set the coordinate system-
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
-
SimpleCoordinateReferenceSystem
public SimpleCoordinateReferenceSystem()
Constructor
-
SimpleCoordinateReferenceSystem
public SimpleCoordinateReferenceSystem(CRSType type)
Constructor- Parameters:
type- coordinate reference system type
-
SimpleCoordinateReferenceSystem
public SimpleCoordinateReferenceSystem(String name, CRSType type)
Constructor- Parameters:
name- nametype- coordinate reference system type
-
SimpleCoordinateReferenceSystem
public SimpleCoordinateReferenceSystem(String name, CRSType type, CoordinateSystem coordinateSystem)
Constructor- Parameters:
name- nametype- coordinate reference system typecoordinateSystem- coordinate system
-
-
Method Detail
-
getCoordinateSystem
public CoordinateSystem getCoordinateSystem()
Get the coordinate system- Returns:
- coordinate system
-
setCoordinateSystem
public void setCoordinateSystem(CoordinateSystem coordinateSystem)
Set the coordinate system- Parameters:
coordinateSystem- coordinate system
-
hashCode
public int hashCode()
- Overrides:
hashCodein classCoordinateReferenceSystem
-
equals
public boolean equals(Object obj)
- Overrides:
equalsin classCoordinateReferenceSystem
-
-