Enum Class ApprovalState

Object
Enum<ApprovalState>
ApprovalState
All Implemented Interfaces:
Serializable, Comparable<ApprovalState>, Constable

public enum ApprovalState extends Enum<ApprovalState>
  • Enum Constant Details

    • NOT_APPROVED

      public static final ApprovalState NOT_APPROVED
      PriceList is in this state if all its PriceListItems are not approved. PriceListItem can be non approved also individually, so it can be also in this state.
    • PARTIALLY_APPROVED

      public static final ApprovalState PARTIALLY_APPROVED
      PriceGrid is in this state if some of PriceGridItems are approved some are not approved. Individual PriceGridItem cannot be in this state.
    • APPROVED

      public static final ApprovalState APPROVED
      PriceList is in this state if all its PriceListItems are approved. PriceListItem can be approved also individually, so it can be also in this state.
    • AUTO_APPROVED

      public static final ApprovalState AUTO_APPROVED
      PriceGrid items can be auto-approved
    • DENIED

      public static final ApprovalState DENIED
  • Method Details

    • values

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

      public static ApprovalState valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null