Package mil.nga.crs
Class CRS
- java.lang.Object
-
- mil.nga.crs.CRS
-
- All Implemented Interfaces:
Identifiable
,ScopeExtentIdentifierRemark
- Direct Known Subclasses:
CommonCRS
,CoordinateMetadata
public abstract class CRS extends Object implements ScopeExtentIdentifierRemark
Well-known text representation of coordinate reference systems object- Author:
- osbornb
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addExtra(String name, Object extra)
Add the temporary extra which is not part of the CRS definitionvoid
addExtras(Map<String,Object> extras)
Add the temporary extras which are not part of the CRS definitionboolean
equals(Object obj)
CategoryType
getCategoryType()
Get the category typeObject
getExtra(String name)
Get the temporary extra with the nameMap<String,Object>
getExtras()
Get temporary extras that are not part of the CRS definitionCRSType
getType()
Get the typeboolean
hasExtras()
Determine if there are temporary extras that are not part of the CRS definitionint
hashCode()
int
numExtras()
Get the number of temporary extras that are not part of the CRS definitionvoid
setExtras(Map<String,Object> extras)
Set the temporary extras that are not part of the CRS definitionvoid
setType(CRSType type)
Set the typeString
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
-
CRS
public CRS()
Constructor
-
CRS
public CRS(CRSType type)
Constructor- Parameters:
type
- coordinate reference system type
-
-
Method Detail
-
getType
public CRSType getType()
Get the type- Returns:
- type
-
setType
public void setType(CRSType type)
Set the type- Parameters:
type
- type
-
getCategoryType
public CategoryType getCategoryType()
Get the category type- Returns:
- category type
-
getExtras
public Map<String,Object> getExtras()
Get temporary extras that are not part of the CRS definition- Returns:
- extras
-
hasExtras
public boolean hasExtras()
Determine if there are temporary extras that are not part of the CRS definition- Returns:
- true if extras
-
numExtras
public int numExtras()
Get the number of temporary extras that are not part of the CRS definition- Returns:
- number of extras
-
getExtra
public Object getExtra(String name)
Get the temporary extra with the name- Parameters:
name
- extra name- Returns:
- extra value or null
-
setExtras
public void setExtras(Map<String,Object> extras)
Set the temporary extras that are not part of the CRS definition- Parameters:
extras
- extras
-
addExtra
public void addExtra(String name, Object extra)
Add the temporary extra which is not part of the CRS definition- Parameters:
name
- extra nameextra
- extra value
-
addExtras
public void addExtras(Map<String,Object> extras)
Add the temporary extras which are not part of the CRS definition- Parameters:
extras
- extra values
-
-