org.jclouds.vcloud.director.v1_5.domain
Enum Role.DefaultRoles

java.lang.Object
  extended by java.lang.Enum<Role.DefaultRoles>
      extended by org.jclouds.vcloud.director.v1_5.domain.Role.DefaultRoles
All Implemented Interfaces:
Serializable, Comparable<Role.DefaultRoles>
Enclosing class:
Role

public static enum Role.DefaultRoles
extends Enum<Role.DefaultRoles>


Enum Constant Summary
AUTHOR
           
CATALOG_AUTHOR
           
CONSOLE
           
ORG_ADMIN
           
USER
           
 
Field Summary
static List<Role.DefaultRoles> ALL
           
protected static Map<String,Role.DefaultRoles> DEFAULT_ROLES_BY_ID
           
protected  String stringValue
           
 
Method Summary
static Role.DefaultRoles fromValue(String value)
           
 String value()
           
static Role.DefaultRoles valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Role.DefaultRoles[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

USER

public static final Role.DefaultRoles USER

AUTHOR

public static final Role.DefaultRoles AUTHOR

CATALOG_AUTHOR

public static final Role.DefaultRoles CATALOG_AUTHOR

CONSOLE

public static final Role.DefaultRoles CONSOLE

ORG_ADMIN

public static final Role.DefaultRoles ORG_ADMIN
Field Detail

ALL

public static final List<Role.DefaultRoles> ALL

stringValue

protected final String stringValue

DEFAULT_ROLES_BY_ID

protected static final Map<String,Role.DefaultRoles> DEFAULT_ROLES_BY_ID
Method Detail

values

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

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

valueOf

public static Role.DefaultRoles 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

value

public String value()

fromValue

public static Role.DefaultRoles fromValue(String value)


Copyright © 2009-2012 jclouds. All Rights Reserved.