org.opennms.netmgt.config.collectd
Class JmxCollection

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

public class JmxCollection
extends Object
implements Serializable

Class JmxCollection.

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

Constructor Summary
JmxCollection()
           
 
Method Summary
 void deleteMaxVarsPerPdu()
           
 int getMaxVarsPerPdu()
          Returns the value of field 'maxVarsPerPdu'.
 Mbeans getMbeans()
          Returns the value of field 'mbeans'.
 String getName()
          Returns the value of field 'name'.
 Rrd getRrd()
          Returns the value of field 'rrd'.
 boolean hasMaxVarsPerPdu()
          Method hasMaxVarsPerPdu.
 boolean isValid()
          Method isValid.
 void marshal(ContentHandler handler)
           
 void marshal(Writer out)
           
 void setMaxVarsPerPdu(int maxVarsPerPdu)
          Sets the value of field 'maxVarsPerPdu'.
 void setMbeans(Mbeans mbeans)
          Sets the value of field 'mbeans'.
 void setName(String name)
          Sets the value of field 'name'.
 void setRrd(Rrd rrd)
          Sets the value of field 'rrd'.
static JmxCollection 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

JmxCollection

public JmxCollection()
Method Detail

deleteMaxVarsPerPdu

public void deleteMaxVarsPerPdu()

getMaxVarsPerPdu

public int getMaxVarsPerPdu()
Returns the value of field 'maxVarsPerPdu'.

Returns:
the value of field 'MaxVarsPerPdu'.

getMbeans

public Mbeans getMbeans()
Returns the value of field 'mbeans'.

Returns:
the value of field 'Mbeans'.

getName

public String getName()
Returns the value of field 'name'.

Returns:
the value of field 'Name'.

getRrd

public Rrd getRrd()
Returns the value of field 'rrd'.

Returns:
the value of field 'Rrd'.

hasMaxVarsPerPdu

public boolean hasMaxVarsPerPdu()
Method hasMaxVarsPerPdu.

Returns:
true if at least one MaxVarsPerPdu has been added

isValid

public boolean isValid()
Method isValid.

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

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

setMaxVarsPerPdu

public void setMaxVarsPerPdu(int maxVarsPerPdu)
Sets the value of field 'maxVarsPerPdu'.

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

setMbeans

public void setMbeans(Mbeans mbeans)
Sets the value of field 'mbeans'.

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

setName

public void setName(String name)
Sets the value of field 'name'.

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

setRrd

public void setRrd(Rrd rrd)
Sets the value of field 'rrd'.

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

unmarshal

public static JmxCollection 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.collectd.JmxCollection
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.