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 voidaddIdentifier(Identifier identifier)Add the identifiervoidaddIdentifiers(List<Identifier> identifiers)Add the identifiersvoidaddUsage(Usage usage)Add the usagevoidaddUsages(List<Usage> usages)Add the usagesbooleanequals(Object obj)CoordinateReferenceSystemgetCoordinateReferenceSystem()Get the coordinate reference systemDoublegetEpoch()Get the coordinate epochStringgetEpochText()Get the coordinate epoch textIdentifiergetIdentifier(int index)Get the identifier at the indexList<Identifier>getIdentifiers()Get the identifiersStringgetName()Get the nameStringgetRemark()Get the remarkUsagegetUsage(int index)Get the usage at the indexList<Usage>getUsages()Get the usagesbooleanhasEpoch()Has a coordinate epochinthashCode()booleanhasIdentifiers()Has identifiersbooleanhasRemark()Has remarkbooleanhasUsages()Has usagesintnumIdentifiers()Number of identifiersintnumUsages()Number of usagesvoidsetCoordinateReferenceSystem(CoordinateReferenceSystem crs)Set the coordinate reference systemvoidsetEpoch(Double epoch)Set the coordinate epochvoidsetEpoch(String epoch)Set the coordinate epochvoidsetIdentifiers(List<Identifier> identifiers)Set the identifiersvoidsetName(String name)Set the namevoidsetRemark(String remark)Set the remarkvoidsetUsages(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
-
-