com.jalios.jcms.tracking
Enum ReaderTrackerEntry.Sort
java.lang.Object
java.lang.Enum<ReaderTrackerEntry.Sort>
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>
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
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.