Project: stp

com.ibm.rational.wvcm.stp.cc
Enum CcAccessControlEntry.PrincipalKind

Object
  extended by Enum<CcAccessControlEntry.PrincipalKind>
      extended by CcAccessControlEntry.PrincipalKind
All Implemented Interfaces:
Serializable, Comparable<CcAccessControlEntry.PrincipalKind>
Enclosing interface:
CcAccessControlEntry

public static enum CcAccessControlEntry.PrincipalKind
extends Enum<CcAccessControlEntry.PrincipalKind>


Enum Constant Summary
EVERYONE
           
GROUP
           
NONE
           
OWNER_GROUP
           
OWNER_USER
           
ROLE
           
USER
           
 
Method Summary
 String toString()
           
static CcAccessControlEntry.PrincipalKind valueOf(String name)
          Returns the enum constant of this type with the specified name.
static CcAccessControlEntry.PrincipalKind[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

EVERYONE

public static final CcAccessControlEntry.PrincipalKind EVERYONE

GROUP

public static final CcAccessControlEntry.PrincipalKind GROUP

NONE

public static final CcAccessControlEntry.PrincipalKind NONE

OWNER_GROUP

public static final CcAccessControlEntry.PrincipalKind OWNER_GROUP

OWNER_USER

public static final CcAccessControlEntry.PrincipalKind OWNER_USER

ROLE

public static final CcAccessControlEntry.PrincipalKind ROLE

USER

public static final CcAccessControlEntry.PrincipalKind USER
Method Detail

toString

public String toString()
Overrides:
toString in class Enum<CcAccessControlEntry.PrincipalKind>

valueOf

public static CcAccessControlEntry.PrincipalKind valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

values

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

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

Generated Wed 13-Apr-2016 10:51 PM

Copyright © IBM 2016. All rights reserved.