Package mil.nga.crs.common
Class Identifier
- java.lang.Object
-
- mil.nga.crs.common.Identifier
-
public class Identifier extends Object
Identifier (Authority)- Author:
- osbornb
-
-
Constructor Summary
Constructors Constructor Description Identifier()
ConstructorIdentifier(String name, String uniqueIdentifier)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
String
getCitation()
Get the authority citationString
getName()
Get the authority nameString
getNameAndUniqueIdentifier()
Get the name and unique identifier separated by a colonString
getNameAndUniqueIdentifier(String delimiter)
Get the name and unique identifier separated by the delimiterString
getUniqueIdentifier()
Get the authority unique identifierString
getUri()
Get the id uriString
getVersion()
Get the versionboolean
hasCitation()
Has an authority citationint
hashCode()
boolean
hasUri()
Has an id uriboolean
hasVersion()
Has a versionvoid
setCitation(String citation)
Set the authority citationvoid
setName(String name)
Set the authority namevoid
setUniqueIdentifier(String uniqueIdentifier)
Set the authority unique identifiervoid
setUri(String uri)
Set the id urivoid
setVersion(String version)
Set the versionString
toString()
-
-
-
Method Detail
-
getName
public String getName()
Get the authority name- Returns:
- authority name
-
setName
public void setName(String name)
Set the authority name- Parameters:
name
- authority name
-
getUniqueIdentifier
public String getUniqueIdentifier()
Get the authority unique identifier- Returns:
- authority unique identifier
-
setUniqueIdentifier
public void setUniqueIdentifier(String uniqueIdentifier)
Set the authority unique identifier- Parameters:
uniqueIdentifier
- authority unique identifier
-
getNameAndUniqueIdentifier
public String getNameAndUniqueIdentifier()
Get the name and unique identifier separated by a colon- Returns:
- name and unique identifier
-
getNameAndUniqueIdentifier
public String getNameAndUniqueIdentifier(String delimiter)
Get the name and unique identifier separated by the delimiter- Parameters:
delimiter
- delimiter- Returns:
- name and unique identifier
-
getVersion
public String getVersion()
Get the version- Returns:
- version
-
hasVersion
public boolean hasVersion()
Has a version- Returns:
- true if has version
-
setVersion
public void setVersion(String version)
Set the version- Parameters:
version
- version
-
getCitation
public String getCitation()
Get the authority citation- Returns:
- authority citation
-
hasCitation
public boolean hasCitation()
Has an authority citation- Returns:
- true if has authority citation
-
setCitation
public void setCitation(String citation)
Set the authority citation- Parameters:
citation
- authority citation
-
getUri
public String getUri()
Get the id uri- Returns:
- id uri
-
hasUri
public boolean hasUri()
Has an id uri- Returns:
- true if has id uri
-
setUri
public void setUri(String uri)
Set the id uri- Parameters:
uri
- id uri
-
-