Class EnumTypeStateObject

  • All Implemented Interfaces:
    StateObject

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

      • EnumTypeStateObject

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

        public EnumTypeStateObject​(StateObject parent,
                                   java.lang.Enum<? extends java.lang.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:
        java.lang.NullPointerException - The given parent cannot be null
      • EnumTypeStateObject

        public EnumTypeStateObject​(StateObject parent,
                                   java.lang.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:
        java.lang.NullPointerException - The given parent cannot be null