org.opennms.netmgt.config.collectd
Class Package

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

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

Package encapsulating addresses eligible to have SNMP data collected from them.

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

Constructor Summary
Package()
           
 
Method Summary
 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 clearExcludeRange()
          Method clearExcludeRange
 void clearIncludeRange()
          Method clearIncludeRange
 void clearIncludeUrl()
          Method clearIncludeUrl
 void clearOutageCalendar()
          Method clearOutageCalendar
 void clearService()
          Method clearService
 void clearSpecific()
          Method clearSpecific
 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
 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'.
 java.lang.String getIfAliasComment()
          Returns the value of field 'ifAliasComment'.
 java.lang.String getIfAliasDomain()
          Returns the value of field 'ifAliasDomain'.
 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
 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
 java.lang.String getStoreByIfAlias()
          Returns the value of field 'storeByIfAlias'.
 java.lang.String getStoreByNodeID()
          Returns the value of field 'storeByNodeID'.
 java.lang.String getStorFlagOverride()
          Returns the value of field 'storFlagOverride'.
 boolean isValid()
          Method isValid
 void marshal(org.xml.sax.ContentHandler handler)
          Method marshal
 void marshal(java.io.Writer out)
          Method marshal
 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 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 setIfAliasComment(java.lang.String ifAliasComment)
          Sets the value of field 'ifAliasComment'.
 void setIfAliasDomain(java.lang.String ifAliasDomain)
          Sets the value of field 'ifAliasDomain'.
 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 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.
 void setStoreByIfAlias(java.lang.String storeByIfAlias)
          Sets the value of field 'storeByIfAlias'.
 void setStoreByNodeID(java.lang.String storeByNodeID)
          Sets the value of field 'storeByNodeID'.
 void setStorFlagOverride(java.lang.String storFlagOverride)
          Sets the value of field 'storFlagOverride'.
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

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

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


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

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

getIfAliasComment

public java.lang.String getIfAliasComment()
Returns the value of field 'ifAliasComment'. The field 'ifAliasComment' has the following description: A character or string for terminating ifAlias text. In effect, any text beginning with this character or string becomes a comment and is not considered part of the ifAlias when naming storage files and displaying data. Defaults to null.

Returns:
String

getIfAliasDomain

public java.lang.String getIfAliasDomain()
Returns the value of field 'ifAliasDomain'. The field 'ifAliasDomain' has the following description: The name of the domain covered by this collection package. Defaults to package name.

Returns:
String

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: The 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

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

getStorFlagOverride

public java.lang.String getStorFlagOverride()
Returns the value of field 'storFlagOverride'. The field 'storFlagOverride' has the following description: Flag for controlling how interfaces are selected for data collection by domain/ifAlias. If true, storage will occur for any interface on the node found to have an valid ifAlias. Otherwise data will be stored only if the interface is configured for data collection. Defaults to false.

Returns:
String

getStoreByIfAlias

public java.lang.String getStoreByIfAlias()
Returns the value of field 'storeByIfAlias'. The field 'storeByIfAlias' has the following description: Flag for storing collected data by domain/ifAlias. Defaults to false. Allowable values are true, false.

Returns:
String

getStoreByNodeID

public java.lang.String getStoreByNodeID()
Returns the value of field 'storeByNodeID'. The field 'storeByNodeID' has the following description: Flag for storing collected data by nodeid/interface name. Defaults to normal. Allowable values are true, false, normal.

Returns:
String

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

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

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'.

setIfAliasComment

public void setIfAliasComment(java.lang.String ifAliasComment)
Sets the value of field 'ifAliasComment'. The field 'ifAliasComment' has the following description: A character or string for terminating ifAlias text. In effect, any text beginning with this character or string becomes a comment and is not considered part of the ifAlias when naming storage files and displaying data. Defaults to null.

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

setIfAliasDomain

public void setIfAliasDomain(java.lang.String ifAliasDomain)
Sets the value of field 'ifAliasDomain'. The field 'ifAliasDomain' has the following description: The name of the domain covered by this collection package. Defaults to package name.

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

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: The 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.

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.

setStorFlagOverride

public void setStorFlagOverride(java.lang.String storFlagOverride)
Sets the value of field 'storFlagOverride'. The field 'storFlagOverride' has the following description: Flag for controlling how interfaces are selected for data collection by domain/ifAlias. If true, storage will occur for any interface on the node found to have an valid ifAlias. Otherwise data will be stored only if the interface is configured for data collection. Defaults to false.

Parameters:
storFlagOverride - the value of field 'storFlagOverride'

setStoreByIfAlias

public void setStoreByIfAlias(java.lang.String storeByIfAlias)
Sets the value of field 'storeByIfAlias'. The field 'storeByIfAlias' has the following description: Flag for storing collected data by domain/ifAlias. Defaults to false. Allowable values are true, false.

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

setStoreByNodeID

public void setStoreByNodeID(java.lang.String storeByNodeID)
Sets the value of field 'storeByNodeID'. The field 'storeByNodeID' has the following description: Flag for storing collected data by nodeid/interface name. Defaults to normal. Allowable values are true, false, normal.

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

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.