org.opennms.netmgt.config.linkd
Class Package

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

public class Package
extends Object
implements 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)
           
 void addExcludeRange(int index, ExcludeRange vExcludeRange)
           
 void addIncludeRange(IncludeRange vIncludeRange)
           
 void addIncludeRange(int index, IncludeRange vIncludeRange)
           
 void addIncludeUrl(int index, String vIncludeUrl)
           
 void addIncludeUrl(String vIncludeUrl)
           
 void addSpecific(int index, String vSpecific)
           
 void addSpecific(String vSpecific)
           
 void deleteAutoDiscovery()
           
 void deleteDiscovery_link_interval()
           
 void deleteEnableDiscoveryDownload()
           
 void deleteEnableVlanDiscovery()
           
 void deleteForceIpRouteDiscoveryOnEthernet()
           
 void deleteSaveRouteTable()
           
 void deleteSaveStpInterfaceTable()
           
 void deleteSaveStpNodeTable()
           
 void deleteSnmp_poll_interval()
           
 void deleteUseBridgeDiscovery()
           
 void deleteUseCdpDiscovery()
           
 void deleteUseIpRouteDiscovery()
           
 Enumeration<ExcludeRange> enumerateExcludeRange()
          Method enumerateExcludeRange.
 Enumeration<IncludeRange> enumerateIncludeRange()
          Method enumerateIncludeRange.
 Enumeration<String> enumerateIncludeUrl()
          Method enumerateIncludeUrl.
 Enumeration<String> 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.Returns the contents of the collection in an Array.
 ExcludeRange getExcludeRange(int index)
          Method getExcludeRange.
 List<ExcludeRange> getExcludeRangeCollection()
          Method getExcludeRangeCollection.Returns a reference to '_excludeRangeList'.
 int getExcludeRangeCount()
          Method getExcludeRangeCount.
 Filter getFilter()
          Returns the value of field 'filter'.
 boolean getForceIpRouteDiscoveryOnEthernet()
          Returns the value of field 'forceIpRouteDiscoveryOnEthernet'.
 IncludeRange[] getIncludeRange()
          Method getIncludeRange.Returns the contents of the collection in an Array.
 IncludeRange getIncludeRange(int index)
          Method getIncludeRange.
 List<IncludeRange> getIncludeRangeCollection()
          Method getIncludeRangeCollection.Returns a reference to '_includeRangeList'.
 int getIncludeRangeCount()
          Method getIncludeRangeCount.
 String[] getIncludeUrl()
          Method getIncludeUrl.Returns the contents of the collection in an Array.
 String getIncludeUrl(int index)
          Method getIncludeUrl.
 List<String> getIncludeUrlCollection()
          Method getIncludeUrlCollection.Returns a reference to '_includeUrlList'.
 int getIncludeUrlCount()
          Method getIncludeUrlCount.
 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'.
 String[] getSpecific()
          Method getSpecific.Returns the contents of the collection in an Array.
 String getSpecific(int index)
          Method getSpecific.
 List<String> getSpecificCollection()
          Method getSpecificCollection.Returns a reference to '_specificList'.
 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 hasForceIpRouteDiscoveryOnEthernet()
          Method hasForceIpRouteDiscoveryOnEthernet.
 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 isAutoDiscovery()
          Returns the value of field 'autoDiscovery'.
 boolean isEnableDiscoveryDownload()
          Returns the value of field 'enableDiscoveryDownload'.
 boolean isEnableVlanDiscovery()
          Returns the value of field 'enableVlanDiscovery'.
 boolean isForceIpRouteDiscoveryOnEthernet()
          Returns the value of field 'forceIpRouteDiscoveryOnEthernet'.
 boolean isSaveRouteTable()
          Returns the value of field 'saveRouteTable'.
 boolean isSaveStpInterfaceTable()
          Returns the value of field 'saveStpInterfaceTable'.
 boolean isSaveStpNodeTable()
          Returns the value of field 'saveStpNodeTable'.
 boolean isUseBridgeDiscovery()
          Returns the value of field 'useBridgeDiscovery'.
 boolean isUseCdpDiscovery()
          Returns the value of field 'useCdpDiscovery'.
 boolean isUseIpRouteDiscovery()
          Returns the value of field 'useIpRouteDiscovery'.
 boolean isValid()
          Method isValid.
 Iterator<ExcludeRange> iterateExcludeRange()
          Method iterateExcludeRange.
 Iterator<IncludeRange> iterateIncludeRange()
          Method iterateIncludeRange.
 Iterator<String> iterateIncludeUrl()
          Method iterateIncludeUrl.
 Iterator<String> iterateSpecific()
          Method iterateSpecific.
 void marshal(ContentHandler handler)
           
 void marshal(Writer out)
           
 void removeAllExcludeRange()
           
 void removeAllIncludeRange()
           
 void removeAllIncludeUrl()
           
 void removeAllSpecific()
           
 boolean removeExcludeRange(ExcludeRange vExcludeRange)
          Method removeExcludeRange.
 ExcludeRange removeExcludeRangeAt(int index)
          Method removeExcludeRangeAt.
 boolean removeIncludeRange(IncludeRange vIncludeRange)
          Method removeIncludeRange.
 IncludeRange removeIncludeRangeAt(int index)
          Method removeIncludeRangeAt.
 boolean removeIncludeUrl(String vIncludeUrl)
          Method removeIncludeUrl.
 String removeIncludeUrlAt(int index)
          Method removeIncludeUrlAt.
 boolean removeSpecific(String vSpecific)
          Method removeSpecific.
 String removeSpecificAt(int index)
          Method removeSpecificAt.
 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(ExcludeRange[] vExcludeRangeArray)
           
 void setExcludeRange(int index, ExcludeRange vExcludeRange)
           
 void setExcludeRange(List<ExcludeRange> vExcludeRangeList)
          Sets the value of '_excludeRangeList' by copying the given Vector.
 void setExcludeRangeCollection(List<ExcludeRange> excludeRangeList)
          Deprecated.  
 void setFilter(Filter filter)
          Sets the value of field 'filter'.
 void setForceIpRouteDiscoveryOnEthernet(boolean forceIpRouteDiscoveryOnEthernet)
          Sets the value of field 'forceIpRouteDiscoveryOnEthernet'.
 void setIncludeRange(IncludeRange[] vIncludeRangeArray)
           
 void setIncludeRange(int index, IncludeRange vIncludeRange)
           
 void setIncludeRange(List<IncludeRange> vIncludeRangeList)
          Sets the value of '_includeRangeList' by copying the given Vector.
 void setIncludeRangeCollection(List<IncludeRange> includeRangeList)
          Deprecated.  
 void setIncludeUrl(int index, String vIncludeUrl)
           
 void setIncludeUrl(List<String> vIncludeUrlList)
          Sets the value of '_includeUrlList' by copying the given Vector.
 void setIncludeUrl(String[] vIncludeUrlArray)
           
 void setIncludeUrlCollection(List<String> includeUrlList)
          Deprecated.  
 void setName(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(int index, String vSpecific)
           
 void setSpecific(List<String> vSpecificList)
          Sets the value of '_specificList' by copying the given Vector.
 void setSpecific(String[] vSpecificArray)
           
 void setSpecificCollection(List<String> specificList)
          Deprecated.  
 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 Package unmarshal(Reader reader)
          Method unmarshal.
 void 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 IndexOutOfBoundsException
Parameters:
vExcludeRange -
Throws:
IndexOutOfBoundsException - if the index given is outside the bounds of the collection

addExcludeRange

public void addExcludeRange(int index,
                            ExcludeRange vExcludeRange)
                     throws IndexOutOfBoundsException
Parameters:
index -
vExcludeRange -
Throws:
IndexOutOfBoundsException - if the index given is outside the bounds of the collection

addIncludeRange

public void addIncludeRange(IncludeRange vIncludeRange)
                     throws IndexOutOfBoundsException
Parameters:
vIncludeRange -
Throws:
IndexOutOfBoundsException - if the index given is outside the bounds of the collection

addIncludeRange

public void addIncludeRange(int index,
                            IncludeRange vIncludeRange)
                     throws IndexOutOfBoundsException
Parameters:
index -
vIncludeRange -
Throws:
IndexOutOfBoundsException - if the index given is outside the bounds of the collection

addIncludeUrl

public void addIncludeUrl(String vIncludeUrl)
                   throws IndexOutOfBoundsException
Parameters:
vIncludeUrl -
Throws:
IndexOutOfBoundsException - if the index given is outside the bounds of the collection

addIncludeUrl

public void addIncludeUrl(int index,
                          String vIncludeUrl)
                   throws IndexOutOfBoundsException
Parameters:
index -
vIncludeUrl -
Throws:
IndexOutOfBoundsException - if the index given is outside the bounds of the collection

addSpecific

public void addSpecific(String vSpecific)
                 throws IndexOutOfBoundsException
Parameters:
vSpecific -
Throws:
IndexOutOfBoundsException - if the index given is outside the bounds of the collection

addSpecific

public void addSpecific(int index,
                        String vSpecific)
                 throws IndexOutOfBoundsException
Parameters:
index -
vSpecific -
Throws:
IndexOutOfBoundsException - if the index given is outside the bounds of the collection

deleteAutoDiscovery

public void deleteAutoDiscovery()

deleteDiscovery_link_interval

public void deleteDiscovery_link_interval()

deleteEnableDiscoveryDownload

public void deleteEnableDiscoveryDownload()

deleteEnableVlanDiscovery

public void deleteEnableVlanDiscovery()

deleteForceIpRouteDiscoveryOnEthernet

public void deleteForceIpRouteDiscoveryOnEthernet()

deleteSaveRouteTable

public void deleteSaveRouteTable()

deleteSaveStpInterfaceTable

public void deleteSaveStpInterfaceTable()

deleteSaveStpNodeTable

public void deleteSaveStpNodeTable()

deleteSnmp_poll_interval

public void deleteSnmp_poll_interval()

deleteUseBridgeDiscovery

public void deleteUseBridgeDiscovery()

deleteUseCdpDiscovery

public void deleteUseCdpDiscovery()

deleteUseIpRouteDiscovery

public void deleteUseIpRouteDiscovery()

enumerateExcludeRange

public Enumeration<ExcludeRange> enumerateExcludeRange()
Method enumerateExcludeRange.

Returns:
an Enumeration over all possible elements of this collection

enumerateIncludeRange

public Enumeration<IncludeRange> enumerateIncludeRange()
Method enumerateIncludeRange.

Returns:
an Enumeration over all possible elements of this collection

enumerateIncludeUrl

public Enumeration<String> enumerateIncludeUrl()
Method enumerateIncludeUrl.

Returns:
an Enumeration over all possible elements of this collection

enumerateSpecific

public Enumeration<String> enumerateSpecific()
Method enumerateSpecific.

Returns:
an Enumeration over all possible elements of this collection

getAutoDiscovery

public boolean getAutoDiscovery()
Returns the value of field 'autoDiscovery'. The field 'autoDiscovery' has the following description: OverWrite default value of link-configuration corresponding attribute

Returns:
the value of field 'AutoDiscovery'.

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: OverWrite link-configuration corresponding attribute

Returns:
the value of field 'Discovery_link_interval'.

getEnableDiscoveryDownload

public boolean getEnableDiscoveryDownload()
Returns the value of field 'enableDiscoveryDownload'. The field 'enableDiscoveryDownload' has the following description: OverWrite default value of link-configuration corresponding attribute

Returns:
the value of field 'EnableDiscoveryDownload'.

getEnableVlanDiscovery

public boolean getEnableVlanDiscovery()
Returns the value of field 'enableVlanDiscovery'. The field 'enableVlanDiscovery' has the following description: OverWrite default value of link-configuration corresponding attribute

Returns:
the value of field 'EnableVlanDiscovery'.

getExcludeRange

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

Parameters:
index -
Returns:
the value of the org.opennms.netmgt.config.linkd.ExcludeRange at the given index
Throws:
IndexOutOfBoundsException - if the index given is outside the bounds of the collection

getExcludeRange

public ExcludeRange[] getExcludeRange()
Method getExcludeRange.Returns the contents of the collection in an Array.

Note: Just in case the collection contents are changing in another thread, we pass a 0-length Array of the correct type into the API call. This way we know that the Array returned is of exactly the correct length.

Returns:
this collection as an Array

getExcludeRangeCollection

public List<ExcludeRange> getExcludeRangeCollection()
Method getExcludeRangeCollection.Returns a reference to '_excludeRangeList'. No type checking is performed on any modifications to the Vector.

Returns:
a reference to the Vector backing this class

getExcludeRangeCount

public int getExcludeRangeCount()
Method getExcludeRangeCount.

Returns:
the size of this collection

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:
the value of field 'Filter'.

getForceIpRouteDiscoveryOnEthernet

public boolean getForceIpRouteDiscoveryOnEthernet()
Returns the value of field 'forceIpRouteDiscoveryOnEthernet'. The field 'forceIpRouteDiscoveryOnEthernet' has the following description: OverWrite default value of link-configuration corresponding attribute

Returns:
the value of field 'ForceIpRouteDiscoveryOnEthernet'.

getIncludeRange

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

Parameters:
index -
Returns:
the value of the org.opennms.netmgt.config.linkd.IncludeRange at the given index
Throws:
IndexOutOfBoundsException - if the index given is outside the bounds of the collection

getIncludeRange

public IncludeRange[] getIncludeRange()
Method getIncludeRange.Returns the contents of the collection in an Array.

Note: Just in case the collection contents are changing in another thread, we pass a 0-length Array of the correct type into the API call. This way we know that the Array returned is of exactly the correct length.

Returns:
this collection as an Array

getIncludeRangeCollection

public List<IncludeRange> getIncludeRangeCollection()
Method getIncludeRangeCollection.Returns a reference to '_includeRangeList'. No type checking is performed on any modifications to the Vector.

Returns:
a reference to the Vector backing this class

getIncludeRangeCount

public int getIncludeRangeCount()
Method getIncludeRangeCount.

Returns:
the size of this collection

getIncludeUrl

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

Parameters:
index -
Returns:
the value of the java.lang.String at the given index
Throws:
IndexOutOfBoundsException - if the index given is outside the bounds of the collection

getIncludeUrl

public String[] getIncludeUrl()
Method getIncludeUrl.Returns the contents of the collection in an Array.

Note: Just in case the collection contents are changing in another thread, we pass a 0-length Array of the correct type into the API call. This way we know that the Array returned is of exactly the correct length.

Returns:
this collection as an Array

getIncludeUrlCollection

public List<String> getIncludeUrlCollection()
Method getIncludeUrlCollection.Returns a reference to '_includeUrlList'. No type checking is performed on any modifications to the Vector.

Returns:
a reference to the Vector backing this class

getIncludeUrlCount

public int getIncludeUrlCount()
Method getIncludeUrlCount.

Returns:
the size of this collection

getName

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

Returns:
the value of field 'Name'.

getSaveRouteTable

public boolean getSaveRouteTable()
Returns the value of field 'saveRouteTable'. The field 'saveRouteTable' has the following description: OverWrite default value of link-configuration corresponding attribute

Returns:
the value of field 'SaveRouteTable'.

getSaveStpInterfaceTable

public boolean getSaveStpInterfaceTable()
Returns the value of field 'saveStpInterfaceTable'. The field 'saveStpInterfaceTable' has the following description: OverWrite default value of link-configuration corresponding attribute

Returns:
the value of field 'SaveStpInterfaceTable'.

getSaveStpNodeTable

public boolean getSaveStpNodeTable()
Returns the value of field 'saveStpNodeTable'. The field 'saveStpNodeTable' has the following description: OverWrite default value of link-configuration corresponding attribute

Returns:
the value of field 'SaveStpNodeTable'.

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: OverWrite link-configuration corresponding attribute

Returns:
the value of field 'Snmp_poll_interval'.

getSpecific

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

Parameters:
index -
Returns:
the value of the java.lang.String at the given index
Throws:
IndexOutOfBoundsException - if the index given is outside the bounds of the collection

getSpecific

public String[] getSpecific()
Method getSpecific.Returns the contents of the collection in an Array.

Note: Just in case the collection contents are changing in another thread, we pass a 0-length Array of the correct type into the API call. This way we know that the Array returned is of exactly the correct length.

Returns:
this collection as an Array

getSpecificCollection

public List<String> getSpecificCollection()
Method getSpecificCollection.Returns a reference to '_specificList'. No type checking is performed on any modifications to the Vector.

Returns:
a reference to the Vector backing this class

getSpecificCount

public int getSpecificCount()
Method getSpecificCount.

Returns:
the size of this collection

getUseBridgeDiscovery

public boolean getUseBridgeDiscovery()
Returns the value of field 'useBridgeDiscovery'. The field 'useBridgeDiscovery' has the following description: OverWrite default value of link-configuration corresponding attribute

Returns:
the value of field 'UseBridgeDiscovery'.

getUseCdpDiscovery

public boolean getUseCdpDiscovery()
Returns the value of field 'useCdpDiscovery'. The field 'useCdpDiscovery' has the following description: OverWrite default value of link-configuration corresponding attribute

Returns:
the value of field 'UseCdpDiscovery'.

getUseIpRouteDiscovery

public boolean getUseIpRouteDiscovery()
Returns the value of field 'useIpRouteDiscovery'. The field 'useIpRouteDiscovery' has the following description: OverWrite default value of link-configuration corresponding attribute

Returns:
the value of field 'UseIpRouteDiscovery'.

hasAutoDiscovery

public boolean hasAutoDiscovery()
Method hasAutoDiscovery.

Returns:
true if at least one AutoDiscovery has been added

hasDiscovery_link_interval

public boolean hasDiscovery_link_interval()
Method hasDiscovery_link_interval.

Returns:
true if at least one Discovery_link_interval has been added

hasEnableDiscoveryDownload

public boolean hasEnableDiscoveryDownload()
Method hasEnableDiscoveryDownload.

Returns:
true if at least one EnableDiscoveryDownload has been added

hasEnableVlanDiscovery

public boolean hasEnableVlanDiscovery()
Method hasEnableVlanDiscovery.

Returns:
true if at least one EnableVlanDiscovery has been added

hasForceIpRouteDiscoveryOnEthernet

public boolean hasForceIpRouteDiscoveryOnEthernet()
Method hasForceIpRouteDiscoveryOnEthernet.

Returns:
true if at least one ForceIpRouteDiscoveryOnEthernet has been added

hasSaveRouteTable

public boolean hasSaveRouteTable()
Method hasSaveRouteTable.

Returns:
true if at least one SaveRouteTable has been added

hasSaveStpInterfaceTable

public boolean hasSaveStpInterfaceTable()
Method hasSaveStpInterfaceTable.

Returns:
true if at least one SaveStpInterfaceTable has been added

hasSaveStpNodeTable

public boolean hasSaveStpNodeTable()
Method hasSaveStpNodeTable.

Returns:
true if at least one SaveStpNodeTable has been added

hasSnmp_poll_interval

public boolean hasSnmp_poll_interval()
Method hasSnmp_poll_interval.

Returns:
true if at least one Snmp_poll_interval has been adde

hasUseBridgeDiscovery

public boolean hasUseBridgeDiscovery()
Method hasUseBridgeDiscovery.

Returns:
true if at least one UseBridgeDiscovery has been adde

hasUseCdpDiscovery

public boolean hasUseCdpDiscovery()
Method hasUseCdpDiscovery.

Returns:
true if at least one UseCdpDiscovery has been added

hasUseIpRouteDiscovery

public boolean hasUseIpRouteDiscovery()
Method hasUseIpRouteDiscovery.

Returns:
true if at least one UseIpRouteDiscovery has been added

isAutoDiscovery

public boolean isAutoDiscovery()
Returns the value of field 'autoDiscovery'. The field 'autoDiscovery' has the following description: OverWrite default value of link-configuration corresponding attribute

Returns:
the value of field 'AutoDiscovery'.

isEnableDiscoveryDownload

public boolean isEnableDiscoveryDownload()
Returns the value of field 'enableDiscoveryDownload'. The field 'enableDiscoveryDownload' has the following description: OverWrite default value of link-configuration corresponding attribute

Returns:
the value of field 'EnableDiscoveryDownload'.

isEnableVlanDiscovery

public boolean isEnableVlanDiscovery()
Returns the value of field 'enableVlanDiscovery'. The field 'enableVlanDiscovery' has the following description: OverWrite default value of link-configuration corresponding attribute

Returns:
the value of field 'EnableVlanDiscovery'.

isForceIpRouteDiscoveryOnEthernet

public boolean isForceIpRouteDiscoveryOnEthernet()
Returns the value of field 'forceIpRouteDiscoveryOnEthernet'. The field 'forceIpRouteDiscoveryOnEthernet' has the following description: OverWrite default value of link-configuration corresponding attribute

Returns:
the value of field 'ForceIpRouteDiscoveryOnEthernet'.

isSaveRouteTable

public boolean isSaveRouteTable()
Returns the value of field 'saveRouteTable'. The field 'saveRouteTable' has the following description: OverWrite default value of link-configuration corresponding attribute

Returns:
the value of field 'SaveRouteTable'.

isSaveStpInterfaceTable

public boolean isSaveStpInterfaceTable()
Returns the value of field 'saveStpInterfaceTable'. The field 'saveStpInterfaceTable' has the following description: OverWrite default value of link-configuration corresponding attribute

Returns:
the value of field 'SaveStpInterfaceTable'.

isSaveStpNodeTable

public boolean isSaveStpNodeTable()
Returns the value of field 'saveStpNodeTable'. The field 'saveStpNodeTable' has the following description: OverWrite default value of link-configuration corresponding attribute

Returns:
the value of field 'SaveStpNodeTable'.

isUseBridgeDiscovery

public boolean isUseBridgeDiscovery()
Returns the value of field 'useBridgeDiscovery'. The field 'useBridgeDiscovery' has the following description: OverWrite default value of link-configuration corresponding attribute

Returns:
the value of field 'UseBridgeDiscovery'.

isUseCdpDiscovery

public boolean isUseCdpDiscovery()
Returns the value of field 'useCdpDiscovery'. The field 'useCdpDiscovery' has the following description: OverWrite default value of link-configuration corresponding attribute

Returns:
the value of field 'UseCdpDiscovery'.

isUseIpRouteDiscovery

public boolean isUseIpRouteDiscovery()
Returns the value of field 'useIpRouteDiscovery'. The field 'useIpRouteDiscovery' has the following description: OverWrite default value of link-configuration corresponding attribute

Returns:
the value of field 'UseIpRouteDiscovery'.

isValid

public boolean isValid()
Method isValid.

Returns:
true if this object is valid according to the schema

iterateExcludeRange

public Iterator<ExcludeRange> iterateExcludeRange()
Method iterateExcludeRange.

Returns:
an Iterator over all possible elements in this collection

iterateIncludeRange

public Iterator<IncludeRange> iterateIncludeRange()
Method iterateIncludeRange.

Returns:
an Iterator over all possible elements in this collection

iterateIncludeUrl

public Iterator<String> iterateIncludeUrl()
Method iterateIncludeUrl.

Returns:
an Iterator over all possible elements in this collection

iterateSpecific

public Iterator<String> iterateSpecific()
Method iterateSpecific.

Returns:
an Iterator over all possible elements in this collection

marshal

public void marshal(Writer out)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Parameters:
out -
Throws:
org.exolab.castor.xml.MarshalException - if object is null or if any SAXException is thrown during marshaling
org.exolab.castor.xml.ValidationException - if this object is an invalid instance according to the schema

marshal

public void marshal(ContentHandler handler)
             throws IOException,
                    org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Parameters:
handler -
Throws:
IOException - if an IOException occurs during marshaling
org.exolab.castor.xml.ValidationException - if this object is an invalid instance according to the schema
org.exolab.castor.xml.MarshalException - if object is null or if any SAXException is thrown during marshaling

removeAllExcludeRange

public void removeAllExcludeRange()

removeAllIncludeRange

public void removeAllIncludeRange()

removeAllIncludeUrl

public void removeAllIncludeUrl()

removeAllSpecific

public void removeAllSpecific()

removeExcludeRange

public boolean removeExcludeRange(ExcludeRange vExcludeRange)
Method removeExcludeRange.

Parameters:
vExcludeRange -
Returns:
true if the object was removed from the collection.

removeExcludeRangeAt

public ExcludeRange removeExcludeRangeAt(int index)
Method removeExcludeRangeAt.

Parameters:
index -
Returns:
the element removed from the collection

removeIncludeRange

public boolean removeIncludeRange(IncludeRange vIncludeRange)
Method removeIncludeRange.

Parameters:
vIncludeRange -
Returns:
true if the object was removed from the collection.

removeIncludeRangeAt

public IncludeRange removeIncludeRangeAt(int index)
Method removeIncludeRangeAt.

Parameters:
index -
Returns:
the element removed from the collection

removeIncludeUrl

public boolean removeIncludeUrl(String vIncludeUrl)
Method removeIncludeUrl.

Parameters:
vIncludeUrl -
Returns:
true if the object was removed from the collection.

removeIncludeUrlAt

public String removeIncludeUrlAt(int index)
Method removeIncludeUrlAt.

Parameters:
index -
Returns:
the element removed from the collection

removeSpecific

public boolean removeSpecific(String vSpecific)
Method removeSpecific.

Parameters:
vSpecific -
Returns:
true if the object was removed from the collection.

removeSpecificAt

public String removeSpecificAt(int index)
Method removeSpecificAt.

Parameters:
index -
Returns:
the element removed from the collection

setAutoDiscovery

public void setAutoDiscovery(boolean autoDiscovery)
Sets the value of field 'autoDiscovery'. The field 'autoDiscovery' has the following description: OverWrite default value of link-configuration corresponding attribute

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: OverWrite link-configuration corresponding attribute

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: OverWrite default value of link-configuration corresponding attribute

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: OverWrite default value of link-configuration corresponding attribute

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

setExcludeRange

public void setExcludeRange(int index,
                            ExcludeRange vExcludeRange)
                     throws IndexOutOfBoundsException
Parameters:
index -
vExcludeRange -
Throws:
IndexOutOfBoundsException - if the index given is outside the bounds of the collection

setExcludeRange

public void setExcludeRange(ExcludeRange[] vExcludeRangeArray)
Parameters:
vExcludeRangeArray -

setExcludeRange

public void setExcludeRange(List<ExcludeRange> vExcludeRangeList)
Sets the value of '_excludeRangeList' by copying the given Vector. All elements will be checked for type safety.

Parameters:
vExcludeRangeList - the Vector to copy.

setExcludeRangeCollection

public void setExcludeRangeCollection(List<ExcludeRange> excludeRangeList)
Deprecated. 

Sets the value of '_excludeRangeList' by setting it to the given Vector. No type checking is performed.

Parameters:
excludeRangeList - the Vector to set.

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

setForceIpRouteDiscoveryOnEthernet

public void setForceIpRouteDiscoveryOnEthernet(boolean forceIpRouteDiscoveryOnEthernet)
Sets the value of field 'forceIpRouteDiscoveryOnEthernet'. The field 'forceIpRouteDiscoveryOnEthernet' has the following description: OverWrite default value of link-configuration corresponding attribute

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

setIncludeRange

public void setIncludeRange(int index,
                            IncludeRange vIncludeRange)
                     throws IndexOutOfBoundsException
Parameters:
index -
vIncludeRange -
Throws:
IndexOutOfBoundsException - if the index given is outside the bounds of the collection

setIncludeRange

public void setIncludeRange(IncludeRange[] vIncludeRangeArray)
Parameters:
vIncludeRangeArray -

setIncludeRange

public void setIncludeRange(List<IncludeRange> vIncludeRangeList)
Sets the value of '_includeRangeList' by copying the given Vector. All elements will be checked for type safety.

Parameters:
vIncludeRangeList - the Vector to copy.

setIncludeRangeCollection

public void setIncludeRangeCollection(List<IncludeRange> includeRangeList)
Deprecated. 

Sets the value of '_includeRangeList' by setting it to the given Vector. No type checking is performed.

Parameters:
includeRangeList - the Vector to set.

setIncludeUrl

public void setIncludeUrl(int index,
                          String vIncludeUrl)
                   throws IndexOutOfBoundsException
Parameters:
index -
vIncludeUrl -
Throws:
IndexOutOfBoundsException - if the index given is outside the bounds of the collection

setIncludeUrl

public void setIncludeUrl(String[] vIncludeUrlArray)
Parameters:
vIncludeUrlArray -

setIncludeUrl

public void setIncludeUrl(List<String> vIncludeUrlList)
Sets the value of '_includeUrlList' by copying the given Vector. All elements will be checked for type safety.

Parameters:
vIncludeUrlList - the Vector to copy.

setIncludeUrlCollection

public void setIncludeUrlCollection(List<String> includeUrlList)
Deprecated. 

Sets the value of '_includeUrlList' by setting it to the given Vector. No type checking is performed.

Parameters:
includeUrlList - the Vector to set.

setName

public void setName(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: OverWrite default value of link-configuration corresponding attribute

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: OverWrite default value of link-configuration corresponding attribute

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: OverWrite default value of link-configuration corresponding attribute

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: OverWrite link-configuration corresponding attribute

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

setSpecific

public void setSpecific(int index,
                        String vSpecific)
                 throws IndexOutOfBoundsException
Parameters:
index -
vSpecific -
Throws:
IndexOutOfBoundsException - if the index given is outside the bounds of the collection

setSpecific

public void setSpecific(String[] vSpecificArray)
Parameters:
vSpecificArray -

setSpecific

public void setSpecific(List<String> vSpecificList)
Sets the value of '_specificList' by copying the given Vector. All elements will be checked for type safety.

Parameters:
vSpecificList - the Vector to copy.

setSpecificCollection

public void setSpecificCollection(List<String> specificList)
Deprecated. 

Sets the value of '_specificList' by setting it to the given Vector. No type checking is performed.

Parameters:
specificList - the Vector to set.

setUseBridgeDiscovery

public void setUseBridgeDiscovery(boolean useBridgeDiscovery)
Sets the value of field 'useBridgeDiscovery'. The field 'useBridgeDiscovery' has the following description: OverWrite default value of link-configuration corresponding attribute

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: OverWrite default value of link-configuration corresponding attribute

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: OverWrite default value of link-configuration corresponding attribute

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

unmarshal

public static Package unmarshal(Reader reader)
                         throws org.exolab.castor.xml.MarshalException,
                                org.exolab.castor.xml.ValidationException
Method unmarshal.

Parameters:
reader -
Returns:
the unmarshaled org.opennms.netmgt.config.linkd.Package
Throws:
org.exolab.castor.xml.MarshalException - if object is null or if any SAXException is thrown during marshaling
org.exolab.castor.xml.ValidationException - if this object is an invalid instance according to the schema

validate

public void validate()
              throws org.exolab.castor.xml.ValidationException
Throws:
org.exolab.castor.xml.ValidationException - if this object is an invalid instance according to the schema


Copyright © 2008. All Rights Reserved.