org.opennms.report.inventory
Class Nbisinglenode

java.lang.Object
  extended by org.opennms.report.inventory.Nbisinglenode
All Implemented Interfaces:
Serializable

public class Nbisinglenode
extends Object
implements Serializable

Class Nbisinglenode.

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

Constructor Summary
Nbisinglenode()
           
 
Method Summary
 void addInventoryElement2RP(int index, InventoryElement2RP vInventoryElement2RP)
           
 void addInventoryElement2RP(InventoryElement2RP vInventoryElement2RP)
           
 Enumeration<InventoryElement2RP> enumerateInventoryElement2RP()
          Method enumerateInventoryElement2RP.
 String getComment()
          Returns the value of field 'comment'.
 String getConfigurationurl()
          Returns the value of field 'configurationurl'.
 Date getCreationdate()
          Returns the value of field 'creationdate'.
 String getDevicename()
          Returns the value of field 'devicename'.
 String getGroupname()
          Returns the value of field 'groupname'.
 InventoryElement2RP[] getInventoryElement2RP()
          Method getInventoryElement2RP.Returns the contents of the collection in an Array.
 InventoryElement2RP getInventoryElement2RP(int index)
          Method getInventoryElement2RP.
 List<InventoryElement2RP> getInventoryElement2RPCollection()
          Method getInventoryElement2RPCollection.Returns a reference to '_inventoryElement2RPList'.
 int getInventoryElement2RPCount()
          Method getInventoryElement2RPCount.
 String getStatus()
          Returns the value of field 'status'.
 String getSwconfigurationurl()
          Returns the value of field 'swconfigurationurl'.
 String getVersion()
          Returns the value of field 'version'.
 boolean isValid()
          Method isValid.
 Iterator<InventoryElement2RP> iterateInventoryElement2RP()
          Method iterateInventoryElement2RP.
 void marshal(ContentHandler handler)
           
 void marshal(Writer out)
           
 void removeAllInventoryElement2RP()
           
 boolean removeInventoryElement2RP(InventoryElement2RP vInventoryElement2RP)
          Method removeInventoryElement2RP.
 InventoryElement2RP removeInventoryElement2RPAt(int index)
          Method removeInventoryElement2RPAt.
 void setComment(String comment)
          Sets the value of field 'comment'.
 void setConfigurationurl(String configurationurl)
          Sets the value of field 'configurationurl'.
 void setCreationdate(Date creationdate)
          Sets the value of field 'creationdate'.
 void setDevicename(String devicename)
          Sets the value of field 'devicename'.
 void setGroupname(String groupname)
          Sets the value of field 'groupname'.
 void setInventoryElement2RP(int index, InventoryElement2RP vInventoryElement2RP)
           
 void setInventoryElement2RP(InventoryElement2RP[] vInventoryElement2RPArray)
           
 void setInventoryElement2RP(List<InventoryElement2RP> vInventoryElement2RPList)
          Sets the value of '_inventoryElement2RPList' by copying the given Vector.
 void setInventoryElement2RPCollection(List<InventoryElement2RP> inventoryElement2RPList)
          Deprecated.  
 void setStatus(String status)
          Sets the value of field 'status'.
 void setSwconfigurationurl(String swconfigurationurl)
          Sets the value of field 'swconfigurationurl'.
 void setVersion(String version)
          Sets the value of field 'version'.
static Nbisinglenode 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

Nbisinglenode

public Nbisinglenode()
Method Detail

addInventoryElement2RP

public void addInventoryElement2RP(InventoryElement2RP vInventoryElement2RP)
                            throws IndexOutOfBoundsException
Parameters:
vInventoryElement2RP -
Throws:
IndexOutOfBoundsException - if the index given is outside the bounds of the collection

addInventoryElement2RP

public void addInventoryElement2RP(int index,
                                   InventoryElement2RP vInventoryElement2RP)
                            throws IndexOutOfBoundsException
Parameters:
index -
vInventoryElement2RP -
Throws:
IndexOutOfBoundsException - if the index given is outside the bounds of the collection

enumerateInventoryElement2RP

public Enumeration<InventoryElement2RP> enumerateInventoryElement2RP()
Method enumerateInventoryElement2RP.

Returns:
an Enumeration over all possible elements of this collection

getComment

public String getComment()
Returns the value of field 'comment'.

Returns:
the value of field 'Comment'.

getConfigurationurl

public String getConfigurationurl()
Returns the value of field 'configurationurl'.

Returns:
the value of field 'Configurationurl'.

getCreationdate

public Date getCreationdate()
Returns the value of field 'creationdate'.

Returns:
the value of field 'Creationdate'.

getDevicename

public String getDevicename()
Returns the value of field 'devicename'.

Returns:
the value of field 'Devicename'.

getGroupname

public String getGroupname()
Returns the value of field 'groupname'.

Returns:
the value of field 'Groupname'.

getInventoryElement2RP

public InventoryElement2RP getInventoryElement2RP(int index)
                                           throws IndexOutOfBoundsException
Method getInventoryElement2RP.

Parameters:
index -
Returns:
the value of the org.opennms.report.inventory.InventoryElement2RP at the given index
Throws:
IndexOutOfBoundsException - if the index given is outside the bounds of the collection

getInventoryElement2RP

public InventoryElement2RP[] getInventoryElement2RP()
Method getInventoryElement2RP.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

getInventoryElement2RPCollection

public List<InventoryElement2RP> getInventoryElement2RPCollection()
Method getInventoryElement2RPCollection.Returns a reference to '_inventoryElement2RPList'. No type checking is performed on any modifications to the Vector.

Returns:
a reference to the Vector backing this class

getInventoryElement2RPCount

public int getInventoryElement2RPCount()
Method getInventoryElement2RPCount.

Returns:
the size of this collection

getStatus

public String getStatus()
Returns the value of field 'status'.

Returns:
the value of field 'Status'.

getSwconfigurationurl

public String getSwconfigurationurl()
Returns the value of field 'swconfigurationurl'.

Returns:
the value of field 'Swconfigurationurl'.

getVersion

public String getVersion()
Returns the value of field 'version'.

Returns:
the value of field 'Version'.

isValid

public boolean isValid()
Method isValid.

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

iterateInventoryElement2RP

public Iterator<InventoryElement2RP> iterateInventoryElement2RP()
Method iterateInventoryElement2RP.

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

removeAllInventoryElement2RP

public void removeAllInventoryElement2RP()

removeInventoryElement2RP

public boolean removeInventoryElement2RP(InventoryElement2RP vInventoryElement2RP)
Method removeInventoryElement2RP.

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

removeInventoryElement2RPAt

public InventoryElement2RP removeInventoryElement2RPAt(int index)
Method removeInventoryElement2RPAt.

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

setComment

public void setComment(String comment)
Sets the value of field 'comment'.

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

setConfigurationurl

public void setConfigurationurl(String configurationurl)
Sets the value of field 'configurationurl'.

Parameters:
configurationurl - the value of field 'configurationurl'

setCreationdate

public void setCreationdate(Date creationdate)
Sets the value of field 'creationdate'.

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

setDevicename

public void setDevicename(String devicename)
Sets the value of field 'devicename'.

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

setGroupname

public void setGroupname(String groupname)
Sets the value of field 'groupname'.

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

setInventoryElement2RP

public void setInventoryElement2RP(int index,
                                   InventoryElement2RP vInventoryElement2RP)
                            throws IndexOutOfBoundsException
Parameters:
index -
vInventoryElement2RP -
Throws:
IndexOutOfBoundsException - if the index given is outside the bounds of the collection

setInventoryElement2RP

public void setInventoryElement2RP(InventoryElement2RP[] vInventoryElement2RPArray)
Parameters:
vInventoryElement2RPArray -

setInventoryElement2RP

public void setInventoryElement2RP(List<InventoryElement2RP> vInventoryElement2RPList)
Sets the value of '_inventoryElement2RPList' by copying the given Vector. All elements will be checked for type safety.

Parameters:
vInventoryElement2RPList - the Vector to copy.

setInventoryElement2RPCollection

public void setInventoryElement2RPCollection(List<InventoryElement2RP> inventoryElement2RPList)
Deprecated. 

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

Parameters:
inventoryElement2RPList - the Vector to set.

setStatus

public void setStatus(String status)
Sets the value of field 'status'.

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

setSwconfigurationurl

public void setSwconfigurationurl(String swconfigurationurl)
Sets the value of field 'swconfigurationurl'.

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

setVersion

public void setVersion(String version)
Sets the value of field 'version'.

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

unmarshal

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

Parameters:
reader -
Returns:
the unmarshaled org.opennms.report.inventory.Nbisinglenode
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 © 2011. All Rights Reserved.