|
OpenNMS API 1.2.3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opennms.netmgt.xml.event.Event
Field Summary | |
private Autoacknowledge |
_autoacknowledge
|
private java.util.ArrayList |
_autoactionList
|
private Correlation |
_correlation
|
private java.lang.String |
_creationTime
|
private int |
_dbid
|
private java.lang.String |
_descr
|
private java.lang.String |
_distPoller
|
private java.util.ArrayList |
_forwardList
|
private boolean |
_has_dbid
keeps track of state for field: _dbid |
private boolean |
_has_nodeid
keeps track of state for field: _nodeid |
private java.lang.String |
_host
|
private java.lang.String |
_ifAlias
|
private java.lang.String |
_ifIndex
|
private java.lang.String |
_interface
|
private java.util.ArrayList |
_loggroupList
|
private Logmsg |
_logmsg
|
private Mask |
_mask
|
private java.lang.String |
_masterStation
|
private java.lang.String |
_mouseovertext
|
private long |
_nodeid
|
private java.util.ArrayList |
_operactionList
|
private java.lang.String |
_operinstruct
|
private Parms |
_parms
|
private java.lang.String |
_pathoutage
|
private java.util.ArrayList |
_scriptList
|
private java.lang.String |
_service
|
private java.lang.String |
_severity
|
private Snmp |
_snmp
|
private java.lang.String |
_snmphost
|
private java.lang.String |
_source
|
private java.lang.String |
_time
|
private Tticket |
_tticket
|
private java.lang.String |
_uei
|
private java.lang.String |
_uuid
|
private java.util.Vector |
propertyChangeListeners
|
Constructor Summary | |
Event()
|
Method Summary | |
void |
addAutoaction(Autoaction vAutoaction)
|
void |
addAutoaction(int index,
Autoaction vAutoaction)
|
void |
addForward(Forward vForward)
|
void |
addForward(int index,
Forward vForward)
|
void |
addLoggroup(int index,
java.lang.String vLoggroup)
|
void |
addLoggroup(java.lang.String vLoggroup)
|
void |
addOperaction(int index,
Operaction vOperaction)
|
void |
addOperaction(Operaction vOperaction)
|
void |
addPropertyChangeListener(java.beans.PropertyChangeListener pcl)
Registers a PropertyChangeListener with this class. |
void |
addScript(int index,
Script vScript)
|
void |
addScript(Script vScript)
|
void |
clearAutoaction()
|
void |
clearForward()
|
void |
clearLoggroup()
|
void |
clearOperaction()
|
void |
clearScript()
|
void |
deleteDbid()
|
void |
deleteNodeid()
|
java.util.Enumeration |
enumerateAutoaction()
|
java.util.Enumeration |
enumerateForward()
|
java.util.Enumeration |
enumerateLoggroup()
|
java.util.Enumeration |
enumerateOperaction()
|
java.util.Enumeration |
enumerateScript()
|
boolean |
equals(java.lang.Object obj)
Note: hashCode() has not been overriden |
Autoacknowledge |
getAutoacknowledge()
Returns the value of field 'autoacknowledge'. |
Autoaction[] |
getAutoaction()
|
Autoaction |
getAutoaction(int index)
|
java.util.Collection |
getAutoactionCollection()
|
int |
getAutoactionCount()
|
Correlation |
getCorrelation()
Returns the value of field 'correlation'. |
java.lang.String |
getCreationTime()
Returns the value of field 'creationTime'. |
int |
getDbid()
Returns the value of field 'dbid'. |
java.lang.String |
getDescr()
Returns the value of field 'descr'. |
java.lang.String |
getDistPoller()
Returns the value of field 'distPoller'. |
Forward[] |
getForward()
|
Forward |
getForward(int index)
|
java.util.Collection |
getForwardCollection()
|
int |
getForwardCount()
|
java.lang.String |
getHost()
Returns the value of field 'host'. |
java.lang.String |
getIfAlias()
Returns the value of field 'ifAlias'. |
java.lang.String |
getIfIndex()
Returns the value of field 'ifIndex'. |
java.lang.String |
getInterface()
Returns the value of field 'interface'. |
java.lang.String[] |
getLoggroup()
|
java.lang.String |
getLoggroup(int index)
|
java.util.Collection |
getLoggroupCollection()
|
int |
getLoggroupCount()
|
Logmsg |
getLogmsg()
Returns the value of field 'logmsg'. |
Mask |
getMask()
Returns the value of field 'mask'. |
java.lang.String |
getMasterStation()
Returns the value of field 'masterStation'. |
java.lang.String |
getMouseovertext()
Returns the value of field 'mouseovertext'. |
long |
getNodeid()
Returns the value of field 'nodeid'. |
Operaction[] |
getOperaction()
|
Operaction |
getOperaction(int index)
|
java.util.Collection |
getOperactionCollection()
|
int |
getOperactionCount()
|
java.lang.String |
getOperinstruct()
Returns the value of field 'operinstruct'. |
Parms |
getParms()
Returns the value of field 'parms'. |
java.lang.String |
getPathoutage()
Returns the value of field 'pathoutage'. |
Script[] |
getScript()
|
Script |
getScript(int index)
|
java.util.Collection |
getScriptCollection()
|
int |
getScriptCount()
|
java.lang.String |
getService()
Returns the value of field 'service'. |
java.lang.String |
getSeverity()
Returns the value of field 'severity'. |
Snmp |
getSnmp()
Returns the value of field 'snmp'. |
java.lang.String |
getSnmphost()
Returns the value of field 'snmphost'. |
java.lang.String |
getSource()
Returns the value of field 'source'. |
java.lang.String |
getTime()
Returns the value of field 'time'. |
Tticket |
getTticket()
Returns the value of field 'tticket'. |
java.lang.String |
getUei()
Returns the value of field 'uei'. |
java.lang.String |
getUuid()
Returns the value of field 'uuid'. |
boolean |
hasDbid()
|
boolean |
hasNodeid()
|
boolean |
isValid()
|
void |
marshal(org.xml.sax.DocumentHandler handler)
|
void |
marshal(java.io.Writer out)
|
protected void |
notifyPropertyChangeListeners(java.lang.String fieldName,
java.lang.Object oldValue,
java.lang.Object newValue)
Notifies all registered PropertyChangeListeners when a bound property's value changes. |
boolean |
removeAutoaction(Autoaction vAutoaction)
|
boolean |
removeForward(Forward vForward)
|
boolean |
removeLoggroup(java.lang.String vLoggroup)
|
boolean |
removeOperaction(Operaction vOperaction)
|
boolean |
removePropertyChangeListener(java.beans.PropertyChangeListener pcl)
Removes the given PropertyChangeListener from this classes list of ProperyChangeListeners. |
boolean |
removeScript(Script vScript)
|
void |
setAutoacknowledge(Autoacknowledge autoacknowledge)
Sets the value of field 'autoacknowledge'. |
void |
setAutoaction(Autoaction[] autoactionArray)
|
void |
setAutoaction(int index,
Autoaction vAutoaction)
|
void |
setAutoactionCollection(java.util.Collection vAutoaction)
|
void |
setCorrelation(Correlation correlation)
Sets the value of field 'correlation'. |
void |
setCreationTime(java.lang.String creationTime)
Sets the value of field 'creationTime'. |
void |
setDbid(int dbid)
Sets the value of field 'dbid'. |
void |
setDescr(java.lang.String descr)
Sets the value of field 'descr'. |
void |
setDistPoller(java.lang.String distPoller)
Sets the value of field 'distPoller'. |
void |
setForward(Forward[] forwardArray)
|
void |
setForward(int index,
Forward vForward)
|
void |
setForwardCollection(java.util.Collection vForward)
|
void |
setHost(java.lang.String host)
Sets the value of field 'host'. |
void |
setIfAlias(java.lang.String ifAlias)
Sets the value of field 'ifAlias'. |
void |
setIfIndex(java.lang.String ifIndex)
Sets the value of field 'ifIndex'. |
void |
setInterface(java.lang.String _interface)
Sets the value of field 'interface'. |
void |
setLoggroup(int index,
java.lang.String vLoggroup)
|
void |
setLoggroup(java.lang.String[] loggroupArray)
|
void |
setLoggroupCollection(java.util.Collection vLoggroup)
|
void |
setLogmsg(Logmsg logmsg)
Sets the value of field 'logmsg'. |
void |
setMask(Mask mask)
Sets the value of field 'mask'. |
void |
setMasterStation(java.lang.String masterStation)
Sets the value of field 'masterStation'. |
void |
setMouseovertext(java.lang.String mouseovertext)
Sets the value of field 'mouseovertext'. |
void |
setNodeid(long nodeid)
Sets the value of field 'nodeid'. |
void |
setOperaction(int index,
Operaction vOperaction)
|
void |
setOperaction(Operaction[] operactionArray)
|
void |
setOperactionCollection(java.util.Collection vOperaction)
|
void |
setOperinstruct(java.lang.String operinstruct)
Sets the value of field 'operinstruct'. |
void |
setParms(Parms parms)
Sets the value of field 'parms'. |
void |
setPathoutage(java.lang.String pathoutage)
Sets the value of field 'pathoutage'. |
void |
setScript(int index,
Script vScript)
|
void |
setScript(Script[] scriptArray)
|
void |
setScriptCollection(java.util.Collection vScript)
|
void |
setService(java.lang.String service)
Sets the value of field 'service'. |
void |
setSeverity(java.lang.String severity)
Sets the value of field 'severity'. |
void |
setSnmp(Snmp snmp)
Sets the value of field 'snmp'. |
void |
setSnmphost(java.lang.String snmphost)
Sets the value of field 'snmphost'. |
void |
setSource(java.lang.String source)
Sets the value of field 'source'. |
void |
setTime(java.lang.String time)
Sets the value of field 'time'. |
void |
setTticket(Tticket tticket)
Sets the value of field 'tticket'. |
void |
setUei(java.lang.String uei)
Sets the value of field 'uei'. |
void |
setUuid(java.lang.String uuid)
Sets the value of field 'uuid'. |
static Event |
unmarshal(java.io.Reader reader)
|
void |
validate()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private java.lang.String _uuid
private int _dbid
private boolean _has_dbid
private java.lang.String _distPoller
private java.lang.String _creationTime
private java.lang.String _masterStation
private Mask _mask
private java.lang.String _uei
private java.lang.String _source
private long _nodeid
private boolean _has_nodeid
private java.lang.String _time
private java.lang.String _host
private java.lang.String _interface
private java.lang.String _snmphost
private java.lang.String _service
private Snmp _snmp
private Parms _parms
private java.lang.String _descr
private Logmsg _logmsg
private java.lang.String _severity
private java.lang.String _pathoutage
private Correlation _correlation
private java.lang.String _operinstruct
private java.util.ArrayList _autoactionList
private java.util.ArrayList _operactionList
private Autoacknowledge _autoacknowledge
private java.util.ArrayList _loggroupList
private Tticket _tticket
private java.util.ArrayList _forwardList
private java.util.ArrayList _scriptList
private java.lang.String _ifIndex
private java.lang.String _ifAlias
private java.lang.String _mouseovertext
private java.util.Vector propertyChangeListeners
Constructor Detail |
public Event()
Method Detail |
public void addAutoaction(Autoaction vAutoaction) throws java.lang.IndexOutOfBoundsException
vAutoaction
-
java.lang.IndexOutOfBoundsException
public void addAutoaction(int index, Autoaction vAutoaction) throws java.lang.IndexOutOfBoundsException
index
- vAutoaction
-
java.lang.IndexOutOfBoundsException
public void addForward(Forward vForward) throws java.lang.IndexOutOfBoundsException
vForward
-
java.lang.IndexOutOfBoundsException
public void addForward(int index, Forward vForward) throws java.lang.IndexOutOfBoundsException
index
- vForward
-
java.lang.IndexOutOfBoundsException
public void addLoggroup(java.lang.String vLoggroup) throws java.lang.IndexOutOfBoundsException
vLoggroup
-
java.lang.IndexOutOfBoundsException
public void addLoggroup(int index, java.lang.String vLoggroup) throws java.lang.IndexOutOfBoundsException
index
- vLoggroup
-
java.lang.IndexOutOfBoundsException
public void addOperaction(Operaction vOperaction) throws java.lang.IndexOutOfBoundsException
vOperaction
-
java.lang.IndexOutOfBoundsException
public void addOperaction(int index, Operaction vOperaction) throws java.lang.IndexOutOfBoundsException
index
- vOperaction
-
java.lang.IndexOutOfBoundsException
public void addPropertyChangeListener(java.beans.PropertyChangeListener pcl)
pcl
- The PropertyChangeListener to register.public void addScript(Script vScript) throws java.lang.IndexOutOfBoundsException
vScript
-
java.lang.IndexOutOfBoundsException
public void addScript(int index, Script vScript) throws java.lang.IndexOutOfBoundsException
index
- vScript
-
java.lang.IndexOutOfBoundsException
public void clearAutoaction()
public void clearForward()
public void clearLoggroup()
public void clearOperaction()
public void clearScript()
public void deleteDbid()
public void deleteNodeid()
public java.util.Enumeration enumerateAutoaction()
public java.util.Enumeration enumerateForward()
public java.util.Enumeration enumerateLoggroup()
public java.util.Enumeration enumerateOperaction()
public java.util.Enumeration enumerateScript()
public boolean equals(java.lang.Object obj)
obj
- public Autoacknowledge getAutoacknowledge()
public Autoaction getAutoaction(int index) throws java.lang.IndexOutOfBoundsException
index
-
java.lang.IndexOutOfBoundsException
public Autoaction[] getAutoaction()
public java.util.Collection getAutoactionCollection()
public int getAutoactionCount()
public Correlation getCorrelation()
public java.lang.String getCreationTime()
public int getDbid()
public java.lang.String getDescr()
public java.lang.String getDistPoller()
public Forward getForward(int index) throws java.lang.IndexOutOfBoundsException
index
-
java.lang.IndexOutOfBoundsException
public Forward[] getForward()
public java.util.Collection getForwardCollection()
public int getForwardCount()
public java.lang.String getHost()
public java.lang.String getIfAlias()
public java.lang.String getIfIndex()
public java.lang.String getInterface()
public java.lang.String getLoggroup(int index) throws java.lang.IndexOutOfBoundsException
index
-
java.lang.IndexOutOfBoundsException
public java.lang.String[] getLoggroup()
public java.util.Collection getLoggroupCollection()
public int getLoggroupCount()
public Logmsg getLogmsg()
public Mask getMask()
public java.lang.String getMasterStation()
public java.lang.String getMouseovertext()
public long getNodeid()
public Operaction getOperaction(int index) throws java.lang.IndexOutOfBoundsException
index
-
java.lang.IndexOutOfBoundsException
public Operaction[] getOperaction()
public java.util.Collection getOperactionCollection()
public int getOperactionCount()
public java.lang.String getOperinstruct()
public Parms getParms()
public java.lang.String getPathoutage()
public Script getScript(int index) throws java.lang.IndexOutOfBoundsException
index
-
java.lang.IndexOutOfBoundsException
public Script[] getScript()
public java.util.Collection getScriptCollection()
public int getScriptCount()
public java.lang.String getService()
public java.lang.String getSeverity()
public Snmp getSnmp()
public java.lang.String getSnmphost()
public java.lang.String getSource()
public java.lang.String getTime()
public Tticket getTticket()
public java.lang.String getUei()
public java.lang.String getUuid()
public boolean hasDbid()
public boolean hasNodeid()
public boolean isValid()
public void marshal(java.io.Writer out) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
out
-
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
public void marshal(org.xml.sax.DocumentHandler handler) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
handler
-
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
protected void notifyPropertyChangeListeners(java.lang.String fieldName, java.lang.Object oldValue, java.lang.Object newValue)
fieldName
- the name of the property that has changed.newValue
- the new value of the property.oldValue
- the old value of the property.public boolean removeAutoaction(Autoaction vAutoaction)
vAutoaction
- public boolean removeForward(Forward vForward)
vForward
- public boolean removeLoggroup(java.lang.String vLoggroup)
vLoggroup
- public boolean removeOperaction(Operaction vOperaction)
vOperaction
- public boolean removePropertyChangeListener(java.beans.PropertyChangeListener pcl)
pcl
- The PropertyChangeListener to remove.
public boolean removeScript(Script vScript)
vScript
- public void setAutoacknowledge(Autoacknowledge autoacknowledge)
autoacknowledge
- the value of field 'autoacknowledge'.public void setAutoaction(int index, Autoaction vAutoaction) throws java.lang.IndexOutOfBoundsException
index
- vAutoaction
-
java.lang.IndexOutOfBoundsException
public void setAutoaction(Autoaction[] autoactionArray)
autoactionArray
- public void setAutoactionCollection(java.util.Collection vAutoaction)
vAutoaction
- public void setCorrelation(Correlation correlation)
correlation
- the value of field 'correlation'.public void setCreationTime(java.lang.String creationTime)
creationTime
- the value of field 'creationTime'.public void setDbid(int dbid)
dbid
- the value of field 'dbid'.public void setDescr(java.lang.String descr)
descr
- the value of field 'descr'.public void setDistPoller(java.lang.String distPoller)
distPoller
- the value of field 'distPoller'.public void setForward(int index, Forward vForward) throws java.lang.IndexOutOfBoundsException
index
- vForward
-
java.lang.IndexOutOfBoundsException
public void setForward(Forward[] forwardArray)
forwardArray
- public void setForwardCollection(java.util.Collection vForward)
vForward
- public void setHost(java.lang.String host)
host
- the value of field 'host'.public void setIfAlias(java.lang.String ifAlias)
ifAlias
- the value of field 'ifAlias'.public void setIfIndex(java.lang.String ifIndex)
ifIndex
- the value of field 'ifIndex'.public void setInterface(java.lang.String _interface)
_interface
- public void setLoggroup(int index, java.lang.String vLoggroup) throws java.lang.IndexOutOfBoundsException
index
- vLoggroup
-
java.lang.IndexOutOfBoundsException
public void setLoggroup(java.lang.String[] loggroupArray)
loggroupArray
- public void setLoggroupCollection(java.util.Collection vLoggroup)
vLoggroup
- public void setLogmsg(Logmsg logmsg)
logmsg
- the value of field 'logmsg'.public void setMask(Mask mask)
mask
- the value of field 'mask'.public void setMasterStation(java.lang.String masterStation)
masterStation
- the value of field 'masterStation'.public void setMouseovertext(java.lang.String mouseovertext)
mouseovertext
- the value of field 'mouseovertext'.public void setNodeid(long nodeid)
nodeid
- the value of field 'nodeid'.public void setOperaction(int index, Operaction vOperaction) throws java.lang.IndexOutOfBoundsException
index
- vOperaction
-
java.lang.IndexOutOfBoundsException
public void setOperaction(Operaction[] operactionArray)
operactionArray
- public void setOperactionCollection(java.util.Collection vOperaction)
vOperaction
- public void setOperinstruct(java.lang.String operinstruct)
operinstruct
- the value of field 'operinstruct'.public void setParms(Parms parms)
parms
- the value of field 'parms'.public void setPathoutage(java.lang.String pathoutage)
pathoutage
- the value of field 'pathoutage'.public void setScript(int index, Script vScript) throws java.lang.IndexOutOfBoundsException
index
- vScript
-
java.lang.IndexOutOfBoundsException
public void setScript(Script[] scriptArray)
scriptArray
- public void setScriptCollection(java.util.Collection vScript)
vScript
- public void setService(java.lang.String service)
service
- the value of field 'service'.public void setSeverity(java.lang.String severity)
severity
- the value of field 'severity'.public void setSnmp(Snmp snmp)
snmp
- the value of field 'snmp'.public void setSnmphost(java.lang.String snmphost)
snmphost
- the value of field 'snmphost'.public void setSource(java.lang.String source)
source
- the value of field 'source'.public void setTime(java.lang.String time)
time
- the value of field 'time'.public void setTticket(Tticket tticket)
tticket
- the value of field 'tticket'.public void setUei(java.lang.String uei)
uei
- the value of field 'uei'.public void setUuid(java.lang.String uuid)
uuid
- the value of field 'uuid'.public static Event unmarshal(java.io.Reader reader) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
reader
-
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
public void validate() throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationException
|
OpenNMS API 1.2.3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |