public enum ValidationRuleType extends Enum<ValidationRuleType> implements org.kuali.rice.core.api.mo.common.Coded
ValidationRules. INVALID VALID| Enum Constant and Description |
|---|
INVALID
use this flag with the static factory to get a ValidationRuleTypeService} that creates
warning validationRules.
|
VALID
use this flag with the static factory to get a ValidationRuleTypeService} that creates
error validationRules.
|
| Modifier and Type | Field and Description |
|---|---|
static Set<String> |
VALID_TYPE_CODES
Set of valid type codes
|
| Modifier and Type | Method and Description |
|---|---|
static ValidationRuleType |
fromCode(String code)
for each type, check the input with the uppercase version of the type code, and returns any match.
|
static ValidationRuleType |
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 ValidationRuleType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ValidationRuleType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ValidationRuleType INVALID
public static final ValidationRuleType VALID
public static final Set<String> VALID_TYPE_CODES
public static ValidationRuleType[] values()
for (ValidationRuleType c : ValidationRuleType.values()) System.out.println(c);
public static ValidationRuleType 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<ValidationRuleType>public static ValidationRuleType fromString(String s)
s - the type to retrievepublic static ValidationRuleType fromCode(String code)
code - the type to retrieveCopyright © 2005–2016 The Kuali Foundation. All rights reserved.