public enum TableState extends java.lang.Enum<TableState>
The state of a table represents the display state of a data foundation table in a view.
DataFoundationPackageImpl.getTableState()| Enum Constant and Description |
|---|
COLLAPSED
The 'COLLAPSED' literal object.
|
EXPANDED
The 'EXPANDED' literal object.
|
JOINS_ONLY
The 'JOINS ONLY' literal object.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
COLLAPSED_VALUE
The 'COLLAPSED' literal value.
|
static int |
EXPANDED_VALUE
The 'EXPANDED' literal value.
|
static int |
JOINS_ONLY_VALUE
The 'JOINS ONLY' literal value.
|
static java.util.List<TableState> |
VALUES
A public read-only list of all the 'Table State' enumerators.
|
| Modifier and Type | Method and Description |
|---|---|
static TableState |
get(int value)
Returns the 'Table State' literal with the specified integer value.
|
static TableState |
get(java.lang.String literal)
Returns the 'Table State' literal with the specified literal value.
|
static TableState |
getByName(java.lang.String name)
Returns the 'Table State' literal with the specified name.
|
java.lang.String |
getLiteral()
Returns the string representation of the enumerator.
|
java.lang.String |
getName()
Returns the literal name of the enumerator.
|
int |
getValue()
Returns the literal integer value of the enumerator.
|
java.lang.String |
toString()
Returns the literal value of the enumerator, which is its string representation.
|
static TableState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TableState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TableState EXPANDED
EXPANDED_VALUEpublic static final TableState JOINS_ONLY
JOINS_ONLY_VALUEpublic static final TableState COLLAPSED
COLLAPSED_VALUEpublic static final int EXPANDED_VALUE
The table header and all the columns are displayed in the data foundation view.
EXPANDED,
Constant Field Valuespublic static final int JOINS_ONLY_VALUE
Only table header and columns that are part of a join are displayed in the data foundation view.
JOINS_ONLY,
Constant Field Valuespublic static final int COLLAPSED_VALUE
Only the table header is displayed in the data foundation view.
COLLAPSED,
Constant Field Valuespublic static final java.util.List<TableState> VALUES
public static TableState[] values()
for (TableState c : TableState.values()) System.out.println(c);
public static TableState valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static TableState get(java.lang.String literal)
literal - The enumerator literal as a stringTableState object
public static TableState getByName(java.lang.String name)
name - The literal name of the enumeratorTableState object
public static TableState get(int value)
value - The literal integer value of the enumeratorTableState object
public int getValue()
public java.lang.String getName()
public java.lang.String getLiteral()
public java.lang.String toString()
toString in class java.lang.Enum<TableState>