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

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

public enum SecurityProfileType
extends java.lang.Enum<SecurityProfileType>

A representation of the literals of the enumeration 'Profile Type' and methods to use them.


Enum Constant Summary
BUSINESS_SECURITY_PROFILE
          The 'BUSINESS SECURITY PROFILE' literal object.
DATA_SECURITY_PROFILE
          The 'DATA SECURITY PROFILE' literal object.
 
Field Summary
static int BUSINESS_SECURITY_PROFILE_VALUE
          The 'BUSINESS SECURITY PROFILE' literal value.
static int DATA_SECURITY_PROFILE_VALUE
          The 'DATA SECURITY PROFILE' literal value.
static java.util.List<SecurityProfileType> VALUES
          A public read-only list of all the 'Profile Type' enumerators.
 
Method Summary
static SecurityProfileType get(int value)
          Returns the 'Profile Type' literal with the specified integer value.
static SecurityProfileType get(java.lang.String literal)
          Returns the 'Profile Type' literal with the specified literal value.
static SecurityProfileType getByName(java.lang.String name)
          Returns the 'Profile Type' 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 SecurityProfileType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static SecurityProfileType[] 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

DATA_SECURITY_PROFILE

public static final SecurityProfileType DATA_SECURITY_PROFILE
The 'DATA SECURITY PROFILE' literal object.

See Also:
DATA_SECURITY_PROFILE_VALUE

BUSINESS_SECURITY_PROFILE

public static final SecurityProfileType BUSINESS_SECURITY_PROFILE
The 'BUSINESS SECURITY PROFILE' literal object.

See Also:
BUSINESS_SECURITY_PROFILE_VALUE
Field Detail

DATA_SECURITY_PROFILE_VALUE

public static final int DATA_SECURITY_PROFILE_VALUE
The 'DATA SECURITY PROFILE' literal value.

See Also:
DATA_SECURITY_PROFILE, Constant Field Values

BUSINESS_SECURITY_PROFILE_VALUE

public static final int BUSINESS_SECURITY_PROFILE_VALUE
The 'BUSINESS SECURITY PROFILE' literal value.

See Also:
BUSINESS_SECURITY_PROFILE, Constant Field Values

VALUES

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

Method Detail

values

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

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

valueOf

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

Parameters:
literal - A String that represents the profile type
Returns:
A SecurityProfileType object

getByName

public static SecurityProfileType getByName(java.lang.String name)
Returns the 'Profile Type' literal with the specified name.

Parameters:
name - The name of the profile type
Returns:
A SecurityProfileType object

get

public static SecurityProfileType get(int value)
Returns the 'Profile Type' literal with the specified integer value.

Parameters:
value - The literal integer value
Returns:
A SecurityProfileType 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<SecurityProfileType>
Returns:
A String that represents the literal


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