|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<ItemState>
com.sap.sl.sdk.authoring.businesslayer.ItemState
public enum ItemState
A representation of the literals of the 'Item State' enumeration and methods to use them.
This is the state of a business layer item in the Query Panel. See the Information Design Tool User Guide for more information.
Enum Constant Summary | |
---|---|
ACTIVE
The 'ACTIVE' literal object. |
|
DEPRECATED
The 'DEPRECATED' literal object. |
|
HIDDEN
The 'HIDDEN' literal object. |
Field Summary | |
---|---|
static int |
ACTIVE_VALUE
The 'ACTIVE' literal value. |
static int |
DEPRECATED_VALUE
The 'DEPRECATED' literal value. |
static int |
HIDDEN_VALUE
The 'HIDDEN' literal value. |
static java.util.List<ItemState> |
VALUES
A public read-only list of all the 'Item State' enumerators. |
Method Summary | |
---|---|
static ItemState |
get(int value)
Returns the 'Item State' literal with the specified integer value. |
static ItemState |
get(java.lang.String literal)
Returns the 'Item State' literal with the specified literal value. |
static ItemState |
getByName(java.lang.String name)
Returns the 'Item 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 ItemState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ItemState[] |
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 ItemState ACTIVE
Object is visible in the Query Panel. This is the default state.
ACTIVE_VALUE
public static final ItemState HIDDEN
Object is valid but not available in the Query Panel (used by other objects as a hidden object).
HIDDEN_VALUE
public static final ItemState DEPRECATED
Object is hidden and not valid.
DEPRECATED_VALUE
Field Detail |
---|
public static final int ACTIVE_VALUE
ACTIVE
,
Constant Field Valuespublic static final int HIDDEN_VALUE
HIDDEN
,
Constant Field Valuespublic static final int DEPRECATED_VALUE
DEPRECATED
,
Constant Field Valuespublic static final java.util.List<ItemState> VALUES
Method Detail |
---|
public static ItemState[] values()
for (ItemState c : ItemState.values()) System.out.println(c);
public static ItemState 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 ItemState get(java.lang.String literal)
literal
- The enumerator literal as a string
ItemState
object
public static ItemState getByName(java.lang.String name)
name
- The literal name of the enumerator
ItemState
object
public static ItemState get(int value)
value
- The literal integer value of the enumerator
ItemState
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<ItemState>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |