Humboldt Alignment Editor 2.5.0

eu.esdihumboldt.util.validator
Enum NumberValidator.Type

java.lang.Object
  extended by java.lang.Enum<NumberValidator.Type>
      extended by eu.esdihumboldt.util.validator.NumberValidator.Type
All Implemented Interfaces:
Serializable, Comparable<NumberValidator.Type>
Enclosing class:
NumberValidator

public static enum NumberValidator.Type
extends Enum<NumberValidator.Type>

Type specifies what NumberValidator should check.


Enum Constant Summary
MAXEXCLUSIVE
          Check for maximum value (exclusive).
MAXINCLUSIVE
          Check for maximum value (inclusive).
MINEXCLUSIVE
          Check for minimum value (exclusive).
MININCLUSIVE
          Check for minimum value (inclusive).
 
Method Summary
static NumberValidator.Type valueOf(String name)
          Returns the enum constant of this type with the specified name.
static NumberValidator.Type[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

MAXEXCLUSIVE

public static final NumberValidator.Type MAXEXCLUSIVE
Check for maximum value (exclusive).


MAXINCLUSIVE

public static final NumberValidator.Type MAXINCLUSIVE
Check for maximum value (inclusive).


MINEXCLUSIVE

public static final NumberValidator.Type MINEXCLUSIVE
Check for minimum value (exclusive).


MININCLUSIVE

public static final NumberValidator.Type MININCLUSIVE
Check for minimum value (inclusive).

Method Detail

values

public static NumberValidator.Type[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (NumberValidator.Type c : NumberValidator.Type.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static NumberValidator.Type valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

Humboldt Alignment Editor 2.5.0

Build 2012-12-03_12-30-59
Revision 9d2dd4b0318cda9f1393b1ddd390f7f792d70a2d