org.opennms.netmgt.config.poller
Class Package

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

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

Package encapsulating addresses, services to be polled for these addresses, etc..

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

Constructor Summary
Package()
           
 
Method Summary
 void addDowntime(Downtime vDowntime)
          Method addDowntime
 void addDowntime(int index, Downtime vDowntime)
          Method addDowntime
 void addExcludeRange(ExcludeRange vExcludeRange)
          Method addExcludeRange
 void addExcludeRange(int index, ExcludeRange vExcludeRange)
          Method addExcludeRange
 void addIncludeRange(IncludeRange vIncludeRange)
          Method addIncludeRange
 void addIncludeRange(int index, IncludeRange vIncludeRange)
          Method addIncludeRange
 void addIncludeUrl(int index, java.lang.String vIncludeUrl)
          Method addIncludeUrl
 void addIncludeUrl(java.lang.String vIncludeUrl)
          Method addIncludeUrl
 void addOutageCalendar(int index, java.lang.String vOutageCalendar)
          Method addOutageCalendar
 void addOutageCalendar(java.lang.String vOutageCalendar)
          Method addOutageCalendar
 void addService(int index, Service vService)
          Method addService
 void addService(Service vService)
          Method addService
 void addSpecific(int index, java.lang.String vSpecific)
          Method addSpecific
 void addSpecific(java.lang.String vSpecific)
          Method addSpecific
 void clearDowntime()
          Method clearDowntime
 void clearExcludeRange()
          Method clearExcludeRange
 void clearIncludeRange()
          Method clearIncludeRange
 void clearIncludeUrl()
          Method clearIncludeUrl
 void clearOutageCalendar()
          Method clearOutageCalendar
 void clearService()
          Method clearService
 void clearSpecific()
          Method clearSpecific
 void deleteRemote()
          Method deleteRemote
 java.util.Enumeration enumerateDowntime()
          Method enumerateDowntime
 java.util.Enumeration enumerateExcludeRange()
          Method enumerateExcludeRange
 java.util.Enumeration enumerateIncludeRange()
          Method enumerateIncludeRange
 java.util.Enumeration enumerateIncludeUrl()
          Method enumerateIncludeUrl
 java.util.Enumeration enumerateOutageCalendar()
          Method enumerateOutageCalendar
 java.util.Enumeration enumerateService()
          Method enumerateService
 java.util.Enumeration enumerateSpecific()
          Method enumerateSpecific
 Downtime[] getDowntime()
          Method getDowntime
 Downtime getDowntime(int index)
          Method getDowntime
 java.util.ArrayList getDowntimeCollection()
          Method getDowntimeCollection Returns a reference to 'downtime'.
 int getDowntimeCount()
          Method getDowntimeCount
 ExcludeRange[] getExcludeRange()
          Method getExcludeRange
 ExcludeRange getExcludeRange(int index)
          Method getExcludeRange
 java.util.ArrayList getExcludeRangeCollection()
          Method getExcludeRangeCollection Returns a reference to 'excludeRange'.
 int getExcludeRangeCount()
          Method getExcludeRangeCount
 Filter getFilter()
          Returns the value of field 'filter'.
 IncludeRange[] getIncludeRange()
          Method getIncludeRange
 IncludeRange getIncludeRange(int index)
          Method getIncludeRange
 java.util.ArrayList getIncludeRangeCollection()
          Method getIncludeRangeCollection Returns a reference to 'includeRange'.
 int getIncludeRangeCount()
          Method getIncludeRangeCount
 java.lang.String[] getIncludeUrl()
          Method getIncludeUrl
 java.lang.String getIncludeUrl(int index)
          Method getIncludeUrl
 java.util.ArrayList getIncludeUrlCollection()
          Method getIncludeUrlCollection Returns a reference to 'includeUrl'.
 int getIncludeUrlCount()
          Method getIncludeUrlCount
 java.lang.String getName()
          Returns the value of field 'name'.
 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
 boolean getRemote()
          Returns the value of field 'remote'.
 Rrd getRrd()
          Returns the value of field 'rrd'.
 Service[] getService()
          Method getService
 Service getService(int index)
          Method getService
 java.util.ArrayList getServiceCollection()
          Method getServiceCollection Returns a reference to 'service'.
 int getServiceCount()
          Method getServiceCount
 java.lang.String[] getSpecific()
          Method getSpecific
 java.lang.String getSpecific(int index)
          Method getSpecific
 java.util.ArrayList getSpecificCollection()
          Method getSpecificCollection Returns a reference to 'specific'.
 int getSpecificCount()
          Method getSpecificCount
 boolean hasRemote()
          Method hasRemote
 boolean isValid()
          Method isValid
 void marshal(org.xml.sax.ContentHandler handler)
          Method marshal
 void marshal(java.io.Writer out)
          Method marshal
 boolean removeDowntime(Downtime vDowntime)
          Method removeDowntime
 boolean removeExcludeRange(ExcludeRange vExcludeRange)
          Method removeExcludeRange
 boolean removeIncludeRange(IncludeRange vIncludeRange)
          Method removeIncludeRange
 boolean removeIncludeUrl(java.lang.String vIncludeUrl)
          Method removeIncludeUrl
 boolean removeOutageCalendar(java.lang.String vOutageCalendar)
          Method removeOutageCalendar
 boolean removeService(Service vService)
          Method removeService
 boolean removeSpecific(java.lang.String vSpecific)
          Method removeSpecific
 void setDowntime(java.util.ArrayList downtimeCollection)
          Method setDowntime Sets the value of 'downtime' by copying the given ArrayList.
 void setDowntime(Downtime[] downtimeArray)
          Method setDowntime
 void setDowntime(int index, Downtime vDowntime)
          Method setDowntime
 void setDowntimeCollection(java.util.ArrayList downtimeCollection)
          Method setDowntimeCollection Sets the value of 'downtime' by setting it to the given ArrayList.
 void setExcludeRange(java.util.ArrayList excludeRangeCollection)
          Method setExcludeRange Sets the value of 'excludeRange' by copying the given ArrayList.
 void setExcludeRange(ExcludeRange[] excludeRangeArray)
          Method setExcludeRange
 void setExcludeRange(int index, ExcludeRange vExcludeRange)
          Method setExcludeRange
 void setExcludeRangeCollection(java.util.ArrayList excludeRangeCollection)
          Method setExcludeRangeCollection Sets the value of 'excludeRange' by setting it to the given ArrayList.
 void setFilter(Filter filter)
          Sets the value of field 'filter'.
 void setIncludeRange(java.util.ArrayList includeRangeCollection)
          Method setIncludeRange Sets the value of 'includeRange' by copying the given ArrayList.
 void setIncludeRange(IncludeRange[] includeRangeArray)
          Method setIncludeRange
 void setIncludeRange(int index, IncludeRange vIncludeRange)
          Method setIncludeRange
 void setIncludeRangeCollection(java.util.ArrayList includeRangeCollection)
          Method setIncludeRangeCollection Sets the value of 'includeRange' by setting it to the given ArrayList.
 void setIncludeUrl(java.util.ArrayList includeUrlCollection)
          Method setIncludeUrl Sets the value of 'includeUrl' by copying the given ArrayList.
 void setIncludeUrl(int index, java.lang.String vIncludeUrl)
          Method setIncludeUrl
 void setIncludeUrl(java.lang.String[] includeUrlArray)
          Method setIncludeUrl
 void setIncludeUrlCollection(java.util.ArrayList includeUrlCollection)
          Method setIncludeUrlCollection Sets the value of 'includeUrl' by setting it to the given ArrayList.
 void setName(java.lang.String name)
          Sets the value of field 'name'.
 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 setRemote(boolean remote)
          Sets the value of field 'remote'.
 void setRrd(Rrd rrd)
          Sets the value of field 'rrd'.
 void setService(java.util.ArrayList serviceCollection)
          Method setService Sets the value of 'service' by copying the given ArrayList.
 void setService(int index, Service vService)
          Method setService
 void setService(Service[] serviceArray)
          Method setService
 void setServiceCollection(java.util.ArrayList serviceCollection)
          Method setServiceCollection Sets the value of 'service' by setting it to the given ArrayList.
 void setSpecific(java.util.ArrayList specificCollection)
          Method setSpecific Sets the value of 'specific' by copying the given ArrayList.
 void setSpecific(int index, java.lang.String vSpecific)
          Method setSpecific
 void setSpecific(java.lang.String[] specificArray)
          Method setSpecific
 void setSpecificCollection(java.util.ArrayList specificCollection)
          Method setSpecificCollection Sets the value of 'specific' 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

Package

public Package()
Method Detail

addDowntime

public void addDowntime(Downtime vDowntime)
                 throws java.lang.IndexOutOfBoundsException
Method addDowntime

Parameters:
vDowntime -
Throws:
java.lang.IndexOutOfBoundsException

addDowntime

public void addDowntime(int index,
                        Downtime vDowntime)
                 throws java.lang.IndexOutOfBoundsException
Method addDowntime

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

addExcludeRange

public void addExcludeRange(ExcludeRange vExcludeRange)
                     throws java.lang.IndexOutOfBoundsException
Method addExcludeRange

Parameters:
vExcludeRange -
Throws:
java.lang.IndexOutOfBoundsException

addExcludeRange

public void addExcludeRange(int index,
                            ExcludeRange vExcludeRange)
                     throws java.lang.IndexOutOfBoundsException
Method addExcludeRange

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

addIncludeRange

public void addIncludeRange(IncludeRange vIncludeRange)
                     throws java.lang.IndexOutOfBoundsException
Method addIncludeRange

Parameters:
vIncludeRange -
Throws:
java.lang.IndexOutOfBoundsException

addIncludeRange

public void addIncludeRange(int index,
                            IncludeRange vIncludeRange)
                     throws java.lang.IndexOutOfBoundsException
Method addIncludeRange

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

addIncludeUrl

public void addIncludeUrl(java.lang.String vIncludeUrl)
                   throws java.lang.IndexOutOfBoundsException
Method addIncludeUrl

Parameters:
vIncludeUrl -
Throws:
java.lang.IndexOutOfBoundsException

addIncludeUrl

public void addIncludeUrl(int index,
                          java.lang.String vIncludeUrl)
                   throws java.lang.IndexOutOfBoundsException
Method addIncludeUrl

Parameters:
index -
vIncludeUrl -
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

addService

public void addService(Service vService)
                throws java.lang.IndexOutOfBoundsException
Method addService

Parameters:
vService -
Throws:
java.lang.IndexOutOfBoundsException

addService

public void addService(int index,
                       Service vService)
                throws java.lang.IndexOutOfBoundsException
Method addService

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

addSpecific

public void addSpecific(java.lang.String vSpecific)
                 throws java.lang.IndexOutOfBoundsException
Method addSpecific

Parameters:
vSpecific -
Throws:
java.lang.IndexOutOfBoundsException

addSpecific

public void addSpecific(int index,
                        java.lang.String vSpecific)
                 throws java.lang.IndexOutOfBoundsException
Method addSpecific

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

clearDowntime

public void clearDowntime()
Method clearDowntime


clearExcludeRange

public void clearExcludeRange()
Method clearExcludeRange


clearIncludeRange

public void clearIncludeRange()
Method clearIncludeRange


clearIncludeUrl

public void clearIncludeUrl()
Method clearIncludeUrl


clearOutageCalendar

public void clearOutageCalendar()
Method clearOutageCalendar


clearService

public void clearService()
Method clearService


clearSpecific

public void clearSpecific()
Method clearSpecific


deleteRemote

public void deleteRemote()
Method deleteRemote


enumerateDowntime

public java.util.Enumeration enumerateDowntime()
Method enumerateDowntime

Returns:
Enumeration

enumerateExcludeRange

public java.util.Enumeration enumerateExcludeRange()
Method enumerateExcludeRange

Returns:
Enumeration

enumerateIncludeRange

public java.util.Enumeration enumerateIncludeRange()
Method enumerateIncludeRange

Returns:
Enumeration

enumerateIncludeUrl

public java.util.Enumeration enumerateIncludeUrl()
Method enumerateIncludeUrl

Returns:
Enumeration

enumerateOutageCalendar

public java.util.Enumeration enumerateOutageCalendar()
Method enumerateOutageCalendar

Returns:
Enumeration

enumerateService

public java.util.Enumeration enumerateService()
Method enumerateService

Returns:
Enumeration

enumerateSpecific

public java.util.Enumeration enumerateSpecific()
Method enumerateSpecific

Returns:
Enumeration

getDowntime

public Downtime getDowntime(int index)
                     throws java.lang.IndexOutOfBoundsException
Method getDowntime

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

getDowntime

public Downtime[] getDowntime()
Method getDowntime

Returns:
Downtime

getDowntimeCollection

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

Returns:
ArrayList

getDowntimeCount

public int getDowntimeCount()
Method getDowntimeCount

Returns:
int

getExcludeRange

public ExcludeRange getExcludeRange(int index)
                             throws java.lang.IndexOutOfBoundsException
Method getExcludeRange

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

getExcludeRange

public ExcludeRange[] getExcludeRange()
Method getExcludeRange

Returns:
ExcludeRange

getExcludeRangeCollection

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

Returns:
ArrayList

getExcludeRangeCount

public int getExcludeRangeCount()
Method getExcludeRangeCount

Returns:
int

getFilter

public Filter getFilter()
Returns the value of field 'filter'. The field 'filter' has the following description: A rule which adresses belonging to this package must pass. This package is applied only to addresses that pass this filter.

Returns:
Filter

getIncludeRange

public IncludeRange getIncludeRange(int index)
                             throws java.lang.IndexOutOfBoundsException
Method getIncludeRange

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

getIncludeRange

public IncludeRange[] getIncludeRange()
Method getIncludeRange

Returns:
IncludeRange

getIncludeRangeCollection

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

Returns:
ArrayList

getIncludeRangeCount

public int getIncludeRangeCount()
Method getIncludeRangeCount

Returns:
int

getIncludeUrl

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

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

getIncludeUrl

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

Returns:
String

getIncludeUrlCollection

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

Returns:
ArrayList

getIncludeUrlCount

public int getIncludeUrlCount()
Method getIncludeUrlCount

Returns:
int

getName

public java.lang.String getName()
Returns the value of field 'name'. The field 'name' has the following description: Name or identifier for this package.

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

getRemote

public boolean getRemote()
Returns the value of field 'remote'. The field 'remote' has the following description: Boolean represnting whether this is a package for a remote location montior. If true, this package will be ignored by the OpenNMS daemon poller.

Returns:
boolean

getRrd

public Rrd getRrd()
Returns the value of field 'rrd'. The field 'rrd' has the following description: RRD parameters for response time data.

Returns:
Rrd

getService

public Service getService(int index)
                   throws java.lang.IndexOutOfBoundsException
Method getService

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

getService

public Service[] getService()
Method getService

Returns:
Service

getServiceCollection

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

Returns:
ArrayList

getServiceCount

public int getServiceCount()
Method getServiceCount

Returns:
int

getSpecific

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

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

getSpecific

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

Returns:
String

getSpecificCollection

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

Returns:
ArrayList

getSpecificCount

public int getSpecificCount()
Method getSpecificCount

Returns:
int

hasRemote

public boolean hasRemote()
Method hasRemote

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

removeDowntime

public boolean removeDowntime(Downtime vDowntime)
Method removeDowntime

Parameters:
vDowntime -
Returns:
boolean

removeExcludeRange

public boolean removeExcludeRange(ExcludeRange vExcludeRange)
Method removeExcludeRange

Parameters:
vExcludeRange -
Returns:
boolean

removeIncludeRange

public boolean removeIncludeRange(IncludeRange vIncludeRange)
Method removeIncludeRange

Parameters:
vIncludeRange -
Returns:
boolean

removeIncludeUrl

public boolean removeIncludeUrl(java.lang.String vIncludeUrl)
Method removeIncludeUrl

Parameters:
vIncludeUrl -
Returns:
boolean

removeOutageCalendar

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

Parameters:
vOutageCalendar -
Returns:
boolean

removeService

public boolean removeService(Service vService)
Method removeService

Parameters:
vService -
Returns:
boolean

removeSpecific

public boolean removeSpecific(java.lang.String vSpecific)
Method removeSpecific

Parameters:
vSpecific -
Returns:
boolean

setDowntime

public void setDowntime(int index,
                        Downtime vDowntime)
                 throws java.lang.IndexOutOfBoundsException
Method setDowntime

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

setDowntime

public void setDowntime(Downtime[] downtimeArray)
Method setDowntime

Parameters:
downtimeArray -

setDowntime

public void setDowntime(java.util.ArrayList downtimeCollection)
Method setDowntime Sets the value of 'downtime' by copying the given ArrayList.

Parameters:
downtimeCollection - the Vector to copy.

setDowntimeCollection

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

Parameters:
downtimeCollection - the ArrayList to copy.

setExcludeRange

public void setExcludeRange(int index,
                            ExcludeRange vExcludeRange)
                     throws java.lang.IndexOutOfBoundsException
Method setExcludeRange

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

setExcludeRange

public void setExcludeRange(ExcludeRange[] excludeRangeArray)
Method setExcludeRange

Parameters:
excludeRangeArray -

setExcludeRange

public void setExcludeRange(java.util.ArrayList excludeRangeCollection)
Method setExcludeRange Sets the value of 'excludeRange' by copying the given ArrayList.

Parameters:
excludeRangeCollection - the Vector to copy.

setExcludeRangeCollection

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

Parameters:
excludeRangeCollection - the ArrayList to copy.

setFilter

public void setFilter(Filter filter)
Sets the value of field 'filter'. The field 'filter' has the following description: A rule which adresses belonging to this package must pass. This package is applied only to addresses that pass this filter.

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

setIncludeRange

public void setIncludeRange(int index,
                            IncludeRange vIncludeRange)
                     throws java.lang.IndexOutOfBoundsException
Method setIncludeRange

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

setIncludeRange

public void setIncludeRange(IncludeRange[] includeRangeArray)
Method setIncludeRange

Parameters:
includeRangeArray -

setIncludeRange

public void setIncludeRange(java.util.ArrayList includeRangeCollection)
Method setIncludeRange Sets the value of 'includeRange' by copying the given ArrayList.

Parameters:
includeRangeCollection - the Vector to copy.

setIncludeRangeCollection

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

Parameters:
includeRangeCollection - the ArrayList to copy.

setIncludeUrl

public void setIncludeUrl(int index,
                          java.lang.String vIncludeUrl)
                   throws java.lang.IndexOutOfBoundsException
Method setIncludeUrl

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

setIncludeUrl

public void setIncludeUrl(java.lang.String[] includeUrlArray)
Method setIncludeUrl

Parameters:
includeUrlArray -

setIncludeUrl

public void setIncludeUrl(java.util.ArrayList includeUrlCollection)
Method setIncludeUrl Sets the value of 'includeUrl' by copying the given ArrayList.

Parameters:
includeUrlCollection - the Vector to copy.

setIncludeUrlCollection

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

Parameters:
includeUrlCollection - the ArrayList to copy.

setName

public void setName(java.lang.String name)
Sets the value of field 'name'. The field 'name' has the following description: Name or identifier for this package.

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

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.

setRemote

public void setRemote(boolean remote)
Sets the value of field 'remote'. The field 'remote' has the following description: Boolean represnting whether this is a package for a remote location montior. If true, this package will be ignored by the OpenNMS daemon poller.

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

setRrd

public void setRrd(Rrd rrd)
Sets the value of field 'rrd'. The field 'rrd' has the following description: RRD parameters for response time data.

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

setService

public void setService(int index,
                       Service vService)
                throws java.lang.IndexOutOfBoundsException
Method setService

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

setService

public void setService(Service[] serviceArray)
Method setService

Parameters:
serviceArray -

setService

public void setService(java.util.ArrayList serviceCollection)
Method setService Sets the value of 'service' by copying the given ArrayList.

Parameters:
serviceCollection - the Vector to copy.

setServiceCollection

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

Parameters:
serviceCollection - the ArrayList to copy.

setSpecific

public void setSpecific(int index,
                        java.lang.String vSpecific)
                 throws java.lang.IndexOutOfBoundsException
Method setSpecific

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

setSpecific

public void setSpecific(java.lang.String[] specificArray)
Method setSpecific

Parameters:
specificArray -

setSpecific

public void setSpecific(java.util.ArrayList specificCollection)
Method setSpecific Sets the value of 'specific' by copying the given ArrayList.

Parameters:
specificCollection - the Vector to copy.

setSpecificCollection

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

Parameters:
specificCollection - the ArrayList to copy.

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.