public enum ValidateProfile extends Enum<ValidateProfile>
表示验证环境,包括创建实体时验证,更新实体时验证,任意情况都验证。
Modifier and Type | Method and Description |
---|---|
static ValidateProfile |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ValidateProfile[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ValidateProfile CREATE
public static final ValidateProfile UPDATE
public static final ValidateProfile ALL
public static ValidateProfile[] values()
for (ValidateProfile c : ValidateProfile.values()) System.out.println(c);
public static ValidateProfile 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 nullCopyright © 2016 huihoo. All rights reserved.