com.jalios.jcms.tracking
Enum ReaderTrackerEntry.Sort

java.lang.Object
  extended by java.lang.Enum<ReaderTrackerEntry.Sort>
      extended by com.jalios.jcms.tracking.ReaderTrackerEntry.Sort
All Implemented Interfaces:
Serializable, Comparable<ReaderTrackerEntry.Sort>
Enclosing class:
ReaderTrackerEntry

public static enum ReaderTrackerEntry.Sort
extends Enum<ReaderTrackerEntry.Sort>


Enum Constant Summary
ACCESS_COUNT
           
FIRST_ACCESS_DATE
           
LAST_ACCESS_DATE
           
 
Method Summary
 boolean equalsIgnoreCase(String str)
           
static ReaderTrackerEntry.Sort getFromKey(String str)
           
 String getKey()
           
 int getValue()
           
static ReaderTrackerEntry.Sort valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ReaderTrackerEntry.Sort[] 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

LAST_ACCESS_DATE

public static final ReaderTrackerEntry.Sort LAST_ACCESS_DATE

FIRST_ACCESS_DATE

public static final ReaderTrackerEntry.Sort FIRST_ACCESS_DATE

ACCESS_COUNT

public static final ReaderTrackerEntry.Sort ACCESS_COUNT
Method Detail

values

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

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

valueOf

public static ReaderTrackerEntry.Sort 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

getKey

public String getKey()

getValue

public int getValue()

equalsIgnoreCase

public boolean equalsIgnoreCase(String str)

getFromKey

public static ReaderTrackerEntry.Sort getFromKey(String str)


Copyright © 2001-2010 Jalios SA. All Rights Reserved.