Package mil.nga.crs.projected
Class MapProjection
- java.lang.Object
-
- mil.nga.crs.projected.MapProjection
-
- All Implemented Interfaces:
Identifiable
,CommonOperation
public class MapProjection extends Object implements CommonOperation
Map Projection- Author:
- osbornb
-
-
Constructor Summary
Constructors Constructor Description MapProjection()
ConstructorMapProjection(String name, OperationMethod method)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addIdentifier(Identifier identifier)
Add the identifiervoid
addIdentifiers(List<Identifier> identifiers)
Add the identifiersboolean
equals(Object obj)
Identifier
getIdentifier(int index)
Get the identifier at the indexList<Identifier>
getIdentifiers()
Get the identifiersOperationMethod
getMethod()
Get the methodString
getName()
Get the nameOperationType
getOperationType()
Get the operation typeString
getVersion()
Get the operation versionint
hashCode()
boolean
hasIdentifiers()
Has identifiersboolean
hasVersion()
Has an operation versionint
numIdentifiers()
Number of identifiersvoid
setIdentifiers(List<Identifier> identifiers)
Set the identifiersvoid
setMethod(OperationMethod method)
Set the methodvoid
setName(String name)
Set the namevoid
setVersion(String version)
Set the operation versionString
toString()
-
-
-
Constructor Detail
-
MapProjection
public MapProjection()
Constructor
-
MapProjection
public MapProjection(String name, OperationMethod method)
Constructor- Parameters:
name
- namemethod
- method
-
-
Method Detail
-
getOperationType
public OperationType getOperationType()
Get the operation type- Specified by:
getOperationType
in interfaceCommonOperation
- Returns:
- operation type
-
getName
public String getName()
Get the name- Specified by:
getName
in interfaceCommonOperation
- Returns:
- name
-
setName
public void setName(String name)
Set the name- Specified by:
setName
in interfaceCommonOperation
- Parameters:
name
- name
-
getVersion
public String getVersion()
Get the operation version- Specified by:
getVersion
in interfaceCommonOperation
- Returns:
- operation version
-
hasVersion
public boolean hasVersion()
Has an operation version- Specified by:
hasVersion
in interfaceCommonOperation
- Returns:
- true if has operation version
-
setVersion
public void setVersion(String version)
Set the operation version- Specified by:
setVersion
in interfaceCommonOperation
- Parameters:
version
- operation version
-
getMethod
public OperationMethod getMethod()
Get the method- Specified by:
getMethod
in interfaceCommonOperation
- Returns:
- method
-
setMethod
public void setMethod(OperationMethod method)
Set the method- Specified by:
setMethod
in interfaceCommonOperation
- Parameters:
method
- method
-
getIdentifiers
public List<Identifier> getIdentifiers()
Get the identifiers- Specified by:
getIdentifiers
in interfaceIdentifiable
- Returns:
- identifiers
-
hasIdentifiers
public boolean hasIdentifiers()
Has identifiers- Specified by:
hasIdentifiers
in interfaceIdentifiable
- Returns:
- true if has identifiers
-
numIdentifiers
public int numIdentifiers()
Number of identifiers- Specified by:
numIdentifiers
in interfaceIdentifiable
- Returns:
- identifiers count
-
getIdentifier
public Identifier getIdentifier(int index)
Get the identifier at the index- Specified by:
getIdentifier
in interfaceIdentifiable
- Parameters:
index
- identifier index- Returns:
- identifier
-
setIdentifiers
public void setIdentifiers(List<Identifier> identifiers)
Set the identifiers- Specified by:
setIdentifiers
in interfaceIdentifiable
- Parameters:
identifiers
- identifiers
-
addIdentifier
public void addIdentifier(Identifier identifier)
Add the identifier- Specified by:
addIdentifier
in interfaceIdentifiable
- Parameters:
identifier
- identifier
-
addIdentifiers
public void addIdentifiers(List<Identifier> identifiers)
Add the identifiers- Specified by:
addIdentifiers
in interfaceIdentifiable
- Parameters:
identifiers
- identifiers
-
-