org.eaglei.datatools
Enum SortByProperties

java.lang.Object
  extended by java.lang.Enum<SortByProperties>
      extended by org.eaglei.datatools.SortByProperties
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<SortByProperties>

public enum SortByProperties
extends java.lang.Enum<SortByProperties>
implements java.io.Serializable

Author:
Daniela Bourges-Waldegg

Enum Constant Summary
date
           
label
           
status
           
type
           
 
Method Summary
 java.lang.String getColumnName()
           
static java.lang.String[] getColumnNames()
           
static SortByProperties getOrderBy(java.lang.String parameterName)
           
 java.lang.String getParameterName()
           
 java.lang.String getVariable()
           
 boolean isAScending()
           
 void setAscending(boolean ascending)
           
static SortByProperties valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static SortByProperties[] 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

label

public static final SortByProperties label

type

public static final SortByProperties type

date

public static final SortByProperties date

status

public static final SortByProperties status
Method Detail

values

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

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

valueOf

public static SortByProperties 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
java.lang.NullPointerException - if the argument is null

getVariable

public java.lang.String getVariable()

getColumnName

public java.lang.String getColumnName()

getParameterName

public java.lang.String getParameterName()

setAscending

public void setAscending(boolean ascending)

isAScending

public boolean isAScending()

getOrderBy

public static SortByProperties getOrderBy(java.lang.String parameterName)

getColumnNames

public static java.lang.String[] getColumnNames()


Copyright © 2009-2011 Eagle-I. All Rights Reserved.