|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<TableState>
com.sap.sl.sdk.authoring.datafoundation.TableState
public enum TableState
A representation of the literals of the enumeration 'Table State', and utility methods to work with them.
The state of a table represents the display state of a data foundation table in a view.
Enum Constant Summary | |
---|---|
COLLAPSED
The 'COLLAPSED' literal object. |
|
EXPANDED
The 'EXPANDED' literal object. |
|
JOINS_ONLY
The 'JOINS ONLY' literal object. |
Field Summary | |
---|---|
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. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final TableState EXPANDED
EXPANDED_VALUE
public static final TableState JOINS_ONLY
JOINS_ONLY_VALUE
public static final TableState COLLAPSED
COLLAPSED_VALUE
Field Detail |
---|
public 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
Method Detail |
---|
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 name
java.lang.NullPointerException
- if the argument is nullpublic static TableState get(java.lang.String literal)
literal
- The enumerator literal as a string
TableState
object
public static TableState getByName(java.lang.String name)
name
- The literal name of the enumerator
TableState
object
public static TableState get(int value)
value
- The literal integer value of the enumerator
TableState
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>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |