Class DocumentBase

java.lang.Object
uk.ac.gda.common.entity.DocumentBase
All Implemented Interfaces:
Document
Direct Known Subclasses:
DeviceMethods, DeviceValue

public class DocumentBase extends Object implements Document
Represents a document identifier.
  • Constructor Details

    • DocumentBase

      protected DocumentBase(DocumentBase documentBase)
      This constructor enable any class extending this to still create a new immutable object
      Parameters:
      documentBase -
      See Also:
  • Method Details

    • getUuid

      public UUID getUuid()
      Description copied from interface: Document
      An universal unique identifier to discriminate between different documents
      Specified by:
      getUuid in interface Document
      Returns:
      the document unique identifier
    • getName

      public String getName()
      Description copied from interface: Document
      A human readable name for the document.
      Specified by:
      getName in interface Document
      Returns:
      the document name
    • getDescription

      public String getDescription()
      Description copied from interface: Document
      A short description for the document.
      Specified by:
      getDescription in interface Document
      Returns:
      the document description