Enum AnnotationType

java.lang.Object
java.lang.Enum<AnnotationType>
org.spdx.library.model.enumerations.AnnotationType
All Implemented Interfaces:
Serializable, Comparable<AnnotationType>, java.lang.constant.Constable, IndividualUriValue

public enum AnnotationType
extends Enum<AnnotationType>
implements IndividualUriValue
Annotation types for the Annotation Class
Author:
Gary O'Neall
  • Enum Constant Details

  • Method Details

    • values

      public static AnnotationType[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static AnnotationType valueOf​(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • getIndividualURI

      public String getIndividualURI()
      Specified by:
      getIndividualURI in interface IndividualUriValue
      Returns:
      a unique identifier for this value. Typically the namespace + the long name
    • getLongName

      public String getLongName()
    • getNameSpace

      public String getNameSpace()