public enum NullValueCondition extends Enum<NullValueCondition>
Enum Constant and Description |
---|
NORMAL
Accepts like that
null is a regular value. |
NOT_NULL_IS_NG
Denies if actual value is not
null . |
NOT_NULL_IS_OK
Accepts if actual value is not
null . |
NULL_IS_NG
Denies if actual value is
null . |
NULL_IS_OK
Accepts if actual value is
null . |
Modifier and Type | Method and Description |
---|---|
static NullValueCondition |
getConditonByJapanseName(String key)
Returns an item about the
Japanese name . |
String |
getJapaneseName()
Returns the Japanese name of this item.
|
static String[] |
getJapaneseNames()
Returns the available Japanese names.
|
static NullValueCondition |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NullValueCondition[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NullValueCondition NORMAL
null
is a regular value.public static final NullValueCondition NULL_IS_OK
null
.public static final NullValueCondition NULL_IS_NG
null
.public static final NullValueCondition NOT_NULL_IS_OK
null
.public static final NullValueCondition NOT_NULL_IS_NG
null
.public static NullValueCondition[] values()
for (NullValueCondition c : NullValueCondition.values()) System.out.println(c);
public static NullValueCondition 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 getJapaneseName()
public static NullValueCondition getConditonByJapanseName(String key)
Japanese name
.key
- the Japanese namenull
if there is no such the itempublic static String[] getJapaneseNames()
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.