public enum SortStyle extends Enum<SortStyle>
Modifier and Type | Method and Description |
---|---|
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.
|
public static final SortStyle SEVERITY
public static final SortStyle LASTEVENTTIME
public static final SortStyle FIRSTEVENTTIME
public static final SortStyle NODE
public static final SortStyle INTERFACE
public static final SortStyle SERVICE
public static final SortStyle POLLER
public static final SortStyle ID
public static final SortStyle COUNT
public static final SortStyle ACKUSER
public static final SortStyle LOCATION
public static final SortStyle NODE_LOCATION
public static final SortStyle SITUATION
public static final SortStyle REVERSE_SEVERITY
public static final SortStyle REVERSE_LASTEVENTTIME
public static final SortStyle REVERSE_FIRSTEVENTTIME
public static final SortStyle REVERSE_NODE
public static final SortStyle REVERSE_INTERFACE
public static final SortStyle REVERSE_SERVICE
public static final SortStyle REVERSE_POLLER
public static final SortStyle REVERSE_ID
public static final SortStyle REVERSE_COUNT
public static final SortStyle REVERSE_ACKUSER
public static final SortStyle REVERSE_LOCATION
public static final SortStyle REVERSE_NODE_LOCATION
public static final SortStyle REVERSE_SITUATION
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 nameNullPointerException
- if the argument is nullpublic String toString()
toString
Copyright © 2021. All rights reserved.