Package cdc.rdb
Enum RdbElementKind
- java.lang.Object
-
- java.lang.Enum<RdbElementKind>
-
- cdc.rdb.RdbElementKind
-
- All Implemented Interfaces:
Serializable,Comparable<RdbElementKind>
public enum RdbElementKind extends Enum<RdbElementKind>
Enumeration of element kinds.Database Data Types Table Types Catalogs Schemas User Data Types Attributes Functions Function columns Procedures Procedure columns Tables Table Columns Primary Keys Primary Key Columns Foreign Keys Foreign Key Columns Indices Index columns- Author:
- Damien Carbonne
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ATTRIBUTECATALOGDATA_TYPEDATABASEFOREIGN_KEYFOREIGN_KEY_COLUMNFUNCTIONFUNCTION_COLUMNINDEXINDEX_COLUMNPRIMARY_KEYPRIMARY_KEY_COLUMNPROCEDUREPROCEDURE_COLUMNSCHEMATABLETABLE_COLUMNTABLE_TYPEUSER_DATA_TYPE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetDepth()RdbElementKindgetParent()static RdbElementKindvalueOf(String name)Returns the enum constant of this type with the specified name.static RdbElementKind[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DATABASE
public static final RdbElementKind DATABASE
-
CATALOG
public static final RdbElementKind CATALOG
-
SCHEMA
public static final RdbElementKind SCHEMA
-
DATA_TYPE
public static final RdbElementKind DATA_TYPE
-
USER_DATA_TYPE
public static final RdbElementKind USER_DATA_TYPE
-
ATTRIBUTE
public static final RdbElementKind ATTRIBUTE
-
FUNCTION
public static final RdbElementKind FUNCTION
-
FUNCTION_COLUMN
public static final RdbElementKind FUNCTION_COLUMN
-
PROCEDURE
public static final RdbElementKind PROCEDURE
-
PROCEDURE_COLUMN
public static final RdbElementKind PROCEDURE_COLUMN
-
TABLE_TYPE
public static final RdbElementKind TABLE_TYPE
-
TABLE
public static final RdbElementKind TABLE
-
TABLE_COLUMN
public static final RdbElementKind TABLE_COLUMN
-
PRIMARY_KEY
public static final RdbElementKind PRIMARY_KEY
-
PRIMARY_KEY_COLUMN
public static final RdbElementKind PRIMARY_KEY_COLUMN
-
FOREIGN_KEY
public static final RdbElementKind FOREIGN_KEY
-
FOREIGN_KEY_COLUMN
public static final RdbElementKind FOREIGN_KEY_COLUMN
-
INDEX
public static final RdbElementKind INDEX
-
INDEX_COLUMN
public static final RdbElementKind INDEX_COLUMN
-
-
Method Detail
-
values
public static RdbElementKind[] 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 (RdbElementKind c : RdbElementKind.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RdbElementKind 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 nameNullPointerException- if the argument is null
-
getParent
public RdbElementKind getParent()
-
getDepth
public int getDepth()
-
-