Package org.n52.shetland.inspire
Class InspireUniqueResourceIdentifier
- java.lang.Object
-
- org.n52.shetland.inspire.InspireUniqueResourceIdentifier
-
- All Implemented Interfaces:
InspireObject
public class InspireUniqueResourceIdentifier extends Object implements InspireObject
Service internal representation of INSPIRE unique resource identifier- Since:
- 1.0.0
-
-
Constructor Summary
Constructors Constructor Description InspireUniqueResourceIdentifier(String code)constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCode()Get the codeStringgetMetadataUrl()Get the metadata URLStringgetNamespace()Get the namespacebooleanisSetMetadataUrl()Check if the metadata URL is setbooleanisSetNamespace()Check if the namespace is setInspireUniqueResourceIdentifiersetMetadataUrl(String metadataUrl)Set the metadata URLInspireUniqueResourceIdentifiersetNamespace(String namespace)Set the namespace
-
-
-
Constructor Detail
-
InspireUniqueResourceIdentifier
public InspireUniqueResourceIdentifier(String code)
constructor- Parameters:
code- the code of the identifier
-
-
Method Detail
-
getCode
public String getCode()
Get the code- Returns:
- the code
-
getNamespace
public String getNamespace()
Get the namespace- Returns:
- the namespaces
-
setNamespace
public InspireUniqueResourceIdentifier setNamespace(String namespace)
Set the namespace- Parameters:
namespace- the namespace to set- Returns:
- this
-
isSetNamespace
public boolean isSetNamespace()
Check if the namespace is set- Returns:
true, if the namespace is set
-
getMetadataUrl
public String getMetadataUrl()
Get the metadata URL- Returns:
- the metadataUrl
-
setMetadataUrl
public InspireUniqueResourceIdentifier setMetadataUrl(String metadataUrl)
Set the metadata URL- Parameters:
metadataUrl- the metadataUrl to set- Returns:
- this
-
isSetMetadataUrl
public boolean isSetMetadataUrl()
Check if the metadata URL is set- Returns:
true, if the metadata URL is set
-
-