public enum ItemState extends java.lang.Enum<ItemState>
This is the state of a business layer item in the Query Panel. See the Information Design Tool User Guide for more information.
BusinessLayerPackageImpl.getItemState()| Enum Constant and Description |
|---|
ACTIVE
The 'ACTIVE' literal object.
|
DEPRECATED
The 'DEPRECATED' literal object.
|
HIDDEN
The 'HIDDEN' literal object.
|
| Modifier and Type | Field and Description |
|---|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
public static final ItemState ACTIVE
Object is visible in the Query Panel. This is the default state.
ACTIVE_VALUEpublic static final ItemState HIDDEN
Object is valid but not available in the Query Panel (used by other objects as a hidden object).
HIDDEN_VALUEpublic static final ItemState DEPRECATED
Object is hidden and not valid.
DEPRECATED_VALUEpublic 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
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 namejava.lang.NullPointerException - if the argument is nullpublic static ItemState get(java.lang.String literal)
literal - The enumerator literal as a stringItemState object
public static ItemState getByName(java.lang.String name)
name - The literal name of the enumeratorItemState object
public static ItemState get(int value)
value - The literal integer value of the enumeratorItemState 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>