jaxx.runtime.validator
Enum BeanValidatorScope

java.lang.Object
  extended by java.lang.Enum<BeanValidatorScope>
      extended by jaxx.runtime.validator.BeanValidatorScope
All Implemented Interfaces:
Serializable, Comparable<BeanValidatorScope>

Deprecated. since 2.2.4, the code is moved into the org.nuiton:nuiton-validator project, will be removed in version 2.3

@Deprecated
public enum BeanValidatorScope
extends Enum<BeanValidatorScope>

The differents levels of messages in validation process.

The order of the enum defines the severity of validation.

Always begin with fatal, then error, then if no error found, try warning, then info...

Author:
tchemit

Enum Constant Summary
ERROR
          Deprecated. the error scope level.
FATAL
          Deprecated. the fatal error scope level.
INFO
          Deprecated. the information scope level.
WARNING
          Deprecated. the warning scope level.
 
Method Summary
 String getLabel()
          Deprecated.  
static BeanValidatorScope valueOf(String name)
          Deprecated. Returns the enum constant of this type with the specified name.
static BeanValidatorScope[] values()
          Deprecated. 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

FATAL

public static final BeanValidatorScope FATAL
Deprecated. 
the fatal error scope level.

When a message of a such scope is found on a validator, then the validator is invalid and modified.

Since:
2.2.4

ERROR

public static final BeanValidatorScope ERROR
Deprecated. 
the error scope level.

When a message of a such scope is found on a validator, then the validator is invalid and modified.


WARNING

public static final BeanValidatorScope WARNING
Deprecated. 
the warning scope level.

When a message of a such scope is found on a validator, then the validator is still valid but modified.


INFO

public static final BeanValidatorScope INFO
Deprecated. 
the information scope level.

When a message of a sucg scope is found on a validator, then the validator is still valid and not modified.

Method Detail

values

public static BeanValidatorScope[] values()
Deprecated. 
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 (BeanValidatorScope c : BeanValidatorScope.values())
    System.out.println(c);

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

valueOf

public static BeanValidatorScope valueOf(String name)
Deprecated. 
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

getLabel

public String getLabel()
Deprecated. 


Copyright © 2008-2010 CodeLutin. All Rights Reserved.