Package org.n52.shetland.inspire.base
Class Identifier
java.lang.Object
org.n52.shetland.ogc.gml.CodeWithAuthority
org.n52.shetland.inspire.base.Identifier
- All Implemented Interfaces:
Comparable<CodeWithAuthority>
-
Constructor Summary
ConstructorsConstructorDescriptionIdentifier(String localId, String namespace) Identifier(CodeWithAuthority codeWithAuthority) -
Method Summary
Modifier and TypeMethodDescriptionbooleanGet localIdGet namespaceinthashCode()booleanCheck whether localId is setbooleanCheck whether namespace is setsetLocalId(String localId) Set localId and return this Identifier objectsetNamespace(String namespace) Set namespace and return this Identifier objectvoidsetVersionId(String versionId) setVersionId(Nillable<String> versionId) toString()Methods inherited from class org.n52.shetland.ogc.gml.CodeWithAuthority
compareTo, getCodeSpace, getValue, isSetCodeSpace, isSetValue, setCodeSpace, setValue
-
Constructor Details
-
Identifier
- Parameters:
localId- the localIDnamespace- the namespace
-
Identifier
-
Identifier
public Identifier()
-
-
Method Details
-
getLocalId
Get localId- Returns:
- LocalId
-
getNamespace
Get namespace- Returns:
- Code space
-
setLocalId
Set localId and return this Identifier object- Parameters:
localId- LocalId to set- Returns:
- This Identifier object
-
setNamespace
Set namespace and return this Identifier object- Parameters:
namespace- Code space to set- Returns:
- This Identifier object
-
isSetLocalId
public boolean isSetLocalId()Check whether localId is set- Returns:
trueif localId is set
-
isSetNamespace
public boolean isSetNamespace()Check whether namespace is set- Returns:
trueif namespace is set
-
getVersionId
-
setVersionId
-
setVersionId
-
hashCode
public int hashCode()- Overrides:
hashCodein classCodeWithAuthority
-
equals
- Overrides:
equalsin classCodeWithAuthority
-
toString
- Overrides:
toStringin classCodeWithAuthority
-