Package mil.nga.crs.metadata
Class CoordinateMetadata
- java.lang.Object
-
- mil.nga.crs.CRS
-
- mil.nga.crs.metadata.CoordinateMetadata
-
- All Implemented Interfaces:
Identifiable
,ScopeExtentIdentifierRemark
public class CoordinateMetadata extends CRS
Coordinate metadata- Author:
- osbornb
-
-
Constructor Summary
Constructors Constructor Description CoordinateMetadata()
ConstructorCoordinateMetadata(CoordinateReferenceSystem crs)
ConstructorCoordinateMetadata(CoordinateReferenceSystem crs, Double epoch)
ConstructorCoordinateMetadata(CoordinateReferenceSystem crs, String epoch)
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 identifiersvoid
addUsage(Usage usage)
Add the usagevoid
addUsages(List<Usage> usages)
Add the usagesboolean
equals(Object obj)
CoordinateReferenceSystem
getCoordinateReferenceSystem()
Get the coordinate reference systemDouble
getEpoch()
Get the coordinate epochString
getEpochText()
Get the coordinate epoch textIdentifier
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 usagesboolean
hasEpoch()
Has a coordinate epochint
hashCode()
boolean
hasIdentifiers()
Has identifiersboolean
hasRemark()
Has remarkboolean
hasUsages()
Has usagesint
numIdentifiers()
Number of identifiersint
numUsages()
Number of usagesvoid
setCoordinateReferenceSystem(CoordinateReferenceSystem crs)
Set the coordinate reference systemvoid
setEpoch(Double epoch)
Set the coordinate epochvoid
setEpoch(String epoch)
Set the coordinate epochvoid
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
-
-
-
Constructor Detail
-
CoordinateMetadata
public CoordinateMetadata()
Constructor
-
CoordinateMetadata
public CoordinateMetadata(CoordinateReferenceSystem crs)
Constructor- Parameters:
crs
- coordinate reference system
-
CoordinateMetadata
public CoordinateMetadata(CoordinateReferenceSystem crs, Double epoch)
Constructor- Parameters:
crs
- coordinate reference systemepoch
- coordinate epoch
-
CoordinateMetadata
public CoordinateMetadata(CoordinateReferenceSystem crs, String epoch)
Constructor- Parameters:
crs
- coordinate reference systemepoch
- coordinate epoch- Since:
- 1.1.0
-
-
Method Detail
-
getCoordinateReferenceSystem
public CoordinateReferenceSystem getCoordinateReferenceSystem()
Get the coordinate reference system- Returns:
- coordinate reference system
-
setCoordinateReferenceSystem
public void setCoordinateReferenceSystem(CoordinateReferenceSystem crs)
Set the coordinate reference system- Parameters:
crs
- coordinate reference system
-
getEpoch
public Double getEpoch()
Get the coordinate epoch- Returns:
- coordinate epoch
-
getEpochText
public String getEpochText()
Get the coordinate epoch text- Returns:
- coordinate epoch text
- Since:
- 1.1.0
-
hasEpoch
public boolean hasEpoch()
Has a coordinate epoch- Returns:
- true if has coordinate epoch
-
setEpoch
public void setEpoch(Double epoch)
Set the coordinate epoch- Parameters:
epoch
- coordinate epoch
-
setEpoch
public void setEpoch(String epoch)
Set the coordinate epoch- Parameters:
epoch
- coordinate epoch- Since:
- 1.1.0
-
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
-
-