Package mil.nga.crs
Class CommonCRS
- java.lang.Object
-
- mil.nga.crs.CRS
-
- mil.nga.crs.CommonCRS
-
- All Implemented Interfaces:
Identifiable
,ScopeExtentIdentifierRemark
- Direct Known Subclasses:
CoordinateReferenceSystem
,Operation
public abstract class CommonCRS extends CRS
Common coordinate reference system and coordinate operations object- Author:
- osbornb
-
-
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 identifiersvoid
addUsage(Usage usage)
Add the usagevoid
addUsages(List<Usage> usages)
Add the usagesboolean
equals(Object obj)
Identifier
getIdentifier(int index)
Get the identifier at the indexList<Identifier>
getIdentifiers()
Get the identifiersString
getName()
Get the nameString
getRemark()
Get the remarkUsage
getUsage(int index)
Get the usage at the indexList<Usage>
getUsages()
Get the usagesint
hashCode()
boolean
hasIdentifiers()
Has identifiersboolean
hasRemark()
Has remarkboolean
hasUsages()
Has usagesint
numIdentifiers()
Number of identifiersint
numUsages()
Number of usagesvoid
setIdentifiers(List<Identifier> identifiers)
Set the identifiersvoid
setName(String name)
Set the namevoid
setRemark(String remark)
Set the remarkvoid
setUsages(List<Usage> usages)
Set the usages
-
-
-
Method Detail
-
getName
public String getName()
Get the name- Returns:
- name
-
setName
public void setName(String name)
Set the name- Parameters:
name
- name
-
hasUsages
public boolean hasUsages()
Has usages- Returns:
- true if has usages
-
numUsages
public int numUsages()
Number of usages- Returns:
- usages count
-
getUsage
public Usage getUsage(int index)
Get the usage at the index- Parameters:
index
- usage index- Returns:
- usage
-
addUsage
public void addUsage(Usage usage)
Add the usage- Parameters:
usage
- usage
-
getIdentifiers
public List<Identifier> getIdentifiers()
Get the identifiers- Returns:
- identifiers
-
hasIdentifiers
public boolean hasIdentifiers()
Has identifiers- Returns:
- true if has identifiers
-
numIdentifiers
public int numIdentifiers()
Number of identifiers- Returns:
- identifiers count
-
getIdentifier
public Identifier getIdentifier(int index)
Get the identifier at the index- Parameters:
index
- identifier index- Returns:
- identifier
-
setIdentifiers
public void setIdentifiers(List<Identifier> identifiers)
Set the identifiers- Parameters:
identifiers
- identifiers
-
addIdentifier
public void addIdentifier(Identifier identifier)
Add the identifier- Parameters:
identifier
- identifier
-
addIdentifiers
public void addIdentifiers(List<Identifier> identifiers)
Add the identifiers- Parameters:
identifiers
- identifiers
-
getRemark
public String getRemark()
Get the remark- Returns:
- remark
-
hasRemark
public boolean hasRemark()
Has remark- Returns:
- true if has remark
-
setRemark
public void setRemark(String remark)
Set the remark- Parameters:
remark
- remark
-
-