Package mil.nga.crs.operation
Class Operation
- java.lang.Object
-
- mil.nga.crs.CRS
-
- mil.nga.crs.CommonCRS
-
- mil.nga.crs.operation.Operation
-
- All Implemented Interfaces:
Identifiable
,ScopeExtentIdentifierRemark
- Direct Known Subclasses:
ConcatenatedOperation
,SimpleOperation
public abstract class Operation extends CommonCRS
Common Operation- Author:
- osbornb
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
Double
getAccuracy()
Get the coordinate operation accuracyString
getAccuracyText()
Get the coordinate operation accuracy textCoordinateReferenceSystem
getSource()
Get the source coordinate reference systemString
getVersion()
Get the operation versionboolean
hasAccuracy()
Has a coordinate operation accuracyint
hashCode()
boolean
hasVersion()
Has an operation versionvoid
setAccuracy(Double accuracy)
Set the coordinate operation accuracyvoid
setAccuracy(String accuracy)
Set the coordinate operation accuracyvoid
setSource(CoordinateReferenceSystem source)
Set the source coordinate reference systemvoid
setVersion(String version)
Set the operation version-
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
-
Operation
public Operation(CRSType type)
Constructor- Parameters:
type
- crs operation type
-
Operation
public Operation(String name, CRSType type, CoordinateReferenceSystem source)
Constructor- Parameters:
name
- nametype
- crs operation typesource
- source crs
-
-
Method Detail
-
getVersion
public String getVersion()
Get the operation version- Returns:
- operation version
-
hasVersion
public boolean hasVersion()
Has an operation version- Returns:
- true if has operation version
-
setVersion
public void setVersion(String version)
Set the operation version- Parameters:
version
- operation version
-
getSource
public CoordinateReferenceSystem getSource()
Get the source coordinate reference system- Returns:
- source crs
-
setSource
public void setSource(CoordinateReferenceSystem source)
Set the source coordinate reference system- Parameters:
source
- source crs
-
getAccuracy
public Double getAccuracy()
Get the coordinate operation accuracy- Returns:
- coordinate operation accuracy
-
getAccuracyText
public String getAccuracyText()
Get the coordinate operation accuracy text- Returns:
- coordinate operation accuracy text
- Since:
- 1.1.0
-
hasAccuracy
public boolean hasAccuracy()
Has a coordinate operation accuracy- Returns:
- true if has coordinate operation accuracy
-
setAccuracy
public void setAccuracy(Double accuracy)
Set the coordinate operation accuracy- Parameters:
accuracy
- coordinate operation accuracy
-
setAccuracy
public void setAccuracy(String accuracy)
Set the coordinate operation accuracy- Parameters:
accuracy
- coordinate operation accuracy- Since:
- 1.1.0
-
-