public enum NullityConditionKind extends Enum<NullityConditionKind>
| Enum Constant and Description |
|---|
ACCEPT_ABSENT
Accepts if actual value is
null. |
ACCEPT_PRESENT
Accepts if actual value is not
null. |
DENY_ABSENT
Denies if actual value is
null. |
DENY_PRESENT
Denies if actual value is not
null. |
NORMAL
Accepts like that
null is a regular value. |
| Modifier and Type | Method and Description |
|---|---|
static NullityConditionKind |
fromOption(String text)
Returns a constant of this enum from the corresponded textual representation.
|
static String[] |
getOptions()
Returns options as text.
|
String |
getText()
Returns a textual representation of this kind.
|
String |
getTitle()
Returns a title of this kind.
|
static NullityConditionKind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NullityConditionKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NullityConditionKind NORMAL
null is a regular value.public static final NullityConditionKind ACCEPT_ABSENT
null.public static final NullityConditionKind DENY_ABSENT
null.public static final NullityConditionKind ACCEPT_PRESENT
null.public static final NullityConditionKind DENY_PRESENT
null.public static NullityConditionKind[] values()
for (NullityConditionKind c : NullityConditionKind.values()) System.out.println(c);
public static NullityConditionKind 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 getTitle()
public String getText()
public static NullityConditionKind fromOption(String text)
text - a textual representationnull if does not existIllegalArgumentException - if some parameters were nullpublic static String[] getOptions()
IllegalArgumentException - if some parameters were nullCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.