public enum ValidationActionType extends Enum<ValidationActionType> implements org.kuali.rice.core.api.mo.common.Coded
ValidationActions. WARNING ERROR| Enum Constant and Description |
|---|
ERROR
use this flag with the static factory to get a
ValidationActionTypeService that creates
error actions. |
WARNING
use this flag with the static factory to get a
ValidationActionTypeService that creates
warning actions. |
| Modifier and Type | Field and Description |
|---|---|
static Set<String> |
VALID_TYPE_CODES
Set of valid type codes
|
| Modifier and Type | Method and Description |
|---|---|
static ValidationActionType |
fromCode(String code)
for each type, check the input with the uppercase type code, and returns any match.
|
static ValidationActionType |
fromString(String s)
for each type, check the input with the lowercase version of the type name, and returns any match.
|
String |
getCode()
The code value for this object.
|
String |
toString() |
static ValidationActionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ValidationActionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ValidationActionType WARNING
ValidationActionTypeService that creates
warning actions.public static final ValidationActionType ERROR
ValidationActionTypeService that creates
error actions.public static final Set<String> VALID_TYPE_CODES
public static ValidationActionType[] values()
for (ValidationActionType c : ValidationActionType.values()) System.out.println(c);
public static ValidationActionType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String toString()
toString in class Enum<ValidationActionType>public static ValidationActionType fromString(String s)
s - the type to retrievepublic static ValidationActionType fromCode(String code)
code - the type to retrieveCopyright © 2005–2016 The Kuali Foundation. All rights reserved.