public static enum NeptusProperty.VALIDATOR extends java.lang.Enum<NeptusProperty.VALIDATOR>
Enum Constant and Description |
---|
CUSTOM_VALIDATOR |
DECIMAL |
POSITIVE_DECIMAL |
POSITIVE_INT |
STRING |
Modifier and Type | Method and Description |
---|---|
static NeptusProperty.VALIDATOR |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NeptusProperty.VALIDATOR[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NeptusProperty.VALIDATOR POSITIVE_INT
public static final NeptusProperty.VALIDATOR DECIMAL
public static final NeptusProperty.VALIDATOR POSITIVE_DECIMAL
public static final NeptusProperty.VALIDATOR STRING
public static final NeptusProperty.VALIDATOR CUSTOM_VALIDATOR
public static NeptusProperty.VALIDATOR[] values()
for (NeptusProperty.VALIDATOR c : NeptusProperty.VALIDATOR.values()) System.out.println(c);
public static NeptusProperty.VALIDATOR valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullCopyright © 2004-2014 FEUP-LSTS and Neptus developers. All Rights Reserved.