com.sap.sl.sdk.authoring.security
Enum SecurityStatus

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

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

UNSET

public static final SecurityStatus UNSET
The 'Unset' literal object.

This status defines that all elements are removed from a business security profile setting.

See Also:
UNSET_VALUE

DENIED

public static final SecurityStatus DENIED
The 'Denied' literal object.

This status defines that all elements are denied in a business security profile setting.

See Also:
DENIED_VALUE

GRANTED

public static final SecurityStatus GRANTED
The 'Granted' literal object.

This status defines that all elements are granted in a business security profile setting.

See Also:
GRANTED_VALUE
Field Detail

UNSET_VALUE

public static final int UNSET_VALUE
The 'Unset' literal value.

See Also:
UNSET, Constant Field Values

DENIED_VALUE

public static final int DENIED_VALUE
The 'Denied' literal value.

See Also:
DENIED, Constant Field Values

GRANTED_VALUE

public static final int GRANTED_VALUE
The 'Granted' literal value.

See Also:
GRANTED, Constant Field Values

VALUES

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

Method Detail

values

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

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

valueOf

public static SecurityStatus 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 SecurityStatus get(java.lang.String literal)
Returns the 'Status' literal with the specified literal value.

Parameters:
literal - A String that represents the security status
Returns:
A SecurityStatus object

getByName

public static SecurityStatus getByName(java.lang.String name)
Returns the 'Status' literal with the specified name.

Parameters:
name - The name of the security status
Returns:
A SecurityStatus object

get

public static SecurityStatus get(int value)
Returns the 'Status' literal with the specified integer value.

Parameters:
value - The literal integer value
Returns:
A SecurityStatus object

getValue

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

Returns:
An integer that represents the literal value

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<SecurityStatus>
Returns:
A String that represents the literal


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