Class Identification

java.lang.Object
org.episteme.core.util.identity.Identification
All Implemented Interfaces:
Serializable, Identified<Identification>
Direct Known Subclasses:
DOIIdentification, ISBNIdentification, SimpleIdentification, SSNIdentification, UUIDIdentification

public abstract class Identification extends Object implements Identified<Identification>, Serializable
Base class for all identification schemes.
Author:
Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
See Also:
  • Constructor Details

    • Identification

      protected Identification(String value)
  • Method Details

    • getScheme

      public abstract String getScheme()
      Returns the identification scheme (e.g., "UUID", "ISBN", "DOI").
      Returns:
      the scheme name
    • getId

      public Identification getId()
      Description copied from interface: Identified
      Returns the unique identifier of this entity.
      Specified by:
      getId in interface Identified<Identification>
      Returns:
      the identifier
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object