|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<SecurityStatus>
com.sap.sl.sdk.authoring.security.SecurityStatus
public enum SecurityStatus
A representation of the literals of the enumeration 'Status', and utility methods to work with them.
Enum Constant Summary | |
---|---|
DENIED
The 'Denied' literal object. |
|
GRANTED
The 'Granted' literal object. |
|
UNSET
The 'Unset' literal object. |
Field Summary | |
---|---|
static int |
DENIED_VALUE
The 'Denied' literal value. |
static int |
GRANTED_VALUE
The 'Granted' literal value. |
static int |
UNSET_VALUE
The 'Unset' literal value. |
static java.util.List<SecurityStatus> |
VALUES
A public read-only list of all the 'Status' enumerators. |
Method Summary | |
---|---|
static SecurityStatus |
get(int value)
Returns the 'Status' literal with the specified integer value. |
static SecurityStatus |
get(java.lang.String literal)
Returns the 'Status' literal with the specified literal value. |
static SecurityStatus |
getByName(java.lang.String name)
Returns the 'Status' 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 SecurityStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static SecurityStatus[] |
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 SecurityStatus UNSET
This status defines that all elements are removed from a business security profile setting.
UNSET_VALUE
public static final SecurityStatus DENIED
This status defines that all elements are denied in a business security profile setting.
DENIED_VALUE
public static final SecurityStatus GRANTED
This status defines that all elements are granted in a business security profile setting.
GRANTED_VALUE
Field Detail |
---|
public static final int UNSET_VALUE
UNSET
,
Constant Field Valuespublic static final int DENIED_VALUE
DENIED
,
Constant Field Valuespublic static final int GRANTED_VALUE
GRANTED
,
Constant Field Valuespublic static final java.util.List<SecurityStatus> VALUES
Method Detail |
---|
public static SecurityStatus[] values()
for (SecurityStatus c : SecurityStatus.values()) System.out.println(c);
public static SecurityStatus 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 SecurityStatus get(java.lang.String literal)
literal
- A String that represents the security status
SecurityStatus
object
public static SecurityStatus getByName(java.lang.String name)
name
- The name of the security status
SecurityStatus
object
public static SecurityStatus get(int value)
value
- The literal integer value
SecurityStatus
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<SecurityStatus>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |