org.opennms.netmgt.config.notifd
Class AutoAcknowledge

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

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

Class AutoAcknowledge.

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

Constructor Summary
AutoAcknowledge()
           
 
Method Summary
 void addMatch(int index, java.lang.String vMatch)
          Method addMatch
 void addMatch(java.lang.String vMatch)
          Method addMatch
 void clearMatch()
          Method clearMatch
 void deleteNotify()
          Method deleteNotify
 java.util.Enumeration enumerateMatch()
          Method enumerateMatch
 java.lang.String getAcknowledge()
          Returns the value of field 'acknowledge'.
 java.lang.String[] getMatch()
          Method getMatch
 java.lang.String getMatch(int index)
          Method getMatch
 java.util.ArrayList getMatchCollection()
          Method getMatchCollection Returns a reference to 'match'.
 int getMatchCount()
          Method getMatchCount
 boolean getNotify()
          Returns the value of field 'notify'.
 java.lang.String getResolutionPrefix()
          Returns the value of field 'resolutionPrefix'.
 java.lang.String getUei()
          Returns the value of field 'uei'.
 boolean hasNotify()
          Method hasNotify
 boolean isValid()
          Method isValid
 void marshal(org.xml.sax.ContentHandler handler)
          Method marshal
 void marshal(java.io.Writer out)
          Method marshal
 boolean removeMatch(java.lang.String vMatch)
          Method removeMatch
 void setAcknowledge(java.lang.String acknowledge)
          Sets the value of field 'acknowledge'.
 void setMatch(java.util.ArrayList matchCollection)
          Method setMatch Sets the value of 'match' by copying the given ArrayList.
 void setMatch(int index, java.lang.String vMatch)
          Method setMatch
 void setMatch(java.lang.String[] matchArray)
          Method setMatch
 void setMatchCollection(java.util.ArrayList matchCollection)
          Method setMatchCollection Sets the value of 'match' by setting it to the given ArrayList.
 void setNotify(boolean notify)
          Sets the value of field 'notify'.
 void setResolutionPrefix(java.lang.String resolutionPrefix)
          Sets the value of field 'resolutionPrefix'.
 void setUei(java.lang.String uei)
          Sets the value of field 'uei'.
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

AutoAcknowledge

public AutoAcknowledge()
Method Detail

addMatch

public void addMatch(java.lang.String vMatch)
              throws java.lang.IndexOutOfBoundsException
Method addMatch

Parameters:
vMatch -
Throws:
java.lang.IndexOutOfBoundsException

addMatch

public void addMatch(int index,
                     java.lang.String vMatch)
              throws java.lang.IndexOutOfBoundsException
Method addMatch

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

clearMatch

public void clearMatch()
Method clearMatch


deleteNotify

public void deleteNotify()
Method deleteNotify


enumerateMatch

public java.util.Enumeration enumerateMatch()
Method enumerateMatch

Returns:
Enumeration

getAcknowledge

public java.lang.String getAcknowledge()
Returns the value of field 'acknowledge'.

Returns:
String

getMatch

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

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

getMatch

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

Returns:
String

getMatchCollection

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

Returns:
ArrayList

getMatchCount

public int getMatchCount()
Method getMatchCount

Returns:
int

getNotify

public boolean getNotify()
Returns the value of field 'notify'.

Returns:
boolean

getResolutionPrefix

public java.lang.String getResolutionPrefix()
Returns the value of field 'resolutionPrefix'.

Returns:
String

getUei

public java.lang.String getUei()
Returns the value of field 'uei'.

Returns:
String

hasNotify

public boolean hasNotify()
Method hasNotify

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

removeMatch

public boolean removeMatch(java.lang.String vMatch)
Method removeMatch

Parameters:
vMatch -
Returns:
boolean

setAcknowledge

public void setAcknowledge(java.lang.String acknowledge)
Sets the value of field 'acknowledge'.

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

setMatch

public void setMatch(int index,
                     java.lang.String vMatch)
              throws java.lang.IndexOutOfBoundsException
Method setMatch

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

setMatch

public void setMatch(java.lang.String[] matchArray)
Method setMatch

Parameters:
matchArray -

setMatch

public void setMatch(java.util.ArrayList matchCollection)
Method setMatch Sets the value of 'match' by copying the given ArrayList.

Parameters:
matchCollection - the Vector to copy.

setMatchCollection

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

Parameters:
matchCollection - the ArrayList to copy.

setNotify

public void setNotify(boolean notify)
Sets the value of field 'notify'.

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

setResolutionPrefix

public void setResolutionPrefix(java.lang.String resolutionPrefix)
Sets the value of field 'resolutionPrefix'.

Parameters:
resolutionPrefix - the value of field 'resolutionPrefix'

setUei

public void setUei(java.lang.String uei)
Sets the value of field 'uei'.

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

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.