org.plasma.provisioning.rdb.mysql.v5_5
Enum TableColumn.PROPERTY

java.lang.Object
  extended by java.lang.Enum<TableColumn.PROPERTY>
      extended by org.plasma.provisioning.rdb.mysql.v5_5.TableColumn.PROPERTY
All Implemented Interfaces:
Serializable, Comparable<TableColumn.PROPERTY>
Enclosing interface:
TableColumn

public static enum TableColumn.PROPERTY
extends Enum<TableColumn.PROPERTY>

The declared logical property names for this Type.


Enum Constant Summary
characterSetName
          Name of the character set: CHAR_CS or NCHAR_CS
charMaxLength
          Length of the column (in bytes)
columnComment
          Represents the logical Property columnComment which is part of the Type TableColumn.
columnKey
          Default value for the column
columnName
          Column name
columnType
          Represents the logical Property columnType which is part of the Type TableColumn.
dataPrecision
          Decimal precision (total number of digits) for NUMBER datatype; binary precision for FLOAT datatype, null for all other datatypes.
dataScale
          Digits to right of decimal point in a number
dataType
          Datatype of the column
nullable
          Specifies whether a column allows NULLs.
octetMaxLength
          Length of the column (in bytes)
owner
          Owner of the table, view, or cluster
table
          Represents the logical Property table which is part of the Type TableColumn.
 
Method Summary
static TableColumn.PROPERTY valueOf(String name)
          Returns the enum constant of this type with the specified name.
static TableColumn.PROPERTY[] 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

columnName

public static final TableColumn.PROPERTY columnName
Column name

Represents the logical Property columnName which is part of the Type TableColumn.

Data Store Mapping: Corresponds to the physical data store element COLUMNS.COLUMN_NAME.


dataType

public static final TableColumn.PROPERTY dataType
Datatype of the column

Represents the logical Property dataType which is part of the Type TableColumn.

Data Store Mapping: Corresponds to the physical data store element COLUMNS.DATA_TYPE.


nullable

public static final TableColumn.PROPERTY nullable
Specifies whether a column allows NULLs. Value is N if there is a NOT NULL constraint on the column or if the column is part of a PRIMARY KEY. The constraint should be in an ENABLE VALIDATE state.

Represents the logical Property nullable which is part of the Type TableColumn.

Data Store Mapping: Corresponds to the physical data store element COLUMNS.IS_NULLABLE.


charMaxLength

public static final TableColumn.PROPERTY charMaxLength
Length of the column (in bytes)

Represents the logical Property charMaxLength which is part of the Type TableColumn.

Data Store Mapping: Corresponds to the physical data store element COLUMNS.CHARACTER_MAXIMUM_LENGTH.


dataPrecision

public static final TableColumn.PROPERTY dataPrecision
Decimal precision (total number of digits) for NUMBER datatype; binary precision for FLOAT datatype, null for all other datatypes.

Represents the logical Property dataPrecision which is part of the Type TableColumn.

Data Store Mapping: Corresponds to the physical data store element COLUMNS.NUMERIC_PRECISION.


dataScale

public static final TableColumn.PROPERTY dataScale
Digits to right of decimal point in a number

Represents the logical Property dataScale which is part of the Type TableColumn.

Data Store Mapping: Corresponds to the physical data store element COLUMNS.NUMERIC_SCALE.


columnKey

public static final TableColumn.PROPERTY columnKey
Default value for the column

Represents the logical Property columnKey which is part of the Type TableColumn.

Data Store Mapping: Corresponds to the physical data store element COLUMNS.COLUMN_KEY.


characterSetName

public static final TableColumn.PROPERTY characterSetName
Name of the character set: CHAR_CS or NCHAR_CS

Represents the logical Property characterSetName which is part of the Type TableColumn.

Data Store Mapping: Corresponds to the physical data store element COLUMNS.CHARACTER_SET_NAME.


owner

public static final TableColumn.PROPERTY owner
Owner of the table, view, or cluster

Represents the logical Property owner which is part of the Type TableColumn.

Data Store Mapping: Corresponds to the physical data store element COLUMNS.TABLE_SCHEMA.


columnComment

public static final TableColumn.PROPERTY columnComment
Represents the logical Property columnComment which is part of the Type TableColumn.

Data Store Mapping: Corresponds to the physical data store element COLUMNS.COLUMN_COMMENT.


table

public static final TableColumn.PROPERTY table
Represents the logical Property table which is part of the Type TableColumn.

Data Store Mapping: Corresponds to the physical data store element COLUMNS.TABLE_NAME.


columnType

public static final TableColumn.PROPERTY columnType
Represents the logical Property columnType which is part of the Type TableColumn.

Data Store Mapping: Corresponds to the physical data store element COLUMNS.COLUMN_TYPE.


octetMaxLength

public static final TableColumn.PROPERTY octetMaxLength
Length of the column (in bytes)

Represents the logical Property octetMaxLength which is part of the Type TableColumn.

Data Store Mapping: Corresponds to the physical data store element COLUMNS.CHARACTER_OCTET_LENGTH.

Method Detail

values

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

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

valueOf

public static TableColumn.PROPERTY 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. All rights reserved.