com.sap.sl.sdk.authoring.datafoundation
Enum TableState

java.lang.Object
  extended by java.lang.Enum<TableState>
      extended by com.sap.sl.sdk.authoring.datafoundation.TableState
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<TableState>

public enum TableState
extends java.lang.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

EXPANDED

public static final TableState EXPANDED
The 'EXPANDED' literal object.

See Also:
EXPANDED_VALUE

JOINS_ONLY

public static final TableState JOINS_ONLY
The 'JOINS ONLY' literal object.

See Also:
JOINS_ONLY_VALUE

COLLAPSED

public static final TableState COLLAPSED
The 'COLLAPSED' literal object.

See Also:
COLLAPSED_VALUE
Field Detail

EXPANDED_VALUE

public static final int EXPANDED_VALUE
The 'EXPANDED' literal value.

The table header and all the columns are displayed in the data foundation view.

See Also:
EXPANDED, Constant Field Values

JOINS_ONLY_VALUE

public static final int JOINS_ONLY_VALUE
The 'JOINS ONLY' literal value.

Only table header and columns that are part of a join are displayed in the data foundation view.

See Also:
JOINS_ONLY, Constant Field Values

COLLAPSED_VALUE

public static final int COLLAPSED_VALUE
The 'COLLAPSED' literal value.

Only the table header is displayed in the data foundation view.

See Also:
COLLAPSED, Constant Field Values

VALUES

public static final java.util.List<TableState> VALUES
A public read-only list of all the 'Table State' enumerators.

Method Detail

values

public static TableState[] 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 (TableState c : TableState.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static TableState valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

get

public static TableState get(java.lang.String literal)
Returns the 'Table State' literal with the specified literal value.

Parameters:
literal - The enumerator literal as a string
Returns:
A TableState object

getByName

public static TableState getByName(java.lang.String name)
Returns the 'Table State' literal with the specified name.

Parameters:
name - The literal name of the enumerator
Returns:
A TableState object

get

public static TableState get(int value)
Returns the 'Table State' literal with the specified integer value.

Parameters:
value - The literal integer value of the enumerator
Returns:
A TableState object

getValue

public int getValue()
Returns the literal integer value of the enumerator.

Returns:
An integer that represents the literal

getName

public java.lang.String getName()
Returns the literal name of the enumerator.

Returns:
A String that represents the literal name

getLiteral

public java.lang.String getLiteral()
Returns the string representation of the enumerator.

Returns:
A String that represents the enumerator

toString

public java.lang.String toString()
Returns the literal value of the enumerator, which is its string representation.

Overrides:
toString in class java.lang.Enum<TableState>
Returns:
A String that represents the literal


© Copyright 2016 SAP SE or an SAP affiliate company. All rights reserved.