Enum ILink.Origintype

java.lang.Object
java.lang.Enum<ILink.Origintype>
edu.fiu.jtlex.data.ILink.Origintype
All Implemented Interfaces:
Serializable, Comparable<ILink.Origintype>, java.lang.constant.Constable
Enclosing interface:
ILink

public static enum ILink.Origintype extends Enum<ILink.Origintype>
Enum that represents whether the TLink was generated manually or by closure. 2 options:
  • MANUALLY
  • CLOSURE
  • Enum Constant Details

    • USER

      public static final ILink.Origintype USER
      TODO: Is this constant necessary?
    • MANUALLY

      public static final ILink.Origintype MANUALLY
      Link was manually generated.
    • CLOSURE

      public static final ILink.Origintype CLOSURE
      Link was generated in the closure part of the annotation.
  • Method Details

    • values

      public static ILink.Origintype[] 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 ILink.Origintype 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