|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennms.netmgt.xml.eventconf.Events
public class Events
Class Events.
| Constructor Summary | |
|---|---|
Events()
|
|
| Method Summary | |
|---|---|
void |
addEvent(Event vEvent)
Method addEvent |
void |
addEvent(int index,
Event vEvent)
Method addEvent |
void |
addEventFile(int index,
java.lang.String vEventFile)
Method addEventFile |
void |
addEventFile(java.lang.String vEventFile)
Method addEventFile |
void |
clearEvent()
Method clearEvent |
void |
clearEventFile()
Method clearEventFile |
java.util.Enumeration |
enumerateEvent()
Method enumerateEvent |
java.util.Enumeration |
enumerateEventFile()
Method enumerateEventFile |
Event[] |
getEvent()
Method getEvent |
Event |
getEvent(int index)
Method getEvent |
java.util.ArrayList |
getEventCollection()
Method getEventCollection Returns a reference to 'event'. |
int |
getEventCount()
Method getEventCount |
java.lang.String[] |
getEventFile()
Method getEventFile |
java.lang.String |
getEventFile(int index)
Method getEventFile |
java.util.ArrayList |
getEventFileCollection()
Method getEventFileCollection Returns a reference to 'eventFile'. |
int |
getEventFileCount()
Method getEventFileCount |
Global |
getGlobal()
Returns the value of field 'global'. |
boolean |
isValid()
Method isValid |
void |
marshal(org.xml.sax.ContentHandler handler)
Method marshal |
void |
marshal(java.io.Writer out)
Method marshal |
boolean |
removeEvent(Event vEvent)
Method removeEvent |
boolean |
removeEventFile(java.lang.String vEventFile)
Method removeEventFile |
void |
setEvent(java.util.ArrayList eventCollection)
Method setEvent Sets the value of 'event' by copying the given ArrayList. |
void |
setEvent(Event[] eventArray)
Method setEvent |
void |
setEvent(int index,
Event vEvent)
Method setEvent |
void |
setEventCollection(java.util.ArrayList eventCollection)
Method setEventCollection Sets the value of 'event' by setting it to the given ArrayList. |
void |
setEventFile(java.util.ArrayList eventFileCollection)
Method setEventFile Sets the value of 'eventFile' by copying the given ArrayList. |
void |
setEventFile(int index,
java.lang.String vEventFile)
Method setEventFile |
void |
setEventFile(java.lang.String[] eventFileArray)
Method setEventFile |
void |
setEventFileCollection(java.util.ArrayList eventFileCollection)
Method setEventFileCollection Sets the value of 'eventFile' by setting it to the given ArrayList. |
void |
setGlobal(Global global)
Sets the value of field 'global'. |
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 |
|---|
public Events()
| Method Detail |
|---|
public void addEvent(Event vEvent)
throws java.lang.IndexOutOfBoundsException
vEvent -
java.lang.IndexOutOfBoundsException
public void addEvent(int index,
Event vEvent)
throws java.lang.IndexOutOfBoundsException
index - vEvent -
java.lang.IndexOutOfBoundsException
public void addEventFile(java.lang.String vEventFile)
throws java.lang.IndexOutOfBoundsException
vEventFile -
java.lang.IndexOutOfBoundsException
public void addEventFile(int index,
java.lang.String vEventFile)
throws java.lang.IndexOutOfBoundsException
index - vEventFile -
java.lang.IndexOutOfBoundsExceptionpublic void clearEvent()
public void clearEventFile()
public java.util.Enumeration enumerateEvent()
public java.util.Enumeration enumerateEventFile()
public Event getEvent(int index)
throws java.lang.IndexOutOfBoundsException
index -
java.lang.IndexOutOfBoundsExceptionpublic Event[] getEvent()
public java.util.ArrayList getEventCollection()
public int getEventCount()
public java.lang.String getEventFile(int index)
throws java.lang.IndexOutOfBoundsException
index -
java.lang.IndexOutOfBoundsExceptionpublic java.lang.String[] getEventFile()
public java.util.ArrayList getEventFileCollection()
public int getEventFileCount()
public Global getGlobal()
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.ContentHandler handler)
throws java.io.IOException,
org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
handler -
java.io.IOException
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationExceptionpublic boolean removeEvent(Event vEvent)
vEvent -
public boolean removeEventFile(java.lang.String vEventFile)
vEventFile -
public void setEvent(int index,
Event vEvent)
throws java.lang.IndexOutOfBoundsException
index - vEvent -
java.lang.IndexOutOfBoundsExceptionpublic void setEvent(Event[] eventArray)
eventArray - public void setEvent(java.util.ArrayList eventCollection)
eventCollection - the Vector to copy.public void setEventCollection(java.util.ArrayList eventCollection)
eventCollection - the ArrayList to copy.
public void setEventFile(int index,
java.lang.String vEventFile)
throws java.lang.IndexOutOfBoundsException
index - vEventFile -
java.lang.IndexOutOfBoundsExceptionpublic void setEventFile(java.lang.String[] eventFileArray)
eventFileArray - public void setEventFile(java.util.ArrayList eventFileCollection)
eventFileCollection - the Vector to copy.public void setEventFileCollection(java.util.ArrayList eventFileCollection)
eventFileCollection - the ArrayList to copy.public void setGlobal(Global global)
global - the value of field 'global'.
public static java.lang.Object 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
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||