|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennms.netmgt.xml.event.Event
public class Event
Class Event.
| 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,
String vLoggroup)
|
void |
addLoggroup(String vLoggroup)
|
void |
addOperaction(int index,
Operaction vOperaction)
|
void |
addOperaction(Operaction vOperaction)
|
void |
addScript(int index,
Script vScript)
|
void |
addScript(Script vScript)
|
void |
deleteDbid()
|
void |
deleteNodeid()
|
Enumeration<Autoaction> |
enumerateAutoaction()
Method enumerateAutoaction. |
Enumeration<Forward> |
enumerateForward()
Method enumerateForward. |
Enumeration<String> |
enumerateLoggroup()
Method enumerateLoggroup. |
Enumeration<Operaction> |
enumerateOperaction()
Method enumerateOperaction. |
Enumeration<Script> |
enumerateScript()
Method enumerateScript. |
AlarmData |
getAlarmData()
Returns the value of field 'alarmData'. |
Autoacknowledge |
getAutoacknowledge()
Returns the value of field 'autoacknowledge'. |
Autoaction[] |
getAutoaction()
Method getAutoaction.Returns the contents of the collection in an Array. |
Autoaction |
getAutoaction(int index)
Method getAutoaction. |
List<Autoaction> |
getAutoactionCollection()
Method getAutoactionCollection.Returns a reference to '_autoactionList'. |
int |
getAutoactionCount()
Method getAutoactionCount. |
Correlation |
getCorrelation()
Returns the value of field 'correlation'. |
String |
getCreationTime()
Returns the value of field 'creationTime'. |
int |
getDbid()
Returns the value of field 'dbid'. |
String |
getDescr()
Returns the value of field 'descr'. |
String |
getDistPoller()
Returns the value of field 'distPoller'. |
Forward[] |
getForward()
Method getForward.Returns the contents of the collection in an Array. |
Forward |
getForward(int index)
Method getForward. |
List<Forward> |
getForwardCollection()
Method getForwardCollection.Returns a reference to '_forwardList'. |
int |
getForwardCount()
Method getForwardCount. |
String |
getHost()
Returns the value of field 'host'. |
String |
getIfAlias()
Returns the value of field 'ifAlias'. |
String |
getIfIndex()
Returns the value of field 'ifIndex'. |
String |
getInterface()
Returns the value of field 'interface'. |
String[] |
getLoggroup()
Method getLoggroup.Returns the contents of the collection in an Array. |
String |
getLoggroup(int index)
Method getLoggroup. |
List<String> |
getLoggroupCollection()
Method getLoggroupCollection.Returns a reference to '_loggroupList'. |
int |
getLoggroupCount()
Method getLoggroupCount. |
Logmsg |
getLogmsg()
Returns the value of field 'logmsg'. |
Mask |
getMask()
Returns the value of field 'mask'. |
String |
getMasterStation()
Returns the value of field 'masterStation'. |
String |
getMouseovertext()
Returns the value of field 'mouseovertext'. |
long |
getNodeid()
Returns the value of field 'nodeid'. |
Operaction[] |
getOperaction()
Method getOperaction.Returns the contents of the collection in an Array. |
Operaction |
getOperaction(int index)
Method getOperaction. |
List<Operaction> |
getOperactionCollection()
Method getOperactionCollection.Returns a reference to '_operactionList'. |
int |
getOperactionCount()
Method getOperactionCount. |
String |
getOperinstruct()
Returns the value of field 'operinstruct'. |
Parms |
getParms()
Returns the value of field 'parms'. |
String |
getPathoutage()
Returns the value of field 'pathoutage'. |
Script[] |
getScript()
Method getScript.Returns the contents of the collection in an Array. |
Script |
getScript(int index)
Method getScript. |
List<Script> |
getScriptCollection()
Method getScriptCollection.Returns a reference to '_scriptList'. |
int |
getScriptCount()
Method getScriptCount. |
String |
getService()
Returns the value of field 'service'. |
String |
getSeverity()
Returns the value of field 'severity'. |
Snmp |
getSnmp()
Returns the value of field 'snmp'. |
String |
getSnmphost()
Returns the value of field 'snmphost'. |
String |
getSource()
Returns the value of field 'source'. |
String |
getTime()
Returns the value of field 'time'. |
Tticket |
getTticket()
Returns the value of field 'tticket'. |
String |
getUei()
Returns the value of field 'uei'. |
String |
getUuid()
Returns the value of field 'uuid'. |
boolean |
hasDbid()
Method hasDbid. |
boolean |
hasNodeid()
Method hasNodeid. |
boolean |
isValid()
Method isValid. |
Iterator<Autoaction> |
iterateAutoaction()
Method iterateAutoaction. |
Iterator<Forward> |
iterateForward()
Method iterateForward. |
Iterator<String> |
iterateLoggroup()
Method iterateLoggroup. |
Iterator<Operaction> |
iterateOperaction()
Method iterateOperaction. |
Iterator<Script> |
iterateScript()
Method iterateScript. |
void |
marshal(ContentHandler handler)
|
void |
marshal(Writer out)
|
void |
removeAllAutoaction()
|
void |
removeAllForward()
|
void |
removeAllLoggroup()
|
void |
removeAllOperaction()
|
void |
removeAllScript()
|
boolean |
removeAutoaction(Autoaction vAutoaction)
Method removeAutoaction. |
Autoaction |
removeAutoactionAt(int index)
Method removeAutoactionAt. |
boolean |
removeForward(Forward vForward)
Method removeForward. |
Forward |
removeForwardAt(int index)
Method removeForwardAt. |
boolean |
removeLoggroup(String vLoggroup)
Method removeLoggroup. |
String |
removeLoggroupAt(int index)
Method removeLoggroupAt. |
boolean |
removeOperaction(Operaction vOperaction)
Method removeOperaction. |
Operaction |
removeOperactionAt(int index)
Method removeOperactionAt. |
boolean |
removeScript(Script vScript)
Method removeScript. |
Script |
removeScriptAt(int index)
Method removeScriptAt. |
void |
setAlarmData(AlarmData alarmData)
Sets the value of field 'alarmData'. |
void |
setAutoacknowledge(Autoacknowledge autoacknowledge)
Sets the value of field 'autoacknowledge'. |
void |
setAutoaction(Autoaction[] vAutoactionArray)
|
void |
setAutoaction(int index,
Autoaction vAutoaction)
|
void |
setAutoaction(List<Autoaction> vAutoactionList)
Sets the value of '_autoactionList' by copying the given Vector. |
void |
setAutoactionCollection(List<Autoaction> autoactionList)
Deprecated. |
void |
setCorrelation(Correlation correlation)
Sets the value of field 'correlation'. |
void |
setCreationTime(String creationTime)
Sets the value of field 'creationTime'. |
void |
setDbid(int dbid)
Sets the value of field 'dbid'. |
void |
setDescr(String descr)
Sets the value of field 'descr'. |
void |
setDistPoller(String distPoller)
Sets the value of field 'distPoller'. |
void |
setForward(Forward[] vForwardArray)
|
void |
setForward(int index,
Forward vForward)
|
void |
setForward(List<Forward> vForwardList)
Sets the value of '_forwardList' by copying the given Vector. |
void |
setForwardCollection(List<Forward> forwardList)
Deprecated. |
void |
setHost(String host)
Sets the value of field 'host'. |
void |
setIfAlias(String ifAlias)
Sets the value of field 'ifAlias'. |
void |
setIfIndex(String ifIndex)
Sets the value of field 'ifIndex'. |
void |
setInterface(String _interface)
Sets the value of field 'interface'. |
void |
setLoggroup(int index,
String vLoggroup)
|
void |
setLoggroup(List<String> vLoggroupList)
Sets the value of '_loggroupList' by copying the given Vector. |
void |
setLoggroup(String[] vLoggroupArray)
|
void |
setLoggroupCollection(List<String> loggroupList)
Deprecated. |
void |
setLogmsg(Logmsg logmsg)
Sets the value of field 'logmsg'. |
void |
setMask(Mask mask)
Sets the value of field 'mask'. |
void |
setMasterStation(String masterStation)
Sets the value of field 'masterStation'. |
void |
setMouseovertext(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(List<Operaction> vOperactionList)
Sets the value of '_operactionList' by copying the given Vector. |
void |
setOperaction(Operaction[] vOperactionArray)
|
void |
setOperactionCollection(List<Operaction> operactionList)
Deprecated. |
void |
setOperinstruct(String operinstruct)
Sets the value of field 'operinstruct'. |
void |
setParms(Parms parms)
Sets the value of field 'parms'. |
void |
setPathoutage(String pathoutage)
Sets the value of field 'pathoutage'. |
void |
setScript(int index,
Script vScript)
|
void |
setScript(List<Script> vScriptList)
Sets the value of '_scriptList' by copying the given Vector. |
void |
setScript(Script[] vScriptArray)
|
void |
setScriptCollection(List<Script> scriptList)
Deprecated. |
void |
setService(String service)
Sets the value of field 'service'. |
void |
setSeverity(String severity)
Sets the value of field 'severity'. |
void |
setSnmp(Snmp snmp)
Sets the value of field 'snmp'. |
void |
setSnmphost(String snmphost)
Sets the value of field 'snmphost'. |
void |
setSource(String source)
Sets the value of field 'source'. |
void |
setTime(String time)
Sets the value of field 'time'. |
void |
setTticket(Tticket tticket)
Sets the value of field 'tticket'. |
void |
setUei(String uei)
Sets the value of field 'uei'. |
void |
setUuid(String uuid)
Sets the value of field 'uuid'. |
static Event |
unmarshal(Reader reader)
Method unmarshal. |
void |
validate()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Event()
| Method Detail |
|---|
public void addAutoaction(Autoaction vAutoaction)
throws IndexOutOfBoundsException
vAutoaction -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collection
public void addAutoaction(int index,
Autoaction vAutoaction)
throws IndexOutOfBoundsException
index - vAutoaction -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collection
public void addForward(Forward vForward)
throws IndexOutOfBoundsException
vForward -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collection
public void addForward(int index,
Forward vForward)
throws IndexOutOfBoundsException
index - vForward -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collection
public void addLoggroup(String vLoggroup)
throws IndexOutOfBoundsException
vLoggroup -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collection
public void addLoggroup(int index,
String vLoggroup)
throws IndexOutOfBoundsException
index - vLoggroup -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collection
public void addOperaction(Operaction vOperaction)
throws IndexOutOfBoundsException
vOperaction -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collection
public void addOperaction(int index,
Operaction vOperaction)
throws IndexOutOfBoundsException
index - vOperaction -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collection
public void addScript(Script vScript)
throws IndexOutOfBoundsException
vScript -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collection
public void addScript(int index,
Script vScript)
throws IndexOutOfBoundsException
index - vScript -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic void deleteDbid()
public void deleteNodeid()
public Enumeration<Autoaction> enumerateAutoaction()
public Enumeration<Forward> enumerateForward()
public Enumeration<String> enumerateLoggroup()
public Enumeration<Operaction> enumerateOperaction()
public Enumeration<Script> enumerateScript()
public AlarmData getAlarmData()
public Autoacknowledge getAutoacknowledge()
public Autoaction getAutoaction(int index)
throws IndexOutOfBoundsException
index -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic Autoaction[] getAutoaction()
Note: Just in case the collection contents are changing in another thread, we pass a 0-length Array of the correct type into the API call. This way we know that the Array returned is of exactly the correct length.
public List<Autoaction> getAutoactionCollection()
public int getAutoactionCount()
public Correlation getCorrelation()
public String getCreationTime()
public int getDbid()
public String getDescr()
public String getDistPoller()
public Forward getForward(int index)
throws IndexOutOfBoundsException
index -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic Forward[] getForward()
Note: Just in case the collection contents are changing in another thread, we pass a 0-length Array of the correct type into the API call. This way we know that the Array returned is of exactly the correct length.
public List<Forward> getForwardCollection()
public int getForwardCount()
public String getHost()
public String getIfAlias()
public String getIfIndex()
public String getInterface()
public String getLoggroup(int index)
throws IndexOutOfBoundsException
index -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic String[] getLoggroup()
Note: Just in case the collection contents are changing in another thread, we pass a 0-length Array of the correct type into the API call. This way we know that the Array returned is of exactly the correct length.
public List<String> getLoggroupCollection()
public int getLoggroupCount()
public Logmsg getLogmsg()
public Mask getMask()
public String getMasterStation()
public String getMouseovertext()
public long getNodeid()
public Operaction getOperaction(int index)
throws IndexOutOfBoundsException
index -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic Operaction[] getOperaction()
Note: Just in case the collection contents are changing in another thread, we pass a 0-length Array of the correct type into the API call. This way we know that the Array returned is of exactly the correct length.
public List<Operaction> getOperactionCollection()
public int getOperactionCount()
public String getOperinstruct()
public Parms getParms()
public String getPathoutage()
public Script getScript(int index)
throws IndexOutOfBoundsException
index -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic Script[] getScript()
Note: Just in case the collection contents are changing in another thread, we pass a 0-length Array of the correct type into the API call. This way we know that the Array returned is of exactly the correct length.
public List<Script> getScriptCollection()
public int getScriptCount()
public String getService()
public String getSeverity()
public Snmp getSnmp()
public String getSnmphost()
public String getSource()
public String getTime()
public Tticket getTticket()
public String getUei()
public String getUuid()
public boolean hasDbid()
public boolean hasNodeid()
public boolean isValid()
public Iterator<Autoaction> iterateAutoaction()
public Iterator<Forward> iterateForward()
public Iterator<String> iterateLoggroup()
public Iterator<Operaction> iterateOperaction()
public Iterator<Script> iterateScript()
public void marshal(Writer out)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
out -
org.exolab.castor.xml.MarshalException - if object is
null or if any SAXException is thrown during marshaling
org.exolab.castor.xml.ValidationException - if this
object is an invalid instance according to the schema
public void marshal(ContentHandler handler)
throws IOException,
org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
handler -
IOException - if an IOException occurs during
marshaling
org.exolab.castor.xml.ValidationException - if this
object is an invalid instance according to the schema
org.exolab.castor.xml.MarshalException - if object is
null or if any SAXException is thrown during marshalingpublic void removeAllAutoaction()
public void removeAllForward()
public void removeAllLoggroup()
public void removeAllOperaction()
public void removeAllScript()
public boolean removeAutoaction(Autoaction vAutoaction)
vAutoaction -
public Autoaction removeAutoactionAt(int index)
index -
public boolean removeForward(Forward vForward)
vForward -
public Forward removeForwardAt(int index)
index -
public boolean removeLoggroup(String vLoggroup)
vLoggroup -
public String removeLoggroupAt(int index)
index -
public boolean removeOperaction(Operaction vOperaction)
vOperaction -
public Operaction removeOperactionAt(int index)
index -
public boolean removeScript(Script vScript)
vScript -
public Script removeScriptAt(int index)
index -
public void setAlarmData(AlarmData alarmData)
alarmData - the value of field 'alarmData'.public void setAutoacknowledge(Autoacknowledge autoacknowledge)
autoacknowledge - the value of field 'autoacknowledge'.
public void setAutoaction(int index,
Autoaction vAutoaction)
throws IndexOutOfBoundsException
index - vAutoaction -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic void setAutoaction(Autoaction[] vAutoactionArray)
vAutoactionArray - public void setAutoaction(List<Autoaction> vAutoactionList)
vAutoactionList - the Vector to copy.public void setAutoactionCollection(List<Autoaction> autoactionList)
autoactionList - the Vector to set.public void setCorrelation(Correlation correlation)
correlation - the value of field 'correlation'.public void setCreationTime(String creationTime)
creationTime - the value of field 'creationTime'.public void setDbid(int dbid)
dbid - the value of field 'dbid'.public void setDescr(String descr)
descr - the value of field 'descr'.public void setDistPoller(String distPoller)
distPoller - the value of field 'distPoller'.
public void setForward(int index,
Forward vForward)
throws IndexOutOfBoundsException
index - vForward -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic void setForward(Forward[] vForwardArray)
vForwardArray - public void setForward(List<Forward> vForwardList)
vForwardList - the Vector to copy.public void setForwardCollection(List<Forward> forwardList)
forwardList - the Vector to set.public void setHost(String host)
host - the value of field 'host'.public void setIfAlias(String ifAlias)
ifAlias - the value of field 'ifAlias'.public void setIfIndex(String ifIndex)
ifIndex - the value of field 'ifIndex'.public void setInterface(String _interface)
_interface - interface - the value of field 'interface'.
public void setLoggroup(int index,
String vLoggroup)
throws IndexOutOfBoundsException
index - vLoggroup -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic void setLoggroup(String[] vLoggroupArray)
vLoggroupArray - public void setLoggroup(List<String> vLoggroupList)
vLoggroupList - the Vector to copy.public void setLoggroupCollection(List<String> loggroupList)
loggroupList - the Vector to set.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(String masterStation)
masterStation - the value of field 'masterStation'.public void setMouseovertext(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 IndexOutOfBoundsException
index - vOperaction -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic void setOperaction(Operaction[] vOperactionArray)
vOperactionArray - public void setOperaction(List<Operaction> vOperactionList)
vOperactionList - the Vector to copy.public void setOperactionCollection(List<Operaction> operactionList)
operactionList - the Vector to set.public void setOperinstruct(String operinstruct)
operinstruct - the value of field 'operinstruct'.public void setParms(Parms parms)
parms - the value of field 'parms'.public void setPathoutage(String pathoutage)
pathoutage - the value of field 'pathoutage'.
public void setScript(int index,
Script vScript)
throws IndexOutOfBoundsException
index - vScript -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic void setScript(Script[] vScriptArray)
vScriptArray - public void setScript(List<Script> vScriptList)
vScriptList - the Vector to copy.public void setScriptCollection(List<Script> scriptList)
scriptList - the Vector to set.public void setService(String service)
service - the value of field 'service'.public void setSeverity(String severity)
severity - the value of field 'severity'.public void setSnmp(Snmp snmp)
snmp - the value of field 'snmp'.public void setSnmphost(String snmphost)
snmphost - the value of field 'snmphost'.public void setSource(String source)
source - the value of field 'source'.public void setTime(String time)
time - the value of field 'time'.public void setTticket(Tticket tticket)
tticket - the value of field 'tticket'.public void setUei(String uei)
uei - the value of field 'uei'.public void setUuid(String uuid)
uuid - the value of field 'uuid'.
public static Event unmarshal(Reader reader)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
reader -
org.exolab.castor.xml.MarshalException - if object is
null or if any SAXException is thrown during marshaling
org.exolab.castor.xml.ValidationException - if this
object is an invalid instance according to the schema
public void validate()
throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationException - if this
object is an invalid instance according to the schema
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||