org.ow2.dragon.api.to
Enum SortCriteria

java.lang.Object
  extended by java.lang.Enum<SortCriteria>
      extended by org.ow2.dragon.api.to.SortCriteria
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<SortCriteria>

public enum SortCriteria
extends java.lang.Enum<SortCriteria>

An enumeration of Dragon supported sort criteria, used to sort result of some Dragon service methods that return collection of entities (like getAll, search...)

Author:
ofabre - eBM Websourcing

Enum Constant Summary
AGREEMENT_NAME
           
ENDPOINT_NAME
           
EXEC_ENV_MAN_NAME
           
EXEC_ENV_NAME
           
FED_NAME
           
LINK_TYPE
           
PARTY_NAME
           
PERSON_LASTNAME
           
PERSON_NAME
           
POST_NAME
           
PROCESSOR_NAME
           
SERVICE_NAME
           
 
Method Summary
static SortCriteria valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static SortCriteria[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

PARTY_NAME

public static final SortCriteria PARTY_NAME

PERSON_LASTNAME

public static final SortCriteria PERSON_LASTNAME

SERVICE_NAME

public static final SortCriteria SERVICE_NAME

ENDPOINT_NAME

public static final SortCriteria ENDPOINT_NAME

PERSON_NAME

public static final SortCriteria PERSON_NAME

EXEC_ENV_MAN_NAME

public static final SortCriteria EXEC_ENV_MAN_NAME

PROCESSOR_NAME

public static final SortCriteria PROCESSOR_NAME

EXEC_ENV_NAME

public static final SortCriteria EXEC_ENV_NAME

FED_NAME

public static final SortCriteria FED_NAME

POST_NAME

public static final SortCriteria POST_NAME

LINK_TYPE

public static final SortCriteria LINK_TYPE

AGREEMENT_NAME

public static final SortCriteria AGREEMENT_NAME
Method Detail

values

public static final SortCriteria[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(SortCriteria c : SortCriteria.values())
        System.out.println(c);

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

valueOf

public static SortCriteria valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name


Copyright © 2008-2009 eBMWebsourcing. All Rights Reserved.