org.xcmis.client.gwt.model
Enum EnumUpdatability

java.lang.Object
  extended by java.lang.Enum<EnumUpdatability>
      extended by org.xcmis.client.gwt.model.EnumUpdatability
All Implemented Interfaces:
Serializable, Comparable<EnumUpdatability>

public enum EnumUpdatability
extends Enum<EnumUpdatability>

Version:
$Id:
Author:

Enum Constant Summary
ONCREATE
          On create.
READONLY
          Read only.
READWRITE
          Read write.
WHENCHECKEDOUT
          When checked out.
 
Method Summary
static EnumUpdatability fromValue(String v)
           
 String value()
           
static EnumUpdatability valueOf(String name)
          Returns the enum constant of this type with the specified name.
static EnumUpdatability[] 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

READONLY

public static final EnumUpdatability READONLY
Read only.


READWRITE

public static final EnumUpdatability READWRITE
Read write.


WHENCHECKEDOUT

public static final EnumUpdatability WHENCHECKEDOUT
When checked out.


ONCREATE

public static final EnumUpdatability ONCREATE
On create.

Method Detail

values

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

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

valueOf

public static EnumUpdatability 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()
Returns:
String

fromValue

public static EnumUpdatability fromValue(String v)
Parameters:
v - value
Returns:
EnumUpdatability


Copyright © 2010 eXo Platform SAS. All Rights Reserved.