Enum Class ValidationActionType

java.lang.Object
java.lang.Enum<ValidationActionType>
org.kuali.rice.krms.framework.type.ValidationActionType
All Implemented Interfaces:
Serializable, Comparable<ValidationActionType>, Constable, org.kuali.rice.core.api.mo.common.Coded

public enum ValidationActionType extends Enum<ValidationActionType> implements org.kuali.rice.core.api.mo.common.Coded
enum used to specify the action type to be specified in the vended
invalid reference
ValidationAction
s. WARNING ERROR
Author:
Kuali Rice Team (rice.collab@kuali.org)
  • Enum Constant Details

  • Field Details

    • VALID_TYPE_CODES

      public static final Set<String> VALID_TYPE_CODES
      Set of valid type codes
  • Method Details

    • values

      public static ValidationActionType[] 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 ValidationActionType 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
    • toString

      public String toString()
      Overrides:
      toString in class Enum<ValidationActionType>
    • fromString

      public static ValidationActionType fromString(String s)
      for each type, check the input with the lowercase version of the type name, and returns any match.
      Parameters:
      s - the type to retrieve
      Returns:
      the type, or null if a match is not found.
    • fromCode

      public static ValidationActionType fromCode(String code)
      for each type, check the input with the uppercase type code, and returns any match.
      Parameters:
      code - the type to retrieve
      Returns:
      the type, or null if a match is not found.
    • getCode

      public String getCode()
      The code value for this object. In general a code value cannot be null or a blank string.
      Specified by:
      getCode in interface org.kuali.rice.core.api.mo.common.Coded
      Returns:
      the code value for this object.