Class Identifier

  • All Implemented Interfaces:
    Serializable

    public class Identifier
    extends Object
    implements Serializable
    An Identifier identifies an object uniquely in an external system that created the id. Each system is identified by a namespace.

    Examples: GND-ID ("gnd:104330171") or VIAF-ID ("viaf:96994450")

    See Also:
    Serialized Form
    • Constructor Detail

      • Identifier

        public Identifier()
      • Identifier

        public Identifier​(UUID identifiable,
                          String namespace,
                          String id)
    • Method Detail

      • getId

        public String getId()
      • getIdentifiable

        public UUID getIdentifiable()
      • getNamespace

        public String getNamespace()
      • getUuid

        public UUID getUuid()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • setId

        public void setId​(String id)
      • setIdentifiable

        public void setIdentifiable​(UUID identifiable)
      • setNamespace

        public void setNamespace​(String namespace)
      • setUuid

        public void setUuid​(UUID uuid)