org.opennms.netmgt.config.linkd
Class Vendor

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

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

Class Vendor.

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

Constructor Summary
Vendor()
           
 
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 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 clearSpecific()
          Method clearSpecific
 java.util.Enumeration enumerateExcludeRange()
          Method enumerateExcludeRange
 java.util.Enumeration enumerateIncludeRange()
          Method enumerateIncludeRange
 java.util.Enumeration enumerateSpecific()
          Method enumerateSpecific
 java.lang.String getClassName()
          Returns the value of field 'className'.
 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
 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[] 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 getSysoidRootMask()
          Returns the value of field 'sysoidRootMask'.
 java.lang.String getVendor_name()
          Returns the value of field 'vendor_name'.
 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 removeSpecific(java.lang.String vSpecific)
          Method removeSpecific
 void setClassName(java.lang.String className)
          Sets the value of field 'className'.
 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 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 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 setSysoidRootMask(java.lang.String sysoidRootMask)
          Sets the value of field 'sysoidRootMask'.
 void setVendor_name(java.lang.String vendor_name)
          Sets the value of field 'vendor_name'.
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

Vendor

public Vendor()
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

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


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

enumerateSpecific

public java.util.Enumeration enumerateSpecific()
Method enumerateSpecific

Returns:
Enumeration

getClassName

public java.lang.String getClassName()
Returns the value of field 'className'. The field 'className' has the following description: Java Class Name to get Vlans Info on matching Sysoids.

Returns:
String

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

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

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

getSysoidRootMask

public java.lang.String getSysoidRootMask()
Returns the value of field 'sysoidRootMask'. The field 'sysoidRootMask' has the following description: Vendor sysoid root identifier.

Returns:
String

getVendor_name

public java.lang.String getVendor_name()
Returns the value of field 'vendor_name'. The field 'vendor_name' has the following description: Vendor identifier.

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

removeSpecific

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

Parameters:
vSpecific -
Returns:
boolean

setClassName

public void setClassName(java.lang.String className)
Sets the value of field 'className'. The field 'className' has the following description: Java Class Name to get Vlans Info on matching Sysoids.

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

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.

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.

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.

setSysoidRootMask

public void setSysoidRootMask(java.lang.String sysoidRootMask)
Sets the value of field 'sysoidRootMask'. The field 'sysoidRootMask' has the following description: Vendor sysoid root identifier.

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

setVendor_name

public void setVendor_name(java.lang.String vendor_name)
Sets the value of field 'vendor_name'. The field 'vendor_name' has the following description: Vendor identifier.

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

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.