org.ujorm.orm.ao
Enum CheckReport

java.lang.Object
  extended by java.lang.Enum<CheckReport>
      extended by org.ujorm.orm.ao.CheckReport
All Implemented Interfaces:
Serializable, Comparable<CheckReport>

public enum CheckReport
extends Enum<CheckReport>

How to use the report of any check message?

See Also:
MetaParams

Enum Constant Summary
EXCEPTION
          Throw an EXCEPTION with the conflict message.
QUOTE_SQL_NAMES
          Skip the check test and Quote all SQL columns, tables and alias names.
SKIP
          Skip the check test.
WARNING
          Log a WARNING with the conflict message.
 
Method Summary
static CheckReport valueOf(String name)
          Returns the enum constant of this type with the specified name.
static CheckReport[] 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

SKIP

public static final CheckReport SKIP
Skip the check test.


QUOTE_SQL_NAMES

public static final CheckReport QUOTE_SQL_NAMES
Skip the check test and Quote all SQL columns, tables and alias names.
NOTE: The change of the parameter value affects the native SQL statements in Ujorm views.


WARNING

public static final CheckReport WARNING
Log a WARNING with the conflict message.


EXCEPTION

public static final CheckReport EXCEPTION
Throw an EXCEPTION with the conflict message. This is the default option.

Method Detail

values

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

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

valueOf

public static CheckReport 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


Copyright 2013, Pavel Ponec