Class Identifier

java.lang.Object
edu.harvard.hul.ois.jhove.Identifier

public class Identifier extends Object
This class encapsulates information about an identifier for a specification document.
  • Constructor Details

    • Identifier

      public Identifier(String value, IdentifierType type)
      Create an Identifier.
      Parameters:
      value - The text displayed for this Identifier.
      type - The type of identification.
    • Identifier

      public Identifier(String value, IdentifierType type, String note)
      Create an Identifier.
      Parameters:
      value - The text displayed for this Identifier.
      type - The type of identification.
      note - A note giving supplementary information.
  • Method Details

    • getType

      public IdentifierType getType()
      Return the identifier type.
    • getValue

      public String getValue()
      Return the displayable string.
    • getNote

      public String getNote()
      Return the note, which will be null if none was specified.