Class Identifier

java.lang.Object
org.n52.shetland.ogc.gml.CodeWithAuthority
org.n52.shetland.inspire.base.Identifier
All Implemented Interfaces:
Comparable<CodeWithAuthority>

public class Identifier extends CodeWithAuthority
  • Constructor Details

    • Identifier

      public Identifier(String localId, String namespace)
      Parameters:
      localId - the localID
      namespace - the namespace
    • Identifier

      public Identifier(CodeWithAuthority codeWithAuthority)
    • Identifier

      public Identifier()
  • Method Details

    • getLocalId

      public String getLocalId()
      Get localId
      Returns:
      LocalId
    • getNamespace

      public String getNamespace()
      Get namespace
      Returns:
      Code space
    • setLocalId

      public Identifier setLocalId(String localId)
      Set localId and return this Identifier object
      Parameters:
      localId - LocalId to set
      Returns:
      This Identifier object
    • setNamespace

      public Identifier setNamespace(String namespace)
      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:
      true if localId is set
    • isSetNamespace

      public boolean isSetNamespace()
      Check whether namespace is set
      Returns:
      true if namespace is set
    • getVersionId

      public Nillable<String> getVersionId()
    • setVersionId

      public void setVersionId(String versionId)
    • setVersionId

      public Identifier setVersionId(Nillable<String> versionId)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class CodeWithAuthority
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class CodeWithAuthority
    • toString

      public String toString()
      Overrides:
      toString in class CodeWithAuthority