org.xcmis.client.gwt.model.restatom
Enum EnumReturnVersion

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

public enum EnumReturnVersion
extends Enum<EnumReturnVersion>

Version:
$Id:
Author:

Enum Constant Summary
LATEST
          Latest.
LATESTMAJOR
          Latest major.
THIS
          This.
 
Method Summary
static EnumReturnVersion fromValue(String v)
           
 String value()
           
static EnumReturnVersion valueOf(String name)
          Returns the enum constant of this type with the specified name.
static EnumReturnVersion[] 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

THIS

public static final EnumReturnVersion THIS
This.


LATEST

public static final EnumReturnVersion LATEST
Latest.


LATESTMAJOR

public static final EnumReturnVersion LATESTMAJOR
Latest major.

Method Detail

values

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

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

valueOf

public static EnumReturnVersion 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 EnumReturnVersion fromValue(String v)
Parameters:
v - value
Returns:
EnumReturnVersion


Copyright © 2010 eXo Platform SAS. All Rights Reserved.