org.opennms.netmgt.config.notifd
Class NotifdConfiguration

java.lang.Object
  extended by org.opennms.netmgt.config.notifd.NotifdConfiguration
All Implemented Interfaces:
java.io.Serializable

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

Top-level element for the notifd-configuration.xml configuration file.

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

Constructor Summary
NotifdConfiguration()
           
 
Method Summary
 void addAutoAcknowledge(AutoAcknowledge vAutoAcknowledge)
          Method addAutoAcknowledge
 void addAutoAcknowledge(int index, AutoAcknowledge vAutoAcknowledge)
          Method addAutoAcknowledge
 void addOutageCalendar(int index, java.lang.String vOutageCalendar)
          Method addOutageCalendar
 void addOutageCalendar(java.lang.String vOutageCalendar)
          Method addOutageCalendar
 void addQueue(int index, Queue vQueue)
          Method addQueue
 void addQueue(Queue vQueue)
          Method addQueue
 void clearAutoAcknowledge()
          Method clearAutoAcknowledge
 void clearOutageCalendar()
          Method clearOutageCalendar
 void clearQueue()
          Method clearQueue
 void deleteMatchAll()
          Method deleteMatchAll
 java.util.Enumeration enumerateAutoAcknowledge()
          Method enumerateAutoAcknowledge
 java.util.Enumeration enumerateOutageCalendar()
          Method enumerateOutageCalendar
 java.util.Enumeration enumerateQueue()
          Method enumerateQueue
 java.lang.String getAcknowledgeIdSql()
          Returns the value of field 'acknowledgeIdSql'.
 java.lang.String getAcknowledgeUpdateSql()
          Returns the value of field 'acknowledgeUpdateSql'.
 AutoAcknowledge[] getAutoAcknowledge()
          Method getAutoAcknowledge
 AutoAcknowledge getAutoAcknowledge(int index)
          Method getAutoAcknowledge
 java.util.ArrayList getAutoAcknowledgeCollection()
          Method getAutoAcknowledgeCollection Returns a reference to 'autoAcknowledge'.
 int getAutoAcknowledgeCount()
          Method getAutoAcknowledgeCount
 boolean getMatchAll()
          Returns the value of field 'matchAll'.
 java.lang.String getNextGroupId()
          Returns the value of field 'nextGroupId'.
 java.lang.String getNextNotifId()
          Returns the value of field 'nextNotifId'.
 java.lang.String getNextUserNotifId()
          Returns the value of field 'nextUserNotifId'.
 java.lang.String[] getOutageCalendar()
          Method getOutageCalendar
 java.lang.String getOutageCalendar(int index)
          Method getOutageCalendar
 java.util.ArrayList getOutageCalendarCollection()
          Method getOutageCalendarCollection Returns a reference to 'outageCalendar'.
 int getOutageCalendarCount()
          Method getOutageCalendarCount
 java.lang.String getOutstandingNoticesSql()
          Returns the value of field 'outstandingNoticesSql'.
 java.lang.String getPagesSent()
          Returns the value of field 'pagesSent'.
 Queue[] getQueue()
          Method getQueue
 Queue getQueue(int index)
          Method getQueue
 java.util.ArrayList getQueueCollection()
          Method getQueueCollection Returns a reference to 'queue'.
 int getQueueCount()
          Method getQueueCount
 java.lang.String getStatus()
          Returns the value of field 'status'.
 boolean hasMatchAll()
          Method hasMatchAll
 boolean isValid()
          Method isValid
 void marshal(org.xml.sax.ContentHandler handler)
          Method marshal
 void marshal(java.io.Writer out)
          Method marshal
 boolean removeAutoAcknowledge(AutoAcknowledge vAutoAcknowledge)
          Method removeAutoAcknowledge
 boolean removeOutageCalendar(java.lang.String vOutageCalendar)
          Method removeOutageCalendar
 boolean removeQueue(Queue vQueue)
          Method removeQueue
 void setAcknowledgeIdSql(java.lang.String acknowledgeIdSql)
          Sets the value of field 'acknowledgeIdSql'.
 void setAcknowledgeUpdateSql(java.lang.String acknowledgeUpdateSql)
          Sets the value of field 'acknowledgeUpdateSql'.
 void setAutoAcknowledge(java.util.ArrayList autoAcknowledgeCollection)
          Method setAutoAcknowledge Sets the value of 'autoAcknowledge' by copying the given ArrayList.
 void setAutoAcknowledge(AutoAcknowledge[] autoAcknowledgeArray)
          Method setAutoAcknowledge
 void setAutoAcknowledge(int index, AutoAcknowledge vAutoAcknowledge)
          Method setAutoAcknowledge
 void setAutoAcknowledgeCollection(java.util.ArrayList autoAcknowledgeCollection)
          Method setAutoAcknowledgeCollection Sets the value of 'autoAcknowledge' by setting it to the given ArrayList.
 void setMatchAll(boolean matchAll)
          Sets the value of field 'matchAll'.
 void setNextGroupId(java.lang.String nextGroupId)
          Sets the value of field 'nextGroupId'.
 void setNextNotifId(java.lang.String nextNotifId)
          Sets the value of field 'nextNotifId'.
 void setNextUserNotifId(java.lang.String nextUserNotifId)
          Sets the value of field 'nextUserNotifId'.
 void setOutageCalendar(java.util.ArrayList outageCalendarCollection)
          Method setOutageCalendar Sets the value of 'outageCalendar' by copying the given ArrayList.
 void setOutageCalendar(int index, java.lang.String vOutageCalendar)
          Method setOutageCalendar
 void setOutageCalendar(java.lang.String[] outageCalendarArray)
          Method setOutageCalendar
 void setOutageCalendarCollection(java.util.ArrayList outageCalendarCollection)
          Method setOutageCalendarCollection Sets the value of 'outageCalendar' by setting it to the given ArrayList.
 void setOutstandingNoticesSql(java.lang.String outstandingNoticesSql)
          Sets the value of field 'outstandingNoticesSql'.
 void setPagesSent(java.lang.String pagesSent)
          Sets the value of field 'pagesSent'.
 void setQueue(java.util.ArrayList queueCollection)
          Method setQueue Sets the value of 'queue' by copying the given ArrayList.
 void setQueue(int index, Queue vQueue)
          Method setQueue
 void setQueue(Queue[] queueArray)
          Method setQueue
 void setQueueCollection(java.util.ArrayList queueCollection)
          Method setQueueCollection Sets the value of 'queue' by setting it to the given ArrayList.
 void setStatus(java.lang.String status)
          Sets the value of field 'status'.
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

NotifdConfiguration

public NotifdConfiguration()
Method Detail

addAutoAcknowledge

public void addAutoAcknowledge(AutoAcknowledge vAutoAcknowledge)
                        throws java.lang.IndexOutOfBoundsException
Method addAutoAcknowledge

Parameters:
vAutoAcknowledge -
Throws:
java.lang.IndexOutOfBoundsException

addAutoAcknowledge

public void addAutoAcknowledge(int index,
                               AutoAcknowledge vAutoAcknowledge)
                        throws java.lang.IndexOutOfBoundsException
Method addAutoAcknowledge

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

addOutageCalendar

public void addOutageCalendar(java.lang.String vOutageCalendar)
                       throws java.lang.IndexOutOfBoundsException
Method addOutageCalendar

Parameters:
vOutageCalendar -
Throws:
java.lang.IndexOutOfBoundsException

addOutageCalendar

public void addOutageCalendar(int index,
                              java.lang.String vOutageCalendar)
                       throws java.lang.IndexOutOfBoundsException
Method addOutageCalendar

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

addQueue

public void addQueue(Queue vQueue)
              throws java.lang.IndexOutOfBoundsException
Method addQueue

Parameters:
vQueue -
Throws:
java.lang.IndexOutOfBoundsException

addQueue

public void addQueue(int index,
                     Queue vQueue)
              throws java.lang.IndexOutOfBoundsException
Method addQueue

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

clearAutoAcknowledge

public void clearAutoAcknowledge()
Method clearAutoAcknowledge


clearOutageCalendar

public void clearOutageCalendar()
Method clearOutageCalendar


clearQueue

public void clearQueue()
Method clearQueue


deleteMatchAll

public void deleteMatchAll()
Method deleteMatchAll


enumerateAutoAcknowledge

public java.util.Enumeration enumerateAutoAcknowledge()
Method enumerateAutoAcknowledge

Returns:
Enumeration

enumerateOutageCalendar

public java.util.Enumeration enumerateOutageCalendar()
Method enumerateOutageCalendar

Returns:
Enumeration

enumerateQueue

public java.util.Enumeration enumerateQueue()
Method enumerateQueue

Returns:
Enumeration

getAcknowledgeIdSql

public java.lang.String getAcknowledgeIdSql()
Returns the value of field 'acknowledgeIdSql'.

Returns:
String

getAcknowledgeUpdateSql

public java.lang.String getAcknowledgeUpdateSql()
Returns the value of field 'acknowledgeUpdateSql'.

Returns:
String

getAutoAcknowledge

public AutoAcknowledge getAutoAcknowledge(int index)
                                   throws java.lang.IndexOutOfBoundsException
Method getAutoAcknowledge

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

getAutoAcknowledge

public AutoAcknowledge[] getAutoAcknowledge()
Method getAutoAcknowledge

Returns:
AutoAcknowledge

getAutoAcknowledgeCollection

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

Returns:
ArrayList

getAutoAcknowledgeCount

public int getAutoAcknowledgeCount()
Method getAutoAcknowledgeCount

Returns:
int

getMatchAll

public boolean getMatchAll()
Returns the value of field 'matchAll'.

Returns:
boolean

getNextGroupId

public java.lang.String getNextGroupId()
Returns the value of field 'nextGroupId'.

Returns:
String

getNextNotifId

public java.lang.String getNextNotifId()
Returns the value of field 'nextNotifId'.

Returns:
String

getNextUserNotifId

public java.lang.String getNextUserNotifId()
Returns the value of field 'nextUserNotifId'.

Returns:
String

getOutageCalendar

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

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

getOutageCalendar

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

Returns:
String

getOutageCalendarCollection

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

Returns:
ArrayList

getOutageCalendarCount

public int getOutageCalendarCount()
Method getOutageCalendarCount

Returns:
int

getOutstandingNoticesSql

public java.lang.String getOutstandingNoticesSql()
Returns the value of field 'outstandingNoticesSql'.

Returns:
String

getPagesSent

public java.lang.String getPagesSent()
Returns the value of field 'pagesSent'.

Returns:
String

getQueue

public Queue getQueue(int index)
               throws java.lang.IndexOutOfBoundsException
Method getQueue

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

getQueue

public Queue[] getQueue()
Method getQueue

Returns:
Queue

getQueueCollection

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

Returns:
ArrayList

getQueueCount

public int getQueueCount()
Method getQueueCount

Returns:
int

getStatus

public java.lang.String getStatus()
Returns the value of field 'status'.

Returns:
String

hasMatchAll

public boolean hasMatchAll()
Method hasMatchAll

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

removeAutoAcknowledge

public boolean removeAutoAcknowledge(AutoAcknowledge vAutoAcknowledge)
Method removeAutoAcknowledge

Parameters:
vAutoAcknowledge -
Returns:
boolean

removeOutageCalendar

public boolean removeOutageCalendar(java.lang.String vOutageCalendar)
Method removeOutageCalendar

Parameters:
vOutageCalendar -
Returns:
boolean

removeQueue

public boolean removeQueue(Queue vQueue)
Method removeQueue

Parameters:
vQueue -
Returns:
boolean

setAcknowledgeIdSql

public void setAcknowledgeIdSql(java.lang.String acknowledgeIdSql)
Sets the value of field 'acknowledgeIdSql'.

Parameters:
acknowledgeIdSql - the value of field 'acknowledgeIdSql'

setAcknowledgeUpdateSql

public void setAcknowledgeUpdateSql(java.lang.String acknowledgeUpdateSql)
Sets the value of field 'acknowledgeUpdateSql'.

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

setAutoAcknowledge

public void setAutoAcknowledge(int index,
                               AutoAcknowledge vAutoAcknowledge)
                        throws java.lang.IndexOutOfBoundsException
Method setAutoAcknowledge

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

setAutoAcknowledge

public void setAutoAcknowledge(AutoAcknowledge[] autoAcknowledgeArray)
Method setAutoAcknowledge

Parameters:
autoAcknowledgeArray -

setAutoAcknowledge

public void setAutoAcknowledge(java.util.ArrayList autoAcknowledgeCollection)
Method setAutoAcknowledge Sets the value of 'autoAcknowledge' by copying the given ArrayList.

Parameters:
autoAcknowledgeCollection - the Vector to copy.

setAutoAcknowledgeCollection

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

Parameters:
autoAcknowledgeCollection - the ArrayList to copy.

setMatchAll

public void setMatchAll(boolean matchAll)
Sets the value of field 'matchAll'.

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

setNextGroupId

public void setNextGroupId(java.lang.String nextGroupId)
Sets the value of field 'nextGroupId'.

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

setNextNotifId

public void setNextNotifId(java.lang.String nextNotifId)
Sets the value of field 'nextNotifId'.

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

setNextUserNotifId

public void setNextUserNotifId(java.lang.String nextUserNotifId)
Sets the value of field 'nextUserNotifId'.

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

setOutageCalendar

public void setOutageCalendar(int index,
                              java.lang.String vOutageCalendar)
                       throws java.lang.IndexOutOfBoundsException
Method setOutageCalendar

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

setOutageCalendar

public void setOutageCalendar(java.lang.String[] outageCalendarArray)
Method setOutageCalendar

Parameters:
outageCalendarArray -

setOutageCalendar

public void setOutageCalendar(java.util.ArrayList outageCalendarCollection)
Method setOutageCalendar Sets the value of 'outageCalendar' by copying the given ArrayList.

Parameters:
outageCalendarCollection - the Vector to copy.

setOutageCalendarCollection

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

Parameters:
outageCalendarCollection - the ArrayList to copy.

setOutstandingNoticesSql

public void setOutstandingNoticesSql(java.lang.String outstandingNoticesSql)
Sets the value of field 'outstandingNoticesSql'.

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

setPagesSent

public void setPagesSent(java.lang.String pagesSent)
Sets the value of field 'pagesSent'.

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

setQueue

public void setQueue(int index,
                     Queue vQueue)
              throws java.lang.IndexOutOfBoundsException
Method setQueue

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

setQueue

public void setQueue(Queue[] queueArray)
Method setQueue

Parameters:
queueArray -

setQueue

public void setQueue(java.util.ArrayList queueCollection)
Method setQueue Sets the value of 'queue' by copying the given ArrayList.

Parameters:
queueCollection - the Vector to copy.

setQueueCollection

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

Parameters:
queueCollection - the ArrayList to copy.

setStatus

public void setStatus(java.lang.String status)
Sets the value of field 'status'.

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

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.