public static enum AssertFieldRule.AssertRuleType extends Enum<AssertFieldRule.AssertRuleType>
| 枚举常量和说明 |
|---|
MAX
maximum value of the data
|
MAX_LENGTH
maximum string length of a string data
|
MAX_ROW
maximum number of rows
|
MIN
minimum value of the data
|
MIN_LENGTH
minimum string length of a string data
|
MIN_ROW
minimum number of rows
|
NOT_NULL
value can't be null
|
NULL
value can be null
|
| 限定符和类型 | 方法和说明 |
|---|---|
static AssertFieldRule.AssertRuleType |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static AssertFieldRule.AssertRuleType[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final AssertFieldRule.AssertRuleType NULL
public static final AssertFieldRule.AssertRuleType NOT_NULL
public static final AssertFieldRule.AssertRuleType MIN
public static final AssertFieldRule.AssertRuleType MAX
public static final AssertFieldRule.AssertRuleType MIN_LENGTH
public static final AssertFieldRule.AssertRuleType MAX_LENGTH
public static final AssertFieldRule.AssertRuleType MAX_ROW
public static final AssertFieldRule.AssertRuleType MIN_ROW
public static AssertFieldRule.AssertRuleType[] values()
for (AssertFieldRule.AssertRuleType c : AssertFieldRule.AssertRuleType.values()) System.out.println(c);
public static AssertFieldRule.AssertRuleType valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值Copyright © 2024 The Apache Software Foundation. All rights reserved.