org.opennms.features.poller.remote.gwt.client
Class GWTServiceOutage

java.lang.Object
  extended by org.opennms.features.poller.remote.gwt.client.GWTServiceOutage
All Implemented Interfaces:
com.google.gwt.user.client.rpc.IsSerializable, Serializable, Comparable<GWTServiceOutage>

public class GWTServiceOutage
extends Object
implements Serializable, com.google.gwt.user.client.rpc.IsSerializable, Comparable<GWTServiceOutage>

See Also:
Serialized Form

Constructor Summary
GWTServiceOutage()
          Constructor for GWTServiceOutage.
GWTServiceOutage(GWTLocationMonitor monitor, GWTMonitoredService service)
          Constructor for GWTServiceOutage.
 
Method Summary
 int compareTo(GWTServiceOutage that)
          compareTo
 boolean equals(Object o)
          
 Date getFrom()
          getFrom
 GWTLocationMonitor getMonitor()
          getMonitor
 GWTMonitoredService getService()
          getService
 Date getTo()
          getTo
 int hashCode()
          hashCode
 void setFrom(Date from)
          setFrom
 void setMonitor(GWTLocationMonitor monitor)
          setMonitor
 void setService(GWTMonitoredService service)
          setService
 void setTo(Date to)
          setTo
 String toString()
          toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GWTServiceOutage

public GWTServiceOutage()

Constructor for GWTServiceOutage.


GWTServiceOutage

public GWTServiceOutage(GWTLocationMonitor monitor,
                        GWTMonitoredService service)

Constructor for GWTServiceOutage.

Parameters:
monitor - a GWTLocationMonitor object.
service - a GWTMonitoredService object.
Method Detail

getFrom

public Date getFrom()

getFrom

Returns:
a Date object.

setFrom

public void setFrom(Date from)

setFrom

Parameters:
from - a Date object.

getTo

public Date getTo()

getTo

Returns:
a Date object.

setTo

public void setTo(Date to)

setTo

Parameters:
to - a Date object.

getMonitor

public GWTLocationMonitor getMonitor()

getMonitor

Returns:
a GWTLocationMonitor object.

setMonitor

public void setMonitor(GWTLocationMonitor monitor)

setMonitor

Parameters:
monitor - a GWTLocationMonitor object.

getService

public GWTMonitoredService getService()

getService

Returns:
a GWTMonitoredService object.

setService

public void setService(GWTMonitoredService service)

setService

Parameters:
service - a GWTMonitoredService object.

equals

public boolean equals(Object o)

Overrides:
equals in class Object

hashCode

public int hashCode()

hashCode

Overrides:
hashCode in class Object
Returns:
a int.

toString

public String toString()

toString

Overrides:
toString in class Object
Returns:
a String object.

compareTo

public int compareTo(GWTServiceOutage that)

compareTo

Specified by:
compareTo in interface Comparable<GWTServiceOutage>
Parameters:
that - a GWTServiceOutage object.
Returns:
a int.


Copyright © 2011. All Rights Reserved.