|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<SortStyle>
org.opennms.web.outage.SortStyle
public enum SortStyle
SortStyle class.
| Enum Constant Summary | |
|---|---|
ID
|
|
IFLOSTSERVICE
|
|
IFREGAINEDSERVICE
|
|
INTERFACE
|
|
NODE
|
|
REVERSE_ID
|
|
REVERSE_IFLOSTSERVICE
|
|
REVERSE_IFREGAINEDSERVICE
|
|
REVERSE_INTERFACE
|
|
REVERSE_NODE
|
|
REVERSE_SERVICE
|
|
SERVICE
|
|
| Field Summary | |
|---|---|
static SortStyle |
DEFAULT_SORT_STYLE
Constant DEFAULT_SORT_STYLE |
| Method Summary | |
|---|---|
String |
getName()
getName |
protected String |
getOrderByClause()
Convenience method for getting the SQL ORDER BY clause related to a given sort style. |
String |
getShortName()
getShortName |
static SortStyle |
getSortStyle(String sortStyleString)
getSortStyle |
String |
toString()
toString |
static SortStyle |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static SortStyle[] |
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, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final SortStyle NODE
public static final SortStyle INTERFACE
public static final SortStyle SERVICE
public static final SortStyle IFLOSTSERVICE
public static final SortStyle IFREGAINEDSERVICE
public static final SortStyle ID
public static final SortStyle REVERSE_NODE
public static final SortStyle REVERSE_INTERFACE
public static final SortStyle REVERSE_SERVICE
public static final SortStyle REVERSE_IFLOSTSERVICE
public static final SortStyle REVERSE_IFREGAINEDSERVICE
public static final SortStyle REVERSE_ID
| Field Detail |
|---|
public static final SortStyle DEFAULT_SORT_STYLE
DEFAULT_SORT_STYLE
| Method Detail |
|---|
public static SortStyle[] values()
for (SortStyle c : SortStyle.values()) System.out.println(c);
public static SortStyle valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic String toString()
toString
toString in class Enum<SortStyle>String object.public String getName()
getName
String object.public String getShortName()
getShortName
String object.public static SortStyle getSortStyle(String sortStyleString)
getSortStyle
sortStyleString - a String object.
SortStyle object.protected String getOrderByClause()
String object.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||