|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<PrincipalType>
com.sap.sl.sdk.authoring.security.PrincipalType
public enum PrincipalType
A representation of the literals of the enumeration 'Principal Type', and utility methods for working with them.
com.sap.sl.sdk.authoring.security.internal.emf.impl.SecurityPackageImpl#getPrincipalType()
Enum Constant Summary | |
---|---|
USER
The 'User' literal object. |
|
USER_GROUP
The 'User Group' literal object. |
Field Summary | |
---|---|
static int |
USER_GROUP_VALUE
The 'User Group' literal value. |
static int |
USER_VALUE
The 'User' literal value. |
static java.util.List<PrincipalType> |
VALUES
A public read-only list of all the 'Principal Type' enumerators. |
Method Summary | |
---|---|
static PrincipalType |
get(int value)
Returns the 'Principal Type' literal with the specified integer value. |
static PrincipalType |
get(java.lang.String literal)
Returns the 'Principal Type' literal with the specified literal value. |
static PrincipalType |
getByName(java.lang.String name)
Returns the 'Principal Type' literal with the specified name. |
java.lang.String |
getLiteral()
|
java.lang.String |
getName()
|
int |
getValue()
|
java.lang.String |
toString()
Returns the literal value of the enumerator, which is its string representation. |
static PrincipalType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static PrincipalType[] |
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 PrincipalType USER
USER_VALUE
public static final PrincipalType USER_GROUP
USER_GROUP_VALUE
Field Detail |
---|
public static final int USER_VALUE
If the meaning of 'User' literal object isn't clear, there really should be more of a description here...
USER
,
Constant Field Valuespublic static final int USER_GROUP_VALUE
If the meaning of 'User Group' literal object isn't clear, there really should be more of a description here...
USER_GROUP
,
Constant Field Valuespublic static final java.util.List<PrincipalType> VALUES
Method Detail |
---|
public static PrincipalType[] values()
for (PrincipalType c : PrincipalType.values()) System.out.println(c);
public static PrincipalType 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 PrincipalType get(java.lang.String literal)
public static PrincipalType getByName(java.lang.String name)
public static PrincipalType get(int value)
public int getValue()
public java.lang.String getName()
public java.lang.String getLiteral()
public java.lang.String toString()
toString
in class java.lang.Enum<PrincipalType>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |