Package mil.nga.crs.common
Class ReferenceFrame
- java.lang.Object
-
- mil.nga.crs.common.ReferenceFrame
-
- All Implemented Interfaces:
Identifiable
- Direct Known Subclasses:
EngineeringDatum,GeoReferenceFrame,ParametricDatum,VerticalReferenceFrame
public abstract class ReferenceFrame extends Object implements Identifiable
Reference Frame (datum)- Author:
- osbornb
-
-
Constructor Summary
Constructors Constructor Description ReferenceFrame(String name, CRSType type)ConstructorReferenceFrame(CRSType type)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 identifiersbooleanequals(Object obj)StringgetAnchor()Get the datum anchor descriptionIdentifiergetIdentifier(int index)Get the identifier at the indexList<Identifier>getIdentifiers()Get the identifiersStringgetName()Get the datum nameCRSTypegetType()Get the typebooleanhasAnchor()Has a datum anchor descriptioninthashCode()booleanhasIdentifiers()Has identifiersintnumIdentifiers()Number of identifiersvoidsetAnchor(String anchor)Set the datum anchor descriptionvoidsetIdentifiers(List<Identifier> identifiers)Set the identifiersvoidsetName(String name)Set the datum namevoidsetType(CRSType type)Set the typeStringtoString()
-
-
-
Method Detail
-
getName
public String getName()
Get the datum name- Returns:
- datum name
-
setName
public void setName(String name)
Set the datum name- Parameters:
name- datum name
-
getType
public CRSType getType()
Get the type- Returns:
- type
-
setType
public void setType(CRSType type)
Set the type- Parameters:
type- type
-
getAnchor
public String getAnchor()
Get the datum anchor description- Returns:
- datum anchor description
-
hasAnchor
public boolean hasAnchor()
Has a datum anchor description- Returns:
- true if has datum anchor description
-
setAnchor
public void setAnchor(String anchor)
Set the datum anchor description- Parameters:
anchor- datum anchor description
-
getIdentifiers
public List<Identifier> getIdentifiers()
Get the identifiers- Specified by:
getIdentifiersin interfaceIdentifiable- Returns:
- identifiers
-
hasIdentifiers
public boolean hasIdentifiers()
Has identifiers- Specified by:
hasIdentifiersin interfaceIdentifiable- Returns:
- true if has identifiers
-
numIdentifiers
public int numIdentifiers()
Number of identifiers- Specified by:
numIdentifiersin interfaceIdentifiable- Returns:
- identifiers count
-
getIdentifier
public Identifier getIdentifier(int index)
Get the identifier at the index- Specified by:
getIdentifierin interfaceIdentifiable- Parameters:
index- identifier index- Returns:
- identifier
-
setIdentifiers
public void setIdentifiers(List<Identifier> identifiers)
Set the identifiers- Specified by:
setIdentifiersin interfaceIdentifiable- Parameters:
identifiers- identifiers
-
addIdentifier
public void addIdentifier(Identifier identifier)
Add the identifier- Specified by:
addIdentifierin interfaceIdentifiable- Parameters:
identifier- identifier
-
addIdentifiers
public void addIdentifiers(List<Identifier> identifiers)
Add the identifiers- Specified by:
addIdentifiersin interfaceIdentifiable- Parameters:
identifiers- identifiers
-
-