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

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

public enum EnumUriTemplateType
extends Enum<EnumUriTemplateType>

Version:
$Id:
Author:

Enum Constant Summary
OBJECTBYID
          Object by id.
OBJECTBYPATH
          Object by path.
QUERY
          Query.
TYPEBYID
          Type by id.
 
Method Summary
static EnumUriTemplateType fromValue(String v)
           
 String value()
           
static EnumUriTemplateType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static EnumUriTemplateType[] 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

OBJECTBYID

public static final EnumUriTemplateType OBJECTBYID
Object by id.


OBJECTBYPATH

public static final EnumUriTemplateType OBJECTBYPATH
Object by path.


QUERY

public static final EnumUriTemplateType QUERY
Query.


TYPEBYID

public static final EnumUriTemplateType TYPEBYID
Type by id.

Method Detail

values

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

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

valueOf

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


Copyright © 2010 eXo Platform SAS. All Rights Reserved.