|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennms.netmgt.config.translator.Translation
public class Translation
List of OpenNMS events for which the passive status keeper will subscribe to translate to an event for a passive node
| Constructor Summary | |
|---|---|
Translation()
|
|
| Method Summary | |
|---|---|
void |
addEventTranslationSpec(EventTranslationSpec vEventTranslationSpec)
Method addEventTranslationSpec |
void |
addEventTranslationSpec(int index,
EventTranslationSpec vEventTranslationSpec)
Method addEventTranslationSpec |
void |
clearEventTranslationSpec()
Method clearEventTranslationSpec |
java.util.Enumeration |
enumerateEventTranslationSpec()
Method enumerateEventTranslationSpec |
EventTranslationSpec[] |
getEventTranslationSpec()
Method getEventTranslationSpec |
EventTranslationSpec |
getEventTranslationSpec(int index)
Method getEventTranslationSpec |
java.util.ArrayList |
getEventTranslationSpecCollection()
Method getEventTranslationSpecCollection Returns a reference to 'eventTranslationSpec'. |
int |
getEventTranslationSpecCount()
Method getEventTranslationSpecCount |
boolean |
isValid()
Method isValid |
void |
marshal(org.xml.sax.ContentHandler handler)
Method marshal |
void |
marshal(java.io.Writer out)
Method marshal |
boolean |
removeEventTranslationSpec(EventTranslationSpec vEventTranslationSpec)
Method removeEventTranslationSpec |
void |
setEventTranslationSpec(java.util.ArrayList eventTranslationSpecCollection)
Method setEventTranslationSpec Sets the value of 'eventTranslationSpec' by copying the given ArrayList. |
void |
setEventTranslationSpec(EventTranslationSpec[] eventTranslationSpecArray)
Method setEventTranslationSpec |
void |
setEventTranslationSpec(int index,
EventTranslationSpec vEventTranslationSpec)
Method setEventTranslationSpec |
void |
setEventTranslationSpecCollection(java.util.ArrayList eventTranslationSpecCollection)
Method setEventTranslationSpecCollection Sets the value of 'eventTranslationSpec' by setting it to the given ArrayList. |
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 Translation()
| Method Detail |
|---|
public void addEventTranslationSpec(EventTranslationSpec vEventTranslationSpec)
throws java.lang.IndexOutOfBoundsException
vEventTranslationSpec -
java.lang.IndexOutOfBoundsException
public void addEventTranslationSpec(int index,
EventTranslationSpec vEventTranslationSpec)
throws java.lang.IndexOutOfBoundsException
index - vEventTranslationSpec -
java.lang.IndexOutOfBoundsExceptionpublic void clearEventTranslationSpec()
public java.util.Enumeration enumerateEventTranslationSpec()
public EventTranslationSpec getEventTranslationSpec(int index)
throws java.lang.IndexOutOfBoundsException
index -
java.lang.IndexOutOfBoundsExceptionpublic EventTranslationSpec[] getEventTranslationSpec()
public java.util.ArrayList getEventTranslationSpecCollection()
public int getEventTranslationSpecCount()
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 removeEventTranslationSpec(EventTranslationSpec vEventTranslationSpec)
vEventTranslationSpec -
public void setEventTranslationSpec(int index,
EventTranslationSpec vEventTranslationSpec)
throws java.lang.IndexOutOfBoundsException
index - vEventTranslationSpec -
java.lang.IndexOutOfBoundsExceptionpublic void setEventTranslationSpec(EventTranslationSpec[] eventTranslationSpecArray)
eventTranslationSpecArray - public void setEventTranslationSpec(java.util.ArrayList eventTranslationSpecCollection)
eventTranslationSpecCollection - the Vector to copy.public void setEventTranslationSpecCollection(java.util.ArrayList eventTranslationSpecCollection)
eventTranslationSpecCollection - the ArrayList to copy.
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 | ||||||||