|
xmlBlaster 2.2.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.EventObject org.xmlBlaster.contrib.dbwatcher.ChangeEvent
public final class ChangeEvent
Transports the change event information to the listeners.
Field Summary | |
---|---|
private java.util.Map |
attrMap
|
private java.lang.String |
groupColName
|
private java.lang.String |
groupColValue
|
private static long |
serialVersionUID
|
private java.lang.String |
xml
|
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
ChangeEvent(java.lang.Object source)
|
|
ChangeEvent(java.lang.String groupColName,
java.lang.String groupColValue,
java.lang.String xml,
java.lang.String command,
java.util.Map map)
Create the instance. |
Method Summary | |
---|---|
java.util.Map |
getAttributeMap()
Access properties. |
java.lang.String |
getCommand()
The command token which caused the event. |
java.lang.String |
getGroupColName()
The DB columns name. |
java.lang.String |
getGroupColValue()
The current DB column name's value. |
java.lang.String |
getXml()
The data to transfer. |
void |
setCommand(java.lang.String command)
|
void |
setXml(java.lang.String xml)
Sets the data to transfer. |
java.lang.String |
toString()
For informative logging. |
Methods inherited from class java.util.EventObject |
---|
getSource |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private static final long serialVersionUID
private java.lang.String groupColName
private java.lang.String groupColValue
private java.lang.String xml
private java.util.Map attrMap
Constructor Detail |
---|
public ChangeEvent(java.lang.Object source)
source
- Transported datapublic ChangeEvent(java.lang.String groupColName, java.lang.String groupColValue, java.lang.String xml, java.lang.String command, java.util.Map map)
groupColName
- for example 'ICAO_ID'groupColValue
- for example 'EDDI'xml
- The result xml from a querycommand
- The command which probably caused the event, like INSERTMethod Detail |
---|
public void setCommand(java.lang.String command)
public java.lang.String getGroupColName()
public java.lang.String getGroupColValue()
public java.lang.String getCommand()
For example CREATE or UPDATE
public java.util.Map getAttributeMap()
public java.lang.String getXml()
public void setXml(java.lang.String xml)
xml
- public java.lang.String toString()
toString
in class java.util.EventObject
|
xmlBlaster 2.2.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |