Class IdentifierImpl1

java.lang.Object
info.oais.implementation.infomodel.IdentifierImpl1
All Implemented Interfaces:
Identifier, Serializable
Direct Known Subclasses:
DataObjectIdImpl1, DigitalObjectIdImpl1, LocationImpl1, PersistentIdentifierImpl1, RepInfoIdImpl1

public class IdentifierImpl1
extends Object
implements Identifier, Serializable
An implementation of an Identifier as a URI.
Since:
11-Sep-2021 22:45:26
Version:
1.0
Author:
David
See Also:
Serialized Form
  • Field Summary

    Fields
    Modifier and Type Field Description
    (package private) URI m_uri
    The internal value for the URI..
    private static long serialVersionUID
    SerialVersionUID to use when object is serialized.
  • Constructor Summary

    Constructors
    Constructor Description
    IdentifierImpl1()
    Constructor for Identifier
  • Method Summary

    Modifier and Type Method Description
    URI getURI()
    If available this returns the URI which identifies the object.
    void setURI​(URI uri)
    If available this returns the URI which identifies the object.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      SerialVersionUID to use when object is serialized.
      See Also:
      Constant Field Values
    • m_uri

      URI m_uri
      The internal value for the URI..
  • Constructor Details

    • IdentifierImpl1

      public IdentifierImpl1()
      Constructor for Identifier
  • Method Details

    • getURI

      public URI getURI()
      If available this returns the URI which identifies the object.
      Specified by:
      getURI in interface Identifier
      Returns:
      URI for the object - if available, otherwise return null.
    • setURI

      public void setURI​(URI uri)
      If available this returns the URI which identifies the object.
      Specified by:
      setURI in interface Identifier
      Parameters:
      uri - the URI for the object.