Package com.ads.mm.db.dao
Enum Class DBTable.TableType
- All Implemented Interfaces:
Serializable,Comparable<DBTable.TableType>,Constable
- Enclosing class:
- DBTable
These Constants are used to specify the TableType as Table, View,
Synonym or Component.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionComponent is name given to ETL program unit.Synonym is alternate name given to table, view, sequence or program unit.Table is a unit of data storage, which holds all user accessible data.View is a logical representation of another table or combination of tables. -
Method Summary
Modifier and TypeMethodDescriptionstatic DBTable.TableTypegetTableType(String value) toString()static DBTable.TableTypeReturns the enum constant of this class with the specified name.static DBTable.TableType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
TABLE
Table is a unit of data storage, which holds all user accessible data.
TABLE TableType is used to refer, when the node we access is a Table. -
VIEW
View is a logical representation of another table or combination of tables.
VIEW TableType is used to refer, when the node we access is a VIEW. -
SYNONYM
Synonym is alternate name given to table, view, sequence or program unit.
SYNONYM TableType is used to refer, when the node we access is a SYNONYM. -
COMPONENT
Component is name given to ETL program unit.
COMPONENT TableType is used to refer, when the node we access is a COMPONENT.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
toString
- Overrides:
toStringin classEnum<DBTable.TableType>
-
getActualName
- Returns:
-
getTableType
-