org.eobjects.metamodel.schema
Enum TableType
java.lang.Object
java.lang.Enum<TableType>
org.eobjects.metamodel.schema.TableType
- All Implemented Interfaces:
- Serializable, Comparable<TableType>
public enum TableType
- extends Enum<TableType>
Represents the various types of tables
TABLE
public static final TableType TABLE
VIEW
public static final TableType VIEW
SYSTEM_TABLE
public static final TableType SYSTEM_TABLE
GLOBAL_TEMPORARY
public static final TableType GLOBAL_TEMPORARY
LOCAL_TEMPORARY
public static final TableType LOCAL_TEMPORARY
ALIAS
public static final TableType ALIAS
SYNONYM
public static final TableType SYNONYM
OTHER
public static final TableType OTHER
DEFAULT_TABLE_TYPES
public static final TableType[] DEFAULT_TABLE_TYPES
values
public static TableType[] 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 (TableType c : TableType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static TableType 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
isMaterialized
public boolean isMaterialized()
getTableType
public static TableType getTableType(String literalType)
- Tries to resolve a TableType based on an incoming string/literal. If no
fitting TableType is found, OTHER will be returned.
Copyright © 2007-2013. All Rights Reserved.