public class AlertInfoObject
extends java.lang.Object
| Modifier and Type | Field and Description | 
|---|---|
| private java.util.Date | clearedThe cleared. | 
| static java.lang.String | CLEAREDThe cleared. | 
| private java.util.Date | createdThe created. | 
| private java.lang.String | descriptionThe description. | 
| private org.apache.log4j.Logger | loggerThe logger. | 
| static java.lang.String | OPENThe open. | 
| private java.lang.String | sourceThe source. | 
| private java.lang.String | stateThe state. | 
| private java.lang.String | targetThe target. | 
| private java.util.UUID | uidThe uid. | 
| Constructor and Description | 
|---|
| AlertInfoObject()Instantiates a new alert info object. | 
| AlertInfoObject(java.util.HashMap<java.lang.String,java.lang.Object> rowMap)Instantiates a new alert info object. | 
| AlertInfoObject(java.lang.String source,
               java.lang.String target,
               java.lang.String description)Instantiates a new alert info object from options | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addToXmlDoc(org.dom4j.Element root)Adds the to xml doc. | 
| java.util.Date | getCleared()Gets the cleared. | 
| java.util.Date | getCreated()Gets the created. | 
| java.lang.String | getDescription()Gets the description. | 
| java.lang.String | getSource()Gets the source. | 
| java.lang.String | getState()Gets the state. | 
| java.lang.String | getTarget()Gets the target. | 
| java.lang.String | getUid()Gets the uid. | 
| void | insertIntoDb(DbHelper dbHelper)Insert into db. | 
| static void | main(java.lang.String[] args)The main method. | 
| void | setCleared(java.util.Date cleared)Sets the cleared. | 
| void | setCreated(java.util.Date created)Sets the created. | 
| void | setDescription(java.lang.String description)Sets the description. | 
| void | setSource(java.lang.String source)Sets the source. | 
| void | setState(java.lang.String status)Sets the state. | 
| void | setTarget(java.lang.String target)Sets the target. | 
| void | setUid(java.lang.String uidString)Sets the uid. | 
| java.lang.String | toString() | 
public static java.lang.String CLEARED
public static java.lang.String OPEN
private java.util.UUID uid
private java.lang.String source
private java.lang.String target
private java.lang.String description
private java.lang.String state
private java.util.Date created
private java.util.Date cleared
private org.apache.log4j.Logger logger
public AlertInfoObject()
public AlertInfoObject(java.lang.String source,
               java.lang.String target,
               java.lang.String description)
source - of the alert (user or process)target - for the alertdescription - the descriptionpublic AlertInfoObject(java.util.HashMap<java.lang.String,java.lang.Object> rowMap)
                throws java.text.ParseException,
                       java.lang.IllegalArgumentException
rowMap - the row mapjava.text.ParseException - the parse exceptionjava.lang.IllegalArgumentException - the illegal argument exceptionpublic void addToXmlDoc(org.dom4j.Element root)
root - the rootpublic void insertIntoDb(DbHelper dbHelper) throws java.lang.Exception
dbHelper - the db helperjava.lang.Exception - the exceptionpublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String getUid()
public void setUid(java.lang.String uidString)
uidString - the new uidpublic java.lang.String getSource()
public void setSource(java.lang.String source)
source - the source to setpublic java.lang.String getTarget()
public void setTarget(java.lang.String target)
target - the target to setpublic java.lang.String getDescription()
public void setDescription(java.lang.String description)
description - the description to setpublic java.lang.String getState()
public void setState(java.lang.String status)
status - the status to setpublic java.util.Date getCreated()
public void setCreated(java.util.Date created)
created - the created to setpublic java.util.Date getCleared()
public void setCleared(java.util.Date cleared)
cleared - the cleared to setpublic static void main(java.lang.String[] args)
args - the arguments