org.opennms.web.alarm
Class AlarmFactory.SortStyle

java.lang.Object
  extended by org.opennms.web.alarm.AlarmFactory.SortStyle
Enclosing class:
AlarmFactory

public static class AlarmFactory.SortStyle
extends java.lang.Object

Convenience class to determine sort style of a query.


Field Summary
static int _COUNT
           
static int _FIRSTEVENTTIME
           
static int _ID
           
static int _INTERFACE
           
static int _LASTEVENTTIME
           
static int _NODE
           
static int _POLLER
           
static int _REVERSE_COUNT
           
static int _REVERSE_FIRSTEVENTTIME
           
static int _REVERSE_ID
           
static int _REVERSE_INTERFACE
           
static int _REVERSE_LASTEVENTTIME
           
static int _REVERSE_NODE
           
static int _REVERSE_POLLER
           
static int _REVERSE_SERVICE
           
static int _REVERSE_SEVERITY
           
static int _SERVICE
           
static int _SEVERITY
           
static AlarmFactory.SortStyle COUNT
           
static AlarmFactory.SortStyle FIRSTEVENTTIME
           
protected  int id
           
static AlarmFactory.SortStyle ID
           
static AlarmFactory.SortStyle INTERFACE
           
static AlarmFactory.SortStyle LASTEVENTTIME
           
protected  java.lang.String name
           
static AlarmFactory.SortStyle NODE
           
static AlarmFactory.SortStyle POLLER
           
static AlarmFactory.SortStyle REVERSE_COUNT
           
static AlarmFactory.SortStyle REVERSE_FIRSTEVENTTIME
           
static AlarmFactory.SortStyle REVERSE_ID
           
static AlarmFactory.SortStyle REVERSE_INTERFACE
           
static AlarmFactory.SortStyle REVERSE_LASTEVENTTIME
           
static AlarmFactory.SortStyle REVERSE_NODE
           
static AlarmFactory.SortStyle REVERSE_POLLER
           
static AlarmFactory.SortStyle REVERSE_SERVICE
           
static AlarmFactory.SortStyle REVERSE_SEVERITY
           
static AlarmFactory.SortStyle SERVICE
           
static AlarmFactory.SortStyle SEVERITY
           
 
Method Summary
 int getId()
           
 java.lang.String getName()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_SEVERITY

public static final int _SEVERITY
See Also:
Constant Field Values

_LASTEVENTTIME

public static final int _LASTEVENTTIME
See Also:
Constant Field Values

_FIRSTEVENTTIME

public static final int _FIRSTEVENTTIME
See Also:
Constant Field Values

_NODE

public static final int _NODE
See Also:
Constant Field Values

_INTERFACE

public static final int _INTERFACE
See Also:
Constant Field Values

_SERVICE

public static final int _SERVICE
See Also:
Constant Field Values

_POLLER

public static final int _POLLER
See Also:
Constant Field Values

_ID

public static final int _ID
See Also:
Constant Field Values

_COUNT

public static final int _COUNT
See Also:
Constant Field Values

SEVERITY

public static final AlarmFactory.SortStyle SEVERITY

LASTEVENTTIME

public static final AlarmFactory.SortStyle LASTEVENTTIME

FIRSTEVENTTIME

public static final AlarmFactory.SortStyle FIRSTEVENTTIME

NODE

public static final AlarmFactory.SortStyle NODE

INTERFACE

public static final AlarmFactory.SortStyle INTERFACE

SERVICE

public static final AlarmFactory.SortStyle SERVICE

POLLER

public static final AlarmFactory.SortStyle POLLER

ID

public static final AlarmFactory.SortStyle ID

COUNT

public static final AlarmFactory.SortStyle COUNT

_REVERSE_SEVERITY

public static final int _REVERSE_SEVERITY
See Also:
Constant Field Values

_REVERSE_LASTEVENTTIME

public static final int _REVERSE_LASTEVENTTIME
See Also:
Constant Field Values

_REVERSE_FIRSTEVENTTIME

public static final int _REVERSE_FIRSTEVENTTIME
See Also:
Constant Field Values

_REVERSE_NODE

public static final int _REVERSE_NODE
See Also:
Constant Field Values

_REVERSE_INTERFACE

public static final int _REVERSE_INTERFACE
See Also:
Constant Field Values

_REVERSE_SERVICE

public static final int _REVERSE_SERVICE
See Also:
Constant Field Values

_REVERSE_POLLER

public static final int _REVERSE_POLLER
See Also:
Constant Field Values

_REVERSE_ID

public static final int _REVERSE_ID
See Also:
Constant Field Values

_REVERSE_COUNT

public static final int _REVERSE_COUNT
See Also:
Constant Field Values

REVERSE_SEVERITY

public static final AlarmFactory.SortStyle REVERSE_SEVERITY

REVERSE_LASTEVENTTIME

public static final AlarmFactory.SortStyle REVERSE_LASTEVENTTIME

REVERSE_FIRSTEVENTTIME

public static final AlarmFactory.SortStyle REVERSE_FIRSTEVENTTIME

REVERSE_NODE

public static final AlarmFactory.SortStyle REVERSE_NODE

REVERSE_INTERFACE

public static final AlarmFactory.SortStyle REVERSE_INTERFACE

REVERSE_SERVICE

public static final AlarmFactory.SortStyle REVERSE_SERVICE

REVERSE_POLLER

public static final AlarmFactory.SortStyle REVERSE_POLLER

REVERSE_ID

public static final AlarmFactory.SortStyle REVERSE_ID

REVERSE_COUNT

public static final AlarmFactory.SortStyle REVERSE_COUNT

name

protected java.lang.String name

id

protected int id
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getName

public java.lang.String getName()

getId

public int getId()


Copyright © 2007. All Rights Reserved.