Class Identifier


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

      • 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 Detail

      • 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.