Package mil.nga.crs
Class CompoundCoordinateReferenceSystem
- java.lang.Object
-
- mil.nga.crs.CRS
-
- mil.nga.crs.CommonCRS
-
- mil.nga.crs.CoordinateReferenceSystem
-
- mil.nga.crs.CompoundCoordinateReferenceSystem
-
- All Implemented Interfaces:
Identifiable
,ScopeExtentIdentifierRemark
public class CompoundCoordinateReferenceSystem extends CoordinateReferenceSystem
Compound Coordinate Reference System- Author:
- osbornb
-
-
Constructor Summary
Constructors Constructor Description CompoundCoordinateReferenceSystem()
ConstructorCompoundCoordinateReferenceSystem(String name, CRSType type)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addCoordinateReferenceSystem(SimpleCoordinateReferenceSystem crs)
Add the coordinate reference systemvoid
addCoordinateReferenceSystems(List<SimpleCoordinateReferenceSystem> crss)
Add the coordinate reference systemsboolean
equals(Object obj)
SimpleCoordinateReferenceSystem
getCoordinateReferenceSystem(int index)
Get the coordinate reference system at the indexList<SimpleCoordinateReferenceSystem>
getCoordinateReferenceSystems()
Get the coordinate reference systemsint
hashCode()
int
numCoordinateReferenceSystems()
Number of coordinate reference systemsvoid
setCoordinateReferenceSystems(List<SimpleCoordinateReferenceSystem> coordinateReferenceSystems)
Set the coordinate reference systems-
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
-
-
-
-
Method Detail
-
getCoordinateReferenceSystems
public List<SimpleCoordinateReferenceSystem> getCoordinateReferenceSystems()
Get the coordinate reference systems- Returns:
- coordinate reference systems
-
numCoordinateReferenceSystems
public int numCoordinateReferenceSystems()
Number of coordinate reference systems- Returns:
- coordinate reference systems count
-
getCoordinateReferenceSystem
public SimpleCoordinateReferenceSystem getCoordinateReferenceSystem(int index)
Get the coordinate reference system at the index- Parameters:
index
- crs index- Returns:
- coordinate reference system
-
setCoordinateReferenceSystems
public void setCoordinateReferenceSystems(List<SimpleCoordinateReferenceSystem> coordinateReferenceSystems)
Set the coordinate reference systems- Parameters:
coordinateReferenceSystems
- coordinate reference systems
-
addCoordinateReferenceSystem
public void addCoordinateReferenceSystem(SimpleCoordinateReferenceSystem crs)
Add the coordinate reference system- Parameters:
crs
- coordinate reference system
-
addCoordinateReferenceSystems
public void addCoordinateReferenceSystems(List<SimpleCoordinateReferenceSystem> crss)
Add the coordinate reference systems- Parameters:
crss
- coordinate reference systems
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classCoordinateReferenceSystem
-
equals
public boolean equals(Object obj)
- Overrides:
equals
in classCoordinateReferenceSystem
-
-