org.opennms.netmgt.xml.event
Class Event

java.lang.Object
  extended by org.opennms.netmgt.xml.event.Event
All Implemented Interfaces:
java.io.Serializable

public class Event
extends java.lang.Object
implements java.io.Serializable

Class Event.

Version:
$Revision$ $Date$
See Also:
Serialized Form

Constructor Summary
Event()
           
 
Method Summary
 void addAutoaction(Autoaction vAutoaction)
          Method addAutoaction
 void addAutoaction(int index, Autoaction vAutoaction)
          Method addAutoaction
 void addForward(Forward vForward)
          Method addForward
 void addForward(int index, Forward vForward)
          Method addForward
 void addLoggroup(int index, java.lang.String vLoggroup)
          Method addLoggroup
 void addLoggroup(java.lang.String vLoggroup)
          Method addLoggroup
 void addOperaction(int index, Operaction vOperaction)
          Method addOperaction
 void addOperaction(Operaction vOperaction)
          Method addOperaction
 void addScript(int index, Script vScript)
          Method addScript
 void addScript(Script vScript)
          Method addScript
 void clearAutoaction()
          Method clearAutoaction
 void clearForward()
          Method clearForward
 void clearLoggroup()
          Method clearLoggroup
 void clearOperaction()
          Method clearOperaction
 void clearScript()
          Method clearScript
 void deleteDbid()
          Method deleteDbid
 void deleteNodeid()
          Method deleteNodeid
 java.util.Enumeration enumerateAutoaction()
          Method enumerateAutoaction
 java.util.Enumeration enumerateForward()
          Method enumerateForward
 java.util.Enumeration enumerateLoggroup()
          Method enumerateLoggroup
 java.util.Enumeration enumerateOperaction()
          Method enumerateOperaction
 java.util.Enumeration enumerateScript()
          Method enumerateScript
 AlarmData getAlarmData()
          Returns the value of field 'alarmData'.
 Autoacknowledge getAutoacknowledge()
          Returns the value of field 'autoacknowledge'.
 Autoaction[] getAutoaction()
          Method getAutoaction
 Autoaction getAutoaction(int index)
          Method getAutoaction
 java.util.ArrayList getAutoactionCollection()
          Method getAutoactionCollection Returns a reference to 'autoaction'.
 int getAutoactionCount()
          Method 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()
          Method getForward
 Forward getForward(int index)
          Method getForward
 java.util.ArrayList getForwardCollection()
          Method getForwardCollection Returns a reference to 'forward'.
 int getForwardCount()
          Method 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()
          Method getLoggroup
 java.lang.String getLoggroup(int index)
          Method getLoggroup
 java.util.ArrayList getLoggroupCollection()
          Method getLoggroupCollection Returns a reference to 'loggroup'.
 int getLoggroupCount()
          Method 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()
          Method getOperaction
 Operaction getOperaction(int index)
          Method getOperaction
 java.util.ArrayList getOperactionCollection()
          Method getOperactionCollection Returns a reference to 'operaction'.
 int getOperactionCount()
          Method 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()
          Method getScript
 Script getScript(int index)
          Method getScript
 java.util.ArrayList getScriptCollection()
          Method getScriptCollection Returns a reference to 'script'.
 int getScriptCount()
          Method 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()
          Method hasDbid
 boolean hasNodeid()
          Method hasNodeid
 boolean isValid()
          Method isValid
 void marshal(org.xml.sax.ContentHandler handler)
          Method marshal
 void marshal(java.io.Writer out)
          Method marshal
 boolean removeAutoaction(Autoaction vAutoaction)
          Method removeAutoaction
 boolean removeForward(Forward vForward)
          Method removeForward
 boolean removeLoggroup(java.lang.String vLoggroup)
          Method removeLoggroup
 boolean removeOperaction(Operaction vOperaction)
          Method removeOperaction
 boolean removeScript(Script vScript)
          Method removeScript
 void setAlarmData(AlarmData alarmData)
          Sets the value of field 'alarmData'.
 void setAutoacknowledge(Autoacknowledge autoacknowledge)
          Sets the value of field 'autoacknowledge'.
 void setAutoaction(java.util.ArrayList autoactionCollection)
          Method setAutoaction Sets the value of 'autoaction' by copying the given ArrayList.
 void setAutoaction(Autoaction[] autoactionArray)
          Method setAutoaction
 void setAutoaction(int index, Autoaction vAutoaction)
          Method setAutoaction
 void setAutoactionCollection(java.util.ArrayList autoactionCollection)
          Method setAutoactionCollection Sets the value of 'autoaction' by setting it to the given ArrayList.
 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(java.util.ArrayList forwardCollection)
          Method setForward Sets the value of 'forward' by copying the given ArrayList.
 void setForward(Forward[] forwardArray)
          Method setForward
 void setForward(int index, Forward vForward)
          Method setForward
 void setForwardCollection(java.util.ArrayList forwardCollection)
          Method setForwardCollection Sets the value of 'forward' by setting it to the given ArrayList.
 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(java.util.ArrayList loggroupCollection)
          Method setLoggroup Sets the value of 'loggroup' by copying the given ArrayList.
 void setLoggroup(int index, java.lang.String vLoggroup)
          Method setLoggroup
 void setLoggroup(java.lang.String[] loggroupArray)
          Method setLoggroup
 void setLoggroupCollection(java.util.ArrayList loggroupCollection)
          Method setLoggroupCollection Sets the value of 'loggroup' by setting it to the given ArrayList.
 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(java.util.ArrayList operactionCollection)
          Method setOperaction Sets the value of 'operaction' by copying the given ArrayList.
 void setOperaction(int index, Operaction vOperaction)
          Method setOperaction
 void setOperaction(Operaction[] operactionArray)
          Method setOperaction
 void setOperactionCollection(java.util.ArrayList operactionCollection)
          Method setOperactionCollection Sets the value of 'operaction' by setting it to the given ArrayList.
 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(java.util.ArrayList scriptCollection)
          Method setScript Sets the value of 'script' by copying the given ArrayList.
 void setScript(int index, Script vScript)
          Method setScript
 void setScript(Script[] scriptArray)
          Method setScript
 void setScriptCollection(java.util.ArrayList scriptCollection)
          Method setScriptCollection Sets the value of 'script' by setting it to the given ArrayList.
 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 java.lang.Object unmarshal(java.io.Reader reader)
          Method unmarshal
 void validate()
          Method validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Event

public Event()
Method Detail

addAutoaction

public void addAutoaction(Autoaction vAutoaction)
                   throws java.lang.IndexOutOfBoundsException
Method addAutoaction

Parameters:
vAutoaction -
Throws:
java.lang.IndexOutOfBoundsException

addAutoaction

public void addAutoaction(int index,
                          Autoaction vAutoaction)
                   throws java.lang.IndexOutOfBoundsException
Method addAutoaction

Parameters:
index -
vAutoaction -
Throws:
java.lang.IndexOutOfBoundsException

addForward

public void addForward(Forward vForward)
                throws java.lang.IndexOutOfBoundsException
Method addForward

Parameters:
vForward -
Throws:
java.lang.IndexOutOfBoundsException

addForward

public void addForward(int index,
                       Forward vForward)
                throws java.lang.IndexOutOfBoundsException
Method addForward

Parameters:
index -
vForward -
Throws:
java.lang.IndexOutOfBoundsException

addLoggroup

public void addLoggroup(java.lang.String vLoggroup)
                 throws java.lang.IndexOutOfBoundsException
Method addLoggroup

Parameters:
vLoggroup -
Throws:
java.lang.IndexOutOfBoundsException

addLoggroup

public void addLoggroup(int index,
                        java.lang.String vLoggroup)
                 throws java.lang.IndexOutOfBoundsException
Method addLoggroup

Parameters:
index -
vLoggroup -
Throws:
java.lang.IndexOutOfBoundsException

addOperaction

public void addOperaction(Operaction vOperaction)
                   throws java.lang.IndexOutOfBoundsException
Method addOperaction

Parameters:
vOperaction -
Throws:
java.lang.IndexOutOfBoundsException

addOperaction

public void addOperaction(int index,
                          Operaction vOperaction)
                   throws java.lang.IndexOutOfBoundsException
Method addOperaction

Parameters:
index -
vOperaction -
Throws:
java.lang.IndexOutOfBoundsException

addScript

public void addScript(Script vScript)
               throws java.lang.IndexOutOfBoundsException
Method addScript

Parameters:
vScript -
Throws:
java.lang.IndexOutOfBoundsException

addScript

public void addScript(int index,
                      Script vScript)
               throws java.lang.IndexOutOfBoundsException
Method addScript

Parameters:
index -
vScript -
Throws:
java.lang.IndexOutOfBoundsException

clearAutoaction

public void clearAutoaction()
Method clearAutoaction


clearForward

public void clearForward()
Method clearForward


clearLoggroup

public void clearLoggroup()
Method clearLoggroup


clearOperaction

public void clearOperaction()
Method clearOperaction


clearScript

public void clearScript()
Method clearScript


deleteDbid

public void deleteDbid()
Method deleteDbid


deleteNodeid

public void deleteNodeid()
Method deleteNodeid


enumerateAutoaction

public java.util.Enumeration enumerateAutoaction()
Method enumerateAutoaction

Returns:
Enumeration

enumerateForward

public java.util.Enumeration enumerateForward()
Method enumerateForward

Returns:
Enumeration

enumerateLoggroup

public java.util.Enumeration enumerateLoggroup()
Method enumerateLoggroup

Returns:
Enumeration

enumerateOperaction

public java.util.Enumeration enumerateOperaction()
Method enumerateOperaction

Returns:
Enumeration

enumerateScript

public java.util.Enumeration enumerateScript()
Method enumerateScript

Returns:
Enumeration

getAlarmData

public AlarmData getAlarmData()
Returns the value of field 'alarmData'. The field 'alarmData' has the following description: Data used to create an event.

Returns:
AlarmData

getAutoacknowledge

public Autoacknowledge getAutoacknowledge()
Returns the value of field 'autoacknowledge'. The field 'autoacknowledge' has the following description: The autoacknowledge information for the user

Returns:
Autoacknowledge

getAutoaction

public Autoaction getAutoaction(int index)
                         throws java.lang.IndexOutOfBoundsException
Method getAutoaction

Parameters:
index -
Returns:
Autoaction
Throws:
java.lang.IndexOutOfBoundsException

getAutoaction

public Autoaction[] getAutoaction()
Method getAutoaction

Returns:
Autoaction

getAutoactionCollection

public java.util.ArrayList getAutoactionCollection()
Method getAutoactionCollection Returns a reference to 'autoaction'. No type checking is performed on any modications to the Collection.

Returns:
ArrayList

getAutoactionCount

public int getAutoactionCount()
Method getAutoactionCount

Returns:
int

getCorrelation

public Correlation getCorrelation()
Returns the value of field 'correlation'. The field 'correlation' has the following description: The event correlation information

Returns:
Correlation

getCreationTime

public java.lang.String getCreationTime()
Returns the value of field 'creationTime'. The field 'creationTime' has the following description: from header

Returns:
String

getDbid

public int getDbid()
Returns the value of field 'dbid'. The field 'dbid' has the following description: The event database id

Returns:
int

getDescr

public java.lang.String getDescr()
Returns the value of field 'descr'. The field 'descr' has the following description: The event description

Returns:
String

getDistPoller

public java.lang.String getDistPoller()
Returns the value of field 'distPoller'.

Returns:
String

getForward

public Forward getForward(int index)
                   throws java.lang.IndexOutOfBoundsException
Method getForward

Parameters:
index -
Returns:
Forward
Throws:
java.lang.IndexOutOfBoundsException

getForward

public Forward[] getForward()
Method getForward

Returns:
Forward

getForwardCollection

public java.util.ArrayList getForwardCollection()
Method getForwardCollection Returns a reference to 'forward'. No type checking is performed on any modications to the Collection.

Returns:
ArrayList

getForwardCount

public int getForwardCount()
Method getForwardCount

Returns:
int

getHost

public java.lang.String getHost()
Returns the value of field 'host'. The field 'host' has the following description: The host at which the event is generated

Returns:
String

getIfAlias

public java.lang.String getIfAlias()
Returns the value of field 'ifAlias'. The field 'ifAlias' has the following description: The ifAlias to which this event is pertinent

Returns:
String

getIfIndex

public java.lang.String getIfIndex()
Returns the value of field 'ifIndex'. The field 'ifIndex' has the following description: The ifIndex to which this event is pertinent

Returns:
String

getInterface

public java.lang.String getInterface()
Returns the value of field 'interface'. The field 'interface' has the following description: The interface to which this event is pertinent

Returns:
String

getLoggroup

public java.lang.String getLoggroup(int index)
                             throws java.lang.IndexOutOfBoundsException
Method getLoggroup

Parameters:
index -
Returns:
String
Throws:
java.lang.IndexOutOfBoundsException

getLoggroup

public java.lang.String[] getLoggroup()
Method getLoggroup

Returns:
String

getLoggroupCollection

public java.util.ArrayList getLoggroupCollection()
Method getLoggroupCollection Returns a reference to 'loggroup'. No type checking is performed on any modications to the Collection.

Returns:
ArrayList

getLoggroupCount

public int getLoggroupCount()
Method getLoggroupCount

Returns:
int

getLogmsg

public Logmsg getLogmsg()
Returns the value of field 'logmsg'. The field 'logmsg' has the following description: The event logmsg

Returns:
Logmsg

getMask

public Mask getMask()
Returns the value of field 'mask'. The field 'mask' has the following description: The event mask which helps to uniquely identify an event

Returns:
Mask

getMasterStation

public java.lang.String getMasterStation()
Returns the value of field 'masterStation'. The field 'masterStation' has the following description: from header

Returns:
String

getMouseovertext

public java.lang.String getMouseovertext()
Returns the value of field 'mouseovertext'. The field 'mouseovertext' has the following description: The text to be displayed on a 'mouseOver' event when this event is displayed in the event browser

Returns:
String

getNodeid

public long getNodeid()
Returns the value of field 'nodeid'. The field 'nodeid' has the following description: The nodeid to which this event pertains

Returns:
long

getOperaction

public Operaction getOperaction(int index)
                         throws java.lang.IndexOutOfBoundsException
Method getOperaction

Parameters:
index -
Returns:
Operaction
Throws:
java.lang.IndexOutOfBoundsException

getOperaction

public Operaction[] getOperaction()
Method getOperaction

Returns:
Operaction

getOperactionCollection

public java.util.ArrayList getOperactionCollection()
Method getOperactionCollection Returns a reference to 'operaction'. No type checking is performed on any modications to the Collection.

Returns:
ArrayList

getOperactionCount

public int getOperactionCount()
Method getOperactionCount

Returns:
int

getOperinstruct

public java.lang.String getOperinstruct()
Returns the value of field 'operinstruct'. The field 'operinstruct' has the following description: The operator instruction for this event

Returns:
String

getParms

public Parms getParms()
Returns the value of field 'parms'. The field 'parms' has the following description: The varbinds from the trap

Returns:
Parms

getPathoutage

public java.lang.String getPathoutage()
Returns the value of field 'pathoutage'. The field 'pathoutage' has the following description: The path outage information

Returns:
String

getScript

public Script getScript(int index)
                 throws java.lang.IndexOutOfBoundsException
Method getScript

Parameters:
index -
Returns:
Script
Throws:
java.lang.IndexOutOfBoundsException

getScript

public Script[] getScript()
Method getScript

Returns:
Script

getScriptCollection

public java.util.ArrayList getScriptCollection()
Method getScriptCollection Returns a reference to 'script'. No type checking is performed on any modications to the Collection.

Returns:
ArrayList

getScriptCount

public int getScriptCount()
Method getScriptCount

Returns:
int

getService

public java.lang.String getService()
Returns the value of field 'service'. The field 'service' has the following description: The service to which this event is pertinent

Returns:
String

getSeverity

public java.lang.String getSeverity()
Returns the value of field 'severity'. The field 'severity' has the following description: The event severity

Returns:
String

getSnmp

public Snmp getSnmp()
Returns the value of field 'snmp'. The field 'snmp' has the following description: The snmp information from the trap

Returns:
Snmp

getSnmphost

public java.lang.String getSnmphost()
Returns the value of field 'snmphost'. The field 'snmphost' has the following description: The snmp host of the trap

Returns:
String

getSource

public java.lang.String getSource()
Returns the value of field 'source'.

Returns:
String

getTime

public java.lang.String getTime()
Returns the value of field 'time'. The field 'time' has the following description: The time at which this event was generated. The time is in the format generated by the java.text.DateFormat using the DateFormat.FULL style for the default locale. For example: "Monday, February 18, 2002 3:01:58 PM EST"

Returns:
String

getTticket

public Tticket getTticket()
Returns the value of field 'tticket'. The field 'tticket' has the following description: The trouble ticket info

Returns:
Tticket

getUei

public java.lang.String getUei()
Returns the value of field 'uei'. The field 'uei' has the following description: The Universal Event Identifier

Returns:
String

getUuid

public java.lang.String getUuid()
Returns the value of field 'uuid'.

Returns:
String

hasDbid

public boolean hasDbid()
Method hasDbid

Returns:
boolean

hasNodeid

public boolean hasNodeid()
Method hasNodeid

Returns:
boolean

isValid

public boolean isValid()
Method isValid

Returns:
boolean

marshal

public void marshal(java.io.Writer out)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Method marshal

Parameters:
out -
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

marshal

public void marshal(org.xml.sax.ContentHandler handler)
             throws java.io.IOException,
                    org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Method marshal

Parameters:
handler -
Throws:
java.io.IOException
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

removeAutoaction

public boolean removeAutoaction(Autoaction vAutoaction)
Method removeAutoaction

Parameters:
vAutoaction -
Returns:
boolean

removeForward

public boolean removeForward(Forward vForward)
Method removeForward

Parameters:
vForward -
Returns:
boolean

removeLoggroup

public boolean removeLoggroup(java.lang.String vLoggroup)
Method removeLoggroup

Parameters:
vLoggroup -
Returns:
boolean

removeOperaction

public boolean removeOperaction(Operaction vOperaction)
Method removeOperaction

Parameters:
vOperaction -
Returns:
boolean

removeScript

public boolean removeScript(Script vScript)
Method removeScript

Parameters:
vScript -
Returns:
boolean

setAlarmData

public void setAlarmData(AlarmData alarmData)
Sets the value of field 'alarmData'. The field 'alarmData' has the following description: Data used to create an event.

Parameters:
alarmData - the value of field 'alarmData'.

setAutoacknowledge

public void setAutoacknowledge(Autoacknowledge autoacknowledge)
Sets the value of field 'autoacknowledge'. The field 'autoacknowledge' has the following description: The autoacknowledge information for the user

Parameters:
autoacknowledge - the value of field 'autoacknowledge'.

setAutoaction

public void setAutoaction(int index,
                          Autoaction vAutoaction)
                   throws java.lang.IndexOutOfBoundsException
Method setAutoaction

Parameters:
index -
vAutoaction -
Throws:
java.lang.IndexOutOfBoundsException

setAutoaction

public void setAutoaction(Autoaction[] autoactionArray)
Method setAutoaction

Parameters:
autoactionArray -

setAutoaction

public void setAutoaction(java.util.ArrayList autoactionCollection)
Method setAutoaction Sets the value of 'autoaction' by copying the given ArrayList.

Parameters:
autoactionCollection - the Vector to copy.

setAutoactionCollection

public void setAutoactionCollection(java.util.ArrayList autoactionCollection)
Method setAutoactionCollection Sets the value of 'autoaction' by setting it to the given ArrayList. No type checking is performed.

Parameters:
autoactionCollection - the ArrayList to copy.

setCorrelation

public void setCorrelation(Correlation correlation)
Sets the value of field 'correlation'. The field 'correlation' has the following description: The event correlation information

Parameters:
correlation - the value of field 'correlation'.

setCreationTime

public void setCreationTime(java.lang.String creationTime)
Sets the value of field 'creationTime'. The field 'creationTime' has the following description: from header

Parameters:
creationTime - the value of field 'creationTime'.

setDbid

public void setDbid(int dbid)
Sets the value of field 'dbid'. The field 'dbid' has the following description: The event database id

Parameters:
dbid - the value of field 'dbid'.

setDescr

public void setDescr(java.lang.String descr)
Sets the value of field 'descr'. The field 'descr' has the following description: The event description

Parameters:
descr - the value of field 'descr'.

setDistPoller

public void setDistPoller(java.lang.String distPoller)
Sets the value of field 'distPoller'.

Parameters:
distPoller - the value of field 'distPoller'.

setForward

public void setForward(int index,
                       Forward vForward)
                throws java.lang.IndexOutOfBoundsException
Method setForward

Parameters:
index -
vForward -
Throws:
java.lang.IndexOutOfBoundsException

setForward

public void setForward(Forward[] forwardArray)
Method setForward

Parameters:
forwardArray -

setForward

public void setForward(java.util.ArrayList forwardCollection)
Method setForward Sets the value of 'forward' by copying the given ArrayList.

Parameters:
forwardCollection - the Vector to copy.

setForwardCollection

public void setForwardCollection(java.util.ArrayList forwardCollection)
Method setForwardCollection Sets the value of 'forward' by setting it to the given ArrayList. No type checking is performed.

Parameters:
forwardCollection - the ArrayList to copy.

setHost

public void setHost(java.lang.String host)
Sets the value of field 'host'. The field 'host' has the following description: The host at which the event is generated

Parameters:
host - the value of field 'host'.

setIfAlias

public void setIfAlias(java.lang.String ifAlias)
Sets the value of field 'ifAlias'. The field 'ifAlias' has the following description: The ifAlias to which this event is pertinent

Parameters:
ifAlias - the value of field 'ifAlias'.

setIfIndex

public void setIfIndex(java.lang.String ifIndex)
Sets the value of field 'ifIndex'. The field 'ifIndex' has the following description: The ifIndex to which this event is pertinent

Parameters:
ifIndex - the value of field 'ifIndex'.

setInterface

public void setInterface(java.lang.String _interface)
Sets the value of field 'interface'. The field 'interface' has the following description: The interface to which this event is pertinent

Parameters:
_interface -
interface - the value of field 'interface'.

setLoggroup

public void setLoggroup(int index,
                        java.lang.String vLoggroup)
                 throws java.lang.IndexOutOfBoundsException
Method setLoggroup

Parameters:
index -
vLoggroup -
Throws:
java.lang.IndexOutOfBoundsException

setLoggroup

public void setLoggroup(java.lang.String[] loggroupArray)
Method setLoggroup

Parameters:
loggroupArray -

setLoggroup

public void setLoggroup(java.util.ArrayList loggroupCollection)
Method setLoggroup Sets the value of 'loggroup' by copying the given ArrayList.

Parameters:
loggroupCollection - the Vector to copy.

setLoggroupCollection

public void setLoggroupCollection(java.util.ArrayList loggroupCollection)
Method setLoggroupCollection Sets the value of 'loggroup' by setting it to the given ArrayList. No type checking is performed.

Parameters:
loggroupCollection - the ArrayList to copy.

setLogmsg

public void setLogmsg(Logmsg logmsg)
Sets the value of field 'logmsg'. The field 'logmsg' has the following description: The event logmsg

Parameters:
logmsg - the value of field 'logmsg'.

setMask

public void setMask(Mask mask)
Sets the value of field 'mask'. The field 'mask' has the following description: The event mask which helps to uniquely identify an event

Parameters:
mask - the value of field 'mask'.

setMasterStation

public void setMasterStation(java.lang.String masterStation)
Sets the value of field 'masterStation'. The field 'masterStation' has the following description: from header

Parameters:
masterStation - the value of field 'masterStation'.

setMouseovertext

public void setMouseovertext(java.lang.String mouseovertext)
Sets the value of field 'mouseovertext'. The field 'mouseovertext' has the following description: The text to be displayed on a 'mouseOver' event when this event is displayed in the event browser

Parameters:
mouseovertext - the value of field 'mouseovertext'.

setNodeid

public void setNodeid(long nodeid)
Sets the value of field 'nodeid'. The field 'nodeid' has the following description: The nodeid to which this event pertains

Parameters:
nodeid - the value of field 'nodeid'.

setOperaction

public void setOperaction(int index,
                          Operaction vOperaction)
                   throws java.lang.IndexOutOfBoundsException
Method setOperaction

Parameters:
index -
vOperaction -
Throws:
java.lang.IndexOutOfBoundsException

setOperaction

public void setOperaction(Operaction[] operactionArray)
Method setOperaction

Parameters:
operactionArray -

setOperaction

public void setOperaction(java.util.ArrayList operactionCollection)
Method setOperaction Sets the value of 'operaction' by copying the given ArrayList.

Parameters:
operactionCollection - the Vector to copy.

setOperactionCollection

public void setOperactionCollection(java.util.ArrayList operactionCollection)
Method setOperactionCollection Sets the value of 'operaction' by setting it to the given ArrayList. No type checking is performed.

Parameters:
operactionCollection - the ArrayList to copy.

setOperinstruct

public void setOperinstruct(java.lang.String operinstruct)
Sets the value of field 'operinstruct'. The field 'operinstruct' has the following description: The operator instruction for this event

Parameters:
operinstruct - the value of field 'operinstruct'.

setParms

public void setParms(Parms parms)
Sets the value of field 'parms'. The field 'parms' has the following description: The varbinds from the trap

Parameters:
parms - the value of field 'parms'.

setPathoutage

public void setPathoutage(java.lang.String pathoutage)
Sets the value of field 'pathoutage'. The field 'pathoutage' has the following description: The path outage information

Parameters:
pathoutage - the value of field 'pathoutage'.

setScript

public void setScript(int index,
                      Script vScript)
               throws java.lang.IndexOutOfBoundsException
Method setScript

Parameters:
index -
vScript -
Throws:
java.lang.IndexOutOfBoundsException

setScript

public void setScript(Script[] scriptArray)
Method setScript

Parameters:
scriptArray -

setScript

public void setScript(java.util.ArrayList scriptCollection)
Method setScript Sets the value of 'script' by copying the given ArrayList.

Parameters:
scriptCollection - the Vector to copy.

setScriptCollection

public void setScriptCollection(java.util.ArrayList scriptCollection)
Method setScriptCollection Sets the value of 'script' by setting it to the given ArrayList. No type checking is performed.

Parameters:
scriptCollection - the ArrayList to copy.

setService

public void setService(java.lang.String service)
Sets the value of field 'service'. The field 'service' has the following description: The service to which this event is pertinent

Parameters:
service - the value of field 'service'.

setSeverity

public void setSeverity(java.lang.String severity)
Sets the value of field 'severity'. The field 'severity' has the following description: The event severity

Parameters:
severity - the value of field 'severity'.

setSnmp

public void setSnmp(Snmp snmp)
Sets the value of field 'snmp'. The field 'snmp' has the following description: The snmp information from the trap

Parameters:
snmp - the value of field 'snmp'.

setSnmphost

public void setSnmphost(java.lang.String snmphost)
Sets the value of field 'snmphost'. The field 'snmphost' has the following description: The snmp host of the trap

Parameters:
snmphost - the value of field 'snmphost'.

setSource

public void setSource(java.lang.String source)
Sets the value of field 'source'.

Parameters:
source - the value of field 'source'.

setTime

public void setTime(java.lang.String time)
Sets the value of field 'time'. The field 'time' has the following description: The time at which this event was generated. The time is in the format generated by the java.text.DateFormat using the DateFormat.FULL style for the default locale. For example: "Monday, February 18, 2002 3:01:58 PM EST"

Parameters:
time - the value of field 'time'.

setTticket

public void setTticket(Tticket tticket)
Sets the value of field 'tticket'. The field 'tticket' has the following description: The trouble ticket info

Parameters:
tticket - the value of field 'tticket'.

setUei

public void setUei(java.lang.String uei)
Sets the value of field 'uei'. The field 'uei' has the following description: The Universal Event Identifier

Parameters:
uei - the value of field 'uei'.

setUuid

public void setUuid(java.lang.String uuid)
Sets the value of field 'uuid'.

Parameters:
uuid - the value of field 'uuid'.

unmarshal

public static java.lang.Object unmarshal(java.io.Reader reader)
                                  throws org.exolab.castor.xml.MarshalException,
                                         org.exolab.castor.xml.ValidationException
Method unmarshal

Parameters:
reader -
Returns:
Object
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

validate

public void validate()
              throws org.exolab.castor.xml.ValidationException
Method validate

Throws:
org.exolab.castor.xml.ValidationException


Copyright © 2007. All Rights Reserved.