Style Intelligence v12.0

inetsoft.sree.schedule
Class ScheduleAlert

java.lang.Object
  extended by inetsoft.sree.schedule.ScheduleAlert
All Implemented Interfaces:
inetsoft.util.XMLSerializable, Serializable, Cloneable, Comparable

public final class ScheduleAlert
extends Object
implements Comparable, Serializable, inetsoft.util.XMLSerializable, Cloneable

Class that encapsulates the element and highlight used to define an alert condition.

Since:
12.0
See Also:
Serialized Form

Constructor Summary
ScheduleAlert()
           
 
Method Summary
protected  Object clone()
           
 int compareTo(ScheduleAlert o)
           
 boolean equals(Object o)
           
 String getElementId()
          Gets the identifier of the element that contains the highlight.
 String getHighlightName()
          Gets the name of the highlight that provides the alert condition.
 int hashCode()
           
 void parseXML(Element tag)
           
 void setElementId(String elementId)
          Sets the identifier of the element that contains the highlight.
 void setHighlightName(String highlightName)
          Sets the name of the highlight that provides the alert condition.
 String toString()
           
 void writeXML(PrintWriter writer)
           
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ScheduleAlert

public ScheduleAlert()
Method Detail

getElementId

public String getElementId()
Gets the identifier of the element that contains the highlight.

Returns:
the element identifier.

setElementId

public void setElementId(String elementId)
Sets the identifier of the element that contains the highlight.

Parameters:
elementId - the element identifier.

getHighlightName

public String getHighlightName()
Gets the name of the highlight that provides the alert condition.

Returns:
the highlight name.

setHighlightName

public void setHighlightName(String highlightName)
Sets the name of the highlight that provides the alert condition.

Parameters:
highlightName - the highlight name.

writeXML

public void writeXML(PrintWriter writer)
Specified by:
writeXML in interface inetsoft.util.XMLSerializable

parseXML

public void parseXML(Element tag)
              throws Exception
Specified by:
parseXML in interface inetsoft.util.XMLSerializable
Throws:
Exception

compareTo

public int compareTo(ScheduleAlert o)
Specified by:
compareTo in interface Comparable

clone

protected Object clone()
Overrides:
clone in class Object

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object

Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved.