org.opennms.netmgt.config.linkd
Class Package

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

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

Package encapsulating addresses to performs the Discovery of Links among 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 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 clearSpecific()
          Method clearSpecific
 void deleteAutoDiscovery()
          Method deleteAutoDiscovery
 void deleteDiscovery_link_interval()
          Method deleteDiscovery_link_interval
 void deleteEnableDiscoveryDownload()
          Method deleteEnableDiscoveryDownload
 void deleteEnableVlanDiscovery()
          Method deleteEnableVlanDiscovery
 void deleteSaveRouteTable()
          Method deleteSaveRouteTable
 void deleteSaveStpInterfaceTable()
          Method deleteSaveStpInterfaceTable
 void deleteSaveStpNodeTable()
          Method deleteSaveStpNodeTable
 void deleteSnmp_poll_interval()
          Method deleteSnmp_poll_interval
 void deleteUseBridgeDiscovery()
          Method deleteUseBridgeDiscovery
 void deleteUseCdpDiscovery()
          Method deleteUseCdpDiscovery
 void deleteUseIpRouteDiscovery()
          Method deleteUseIpRouteDiscovery
 java.util.Enumeration enumerateExcludeRange()
          Method enumerateExcludeRange
 java.util.Enumeration enumerateIncludeRange()
          Method enumerateIncludeRange
 java.util.Enumeration enumerateIncludeUrl()
          Method enumerateIncludeUrl
 java.util.Enumeration enumerateSpecific()
          Method enumerateSpecific
 boolean getAutoDiscovery()
          Returns the value of field 'autoDiscovery'.
 long getDiscovery_link_interval()
          Returns the value of field 'discovery_link_interval'.
 boolean getEnableDiscoveryDownload()
          Returns the value of field 'enableDiscoveryDownload'.
 boolean getEnableVlanDiscovery()
          Returns the value of field 'enableVlanDiscovery'.
 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'.
 boolean getSaveRouteTable()
          Returns the value of field 'saveRouteTable'.
 boolean getSaveStpInterfaceTable()
          Returns the value of field 'saveStpInterfaceTable'.
 boolean getSaveStpNodeTable()
          Returns the value of field 'saveStpNodeTable'.
 long getSnmp_poll_interval()
          Returns the value of field 'snmp_poll_interval'.
 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 getUseBridgeDiscovery()
          Returns the value of field 'useBridgeDiscovery'.
 boolean getUseCdpDiscovery()
          Returns the value of field 'useCdpDiscovery'.
 boolean getUseIpRouteDiscovery()
          Returns the value of field 'useIpRouteDiscovery'.
 boolean hasAutoDiscovery()
          Method hasAutoDiscovery
 boolean hasDiscovery_link_interval()
          Method hasDiscovery_link_interval
 boolean hasEnableDiscoveryDownload()
          Method hasEnableDiscoveryDownload
 boolean hasEnableVlanDiscovery()
          Method hasEnableVlanDiscovery
 boolean hasSaveRouteTable()
          Method hasSaveRouteTable
 boolean hasSaveStpInterfaceTable()
          Method hasSaveStpInterfaceTable
 boolean hasSaveStpNodeTable()
          Method hasSaveStpNodeTable
 boolean hasSnmp_poll_interval()
          Method hasSnmp_poll_interval
 boolean hasUseBridgeDiscovery()
          Method hasUseBridgeDiscovery
 boolean hasUseCdpDiscovery()
          Method hasUseCdpDiscovery
 boolean hasUseIpRouteDiscovery()
          Method hasUseIpRouteDiscovery
 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 removeSpecific(java.lang.String vSpecific)
          Method removeSpecific
 void setAutoDiscovery(boolean autoDiscovery)
          Sets the value of field 'autoDiscovery'.
 void setDiscovery_link_interval(long discovery_link_interval)
          Sets the value of field 'discovery_link_interval'.
 void setEnableDiscoveryDownload(boolean enableDiscoveryDownload)
          Sets the value of field 'enableDiscoveryDownload'.
 void setEnableVlanDiscovery(boolean enableVlanDiscovery)
          Sets the value of field 'enableVlanDiscovery'.
 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 setSaveRouteTable(boolean saveRouteTable)
          Sets the value of field 'saveRouteTable'.
 void setSaveStpInterfaceTable(boolean saveStpInterfaceTable)
          Sets the value of field 'saveStpInterfaceTable'.
 void setSaveStpNodeTable(boolean saveStpNodeTable)
          Sets the value of field 'saveStpNodeTable'.
 void setSnmp_poll_interval(long snmp_poll_interval)
          Sets the value of field 'snmp_poll_interval'.
 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 setUseBridgeDiscovery(boolean useBridgeDiscovery)
          Sets the value of field 'useBridgeDiscovery'.
 void setUseCdpDiscovery(boolean useCdpDiscovery)
          Sets the value of field 'useCdpDiscovery'.
 void setUseIpRouteDiscovery(boolean useIpRouteDiscovery)
          Sets the value of field 'useIpRouteDiscovery'.
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

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


clearSpecific

public void clearSpecific()
Method clearSpecific


deleteAutoDiscovery

public void deleteAutoDiscovery()
Method deleteAutoDiscovery


deleteDiscovery_link_interval

public void deleteDiscovery_link_interval()
Method deleteDiscovery_link_interval


deleteEnableDiscoveryDownload

public void deleteEnableDiscoveryDownload()
Method deleteEnableDiscoveryDownload


deleteEnableVlanDiscovery

public void deleteEnableVlanDiscovery()
Method deleteEnableVlanDiscovery


deleteSaveRouteTable

public void deleteSaveRouteTable()
Method deleteSaveRouteTable


deleteSaveStpInterfaceTable

public void deleteSaveStpInterfaceTable()
Method deleteSaveStpInterfaceTable


deleteSaveStpNodeTable

public void deleteSaveStpNodeTable()
Method deleteSaveStpNodeTable


deleteSnmp_poll_interval

public void deleteSnmp_poll_interval()
Method deleteSnmp_poll_interval


deleteUseBridgeDiscovery

public void deleteUseBridgeDiscovery()
Method deleteUseBridgeDiscovery


deleteUseCdpDiscovery

public void deleteUseCdpDiscovery()
Method deleteUseCdpDiscovery


deleteUseIpRouteDiscovery

public void deleteUseIpRouteDiscovery()
Method deleteUseIpRouteDiscovery


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

enumerateSpecific

public java.util.Enumeration enumerateSpecific()
Method enumerateSpecific

Returns:
Enumeration

getAutoDiscovery

public boolean getAutoDiscovery()
Returns the value of field 'autoDiscovery'. The field 'autoDiscovery' has the following description: Whether Linkd should generate newSuspect events for ip addresses from devices unknown to OpenNMS. This flags overwrite auto-discovery package flags.

Returns:
boolean

getDiscovery_link_interval

public long getDiscovery_link_interval()
Returns the value of field 'discovery_link_interval'. The field 'discovery_link_interval' has the following description: Time interval in mill seconds from last snmp collection and link discovery.

Returns:
long

getEnableDiscoveryDownload

public boolean getEnableDiscoveryDownload()
Returns the value of field 'enableDiscoveryDownload'. The field 'enableDiscoveryDownload' has the following description: Whether DiscoveryLink should try to get specific snmp bridge info. Should be enabled only in very complex network where snmpCollection often fails.

Returns:
boolean

getEnableVlanDiscovery

public boolean getEnableVlanDiscovery()
Returns the value of field 'enableVlanDiscovery'. The field 'enableVlanDiscovery' has the following description: Whether SnmpCollection has to find Vlans on devices to performs snmp data (Bridge) collection .

Returns:
boolean

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

getSaveRouteTable

public boolean getSaveRouteTable()
Returns the value of field 'saveRouteTable'. The field 'saveRouteTable' has the following description: Whether Linkd has save to database ip route tables

Returns:
boolean

getSaveStpInterfaceTable

public boolean getSaveStpInterfaceTable()
Returns the value of field 'saveStpInterfaceTable'. The field 'saveStpInterfaceTable' has the following description: Whether Linkd has to download Spanning Tree table on devices and save to database table stpinterface.

Returns:
boolean

getSaveStpNodeTable

public boolean getSaveStpNodeTable()
Returns the value of field 'saveStpNodeTable'. The field 'saveStpNodeTable' has the following description: Whether Linkd has save to database table stpnode.

Returns:
boolean

getSnmp_poll_interval

public long getSnmp_poll_interval()
Returns the value of field 'snmp_poll_interval'. The field 'snmp_poll_interval' has the following description: Snmp Poll Time interval in mill seconds.

Returns:
long

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

getUseBridgeDiscovery

public boolean getUseBridgeDiscovery()
Returns the value of field 'useBridgeDiscovery'. The field 'useBridgeDiscovery' has the following description: Whether DiscoveryLink has to find links on devices using bridge info.

Returns:
boolean

getUseCdpDiscovery

public boolean getUseCdpDiscovery()
Returns the value of field 'useCdpDiscovery'. The field 'useCdpDiscovery' has the following description: Whether Linkd has to find links on devices using cisco discovery protocol.

Returns:
boolean

getUseIpRouteDiscovery

public boolean getUseIpRouteDiscovery()
Returns the value of field 'useIpRouteDiscovery'. The field 'useIpRouteDiscovery' has the following description: Whether DiscoveryLink has to find links on devices using ip route tables.

Returns:
boolean

hasAutoDiscovery

public boolean hasAutoDiscovery()
Method hasAutoDiscovery

Returns:
boolean

hasDiscovery_link_interval

public boolean hasDiscovery_link_interval()
Method hasDiscovery_link_interval

Returns:
boolean

hasEnableDiscoveryDownload

public boolean hasEnableDiscoveryDownload()
Method hasEnableDiscoveryDownload

Returns:
boolean

hasEnableVlanDiscovery

public boolean hasEnableVlanDiscovery()
Method hasEnableVlanDiscovery

Returns:
boolean

hasSaveRouteTable

public boolean hasSaveRouteTable()
Method hasSaveRouteTable

Returns:
boolean

hasSaveStpInterfaceTable

public boolean hasSaveStpInterfaceTable()
Method hasSaveStpInterfaceTable

Returns:
boolean

hasSaveStpNodeTable

public boolean hasSaveStpNodeTable()
Method hasSaveStpNodeTable

Returns:
boolean

hasSnmp_poll_interval

public boolean hasSnmp_poll_interval()
Method hasSnmp_poll_interval

Returns:
boolean

hasUseBridgeDiscovery

public boolean hasUseBridgeDiscovery()
Method hasUseBridgeDiscovery

Returns:
boolean

hasUseCdpDiscovery

public boolean hasUseCdpDiscovery()
Method hasUseCdpDiscovery

Returns:
boolean

hasUseIpRouteDiscovery

public boolean hasUseIpRouteDiscovery()
Method hasUseIpRouteDiscovery

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

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

removeSpecific

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

Parameters:
vSpecific -
Returns:
boolean

setAutoDiscovery

public void setAutoDiscovery(boolean autoDiscovery)
Sets the value of field 'autoDiscovery'. The field 'autoDiscovery' has the following description: Whether Linkd should generate newSuspect events for ip addresses from devices unknown to OpenNMS. This flags overwrite auto-discovery package flags.

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

setDiscovery_link_interval

public void setDiscovery_link_interval(long discovery_link_interval)
Sets the value of field 'discovery_link_interval'. The field 'discovery_link_interval' has the following description: Time interval in mill seconds from last snmp collection and link discovery.

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

setEnableDiscoveryDownload

public void setEnableDiscoveryDownload(boolean enableDiscoveryDownload)
Sets the value of field 'enableDiscoveryDownload'. The field 'enableDiscoveryDownload' has the following description: Whether DiscoveryLink should try to get specific snmp bridge info. Should be enabled only in very complex network where snmpCollection often fails.

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

setEnableVlanDiscovery

public void setEnableVlanDiscovery(boolean enableVlanDiscovery)
Sets the value of field 'enableVlanDiscovery'. The field 'enableVlanDiscovery' has the following description: Whether SnmpCollection has to find Vlans on devices to performs snmp data (Bridge) collection .

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

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

setSaveRouteTable

public void setSaveRouteTable(boolean saveRouteTable)
Sets the value of field 'saveRouteTable'. The field 'saveRouteTable' has the following description: Whether Linkd has save to database ip route tables

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

setSaveStpInterfaceTable

public void setSaveStpInterfaceTable(boolean saveStpInterfaceTable)
Sets the value of field 'saveStpInterfaceTable'. The field 'saveStpInterfaceTable' has the following description: Whether Linkd has to download Spanning Tree table on devices and save to database table stpinterface.

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

setSaveStpNodeTable

public void setSaveStpNodeTable(boolean saveStpNodeTable)
Sets the value of field 'saveStpNodeTable'. The field 'saveStpNodeTable' has the following description: Whether Linkd has save to database table stpnode.

Parameters:
saveStpNodeTable - the value of field 'saveStpNodeTable'

setSnmp_poll_interval

public void setSnmp_poll_interval(long snmp_poll_interval)
Sets the value of field 'snmp_poll_interval'. The field 'snmp_poll_interval' has the following description: Snmp Poll Time interval in mill seconds.

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

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.

setUseBridgeDiscovery

public void setUseBridgeDiscovery(boolean useBridgeDiscovery)
Sets the value of field 'useBridgeDiscovery'. The field 'useBridgeDiscovery' has the following description: Whether DiscoveryLink has to find links on devices using bridge info.

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

setUseCdpDiscovery

public void setUseCdpDiscovery(boolean useCdpDiscovery)
Sets the value of field 'useCdpDiscovery'. The field 'useCdpDiscovery' has the following description: Whether Linkd has to find links on devices using cisco discovery protocol.

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

setUseIpRouteDiscovery

public void setUseIpRouteDiscovery(boolean useIpRouteDiscovery)
Sets the value of field 'useIpRouteDiscovery'. The field 'useIpRouteDiscovery' has the following description: Whether DiscoveryLink has to find links on devices using ip route tables.

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

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.