com.im.commons.db 5.9.2

com.im.commons.db.ddl
Enum DBDatabaseInfo.ColumnSizing

java.lang.Object
  extended by java.lang.Enum<DBDatabaseInfo.ColumnSizing>
      extended by com.im.commons.db.ddl.DBDatabaseInfo.ColumnSizing
All Implemented Interfaces:
Serializable, Comparable<DBDatabaseInfo.ColumnSizing>
Enclosing interface:
DBDatabaseInfo

public static enum DBDatabaseInfo.ColumnSizing
extends Enum<DBDatabaseInfo.ColumnSizing>

Definition of sizing characteristics of column length or scale.


Enum Constant Summary
ANY
          Length or scale can only be increased or decreased.
DOWNWARDS_ONLY
          Length or scale can only be decreased.
FIXED
          Length or scale can be set, but once set cannot be changed.
NONE
          Length or scale not valid for this type of column.
UPWARDS_ONLY
          Length or scale can only be increased.
 
Method Summary
static DBDatabaseInfo.ColumnSizing valueOf(String name)
          Returns the enum constant of this type with the specified name.
static DBDatabaseInfo.ColumnSizing[] 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

NONE

public static final DBDatabaseInfo.ColumnSizing NONE
Length or scale not valid for this type of column.


FIXED

public static final DBDatabaseInfo.ColumnSizing FIXED
Length or scale can be set, but once set cannot be changed.


UPWARDS_ONLY

public static final DBDatabaseInfo.ColumnSizing UPWARDS_ONLY
Length or scale can only be increased.


DOWNWARDS_ONLY

public static final DBDatabaseInfo.ColumnSizing DOWNWARDS_ONLY
Length or scale can only be decreased.


ANY

public static final DBDatabaseInfo.ColumnSizing ANY
Length or scale can only be increased or decreased.

Method Detail

values

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

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

valueOf

public static DBDatabaseInfo.ColumnSizing 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

com.im.commons.db 5.9.2