All Implemented Interfaces:
StateObject

public class EnumTypeStateObject extends SimpleStateObject
This StateObject wraps the name of an Enum constant.
Since:
2.4
Version:
2.4
  • Constructor Details

    • EnumTypeStateObject

      public EnumTypeStateObject(StateObject parent)
      Creates a new EnumTypeStateObject.
      Parameters:
      parent - The parent of this state object, which cannot be null
      Throws:
      NullPointerException - The given parent cannot be null
    • EnumTypeStateObject

      public EnumTypeStateObject(StateObject parent, Enum<? extends Enum<?>> enumConstant)
      Creates a new EnumTypeStateObject.
      Parameters:
      parent - The parent of this state object, which cannot be null
      enumConstant - The fully qualified name of the Enum type following by the constant
      Throws:
      NullPointerException - The given parent cannot be null
    • EnumTypeStateObject

      public EnumTypeStateObject(StateObject parent, String enumConstant)
      Creates a new EnumTypeStateObject.
      Parameters:
      parent - The parent of this state object, which cannot be null
      enumConstant - The fully qualified name of the Enum constant
      Throws:
      NullPointerException - The given parent cannot be null
  • Method Details