org.opennms.netmgt.config.datacollection
Class SystemDef

java.lang.Object
  extended by org.opennms.netmgt.config.datacollection.SystemDef
All Implemented Interfaces:
Serializable

public class SystemDef
extends Object
implements Serializable

system definition

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

Constructor Summary
SystemDef()
           
 
Method Summary
 Collect getCollect()
          Returns the value of field 'collect'.
 IpList getIpList()
          Returns the value of field 'ipList'.
 String getName()
          Returns the value of field 'name'.
 SystemDefChoice getSystemDefChoice()
          Returns the value of field 'systemDefChoice'.
 boolean isValid()
          Method isValid.
 void marshal(ContentHandler handler)
           
 void marshal(Writer out)
           
 void setCollect(Collect collect)
          Sets the value of field 'collect'.
 void setIpList(IpList ipList)
          Sets the value of field 'ipList'.
 void setName(String name)
          Sets the value of field 'name'.
 void setSystemDefChoice(SystemDefChoice systemDefChoice)
          Sets the value of field 'systemDefChoice'.
static SystemDef 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

SystemDef

public SystemDef()
Method Detail

getCollect

public Collect getCollect()
Returns the value of field 'collect'. The field 'collect' has the following description: container for list of MIB groups to be collected for the system

Returns:
the value of field 'Collect'.

getIpList

public IpList getIpList()
Returns the value of field 'ipList'. The field 'ipList' has the following description: list of IP address or IP address mask values to which this system definition applies.

Returns:
the value of field 'IpList'.

getName

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

Returns:
the value of field 'Name'.

getSystemDefChoice

public SystemDefChoice getSystemDefChoice()
Returns the value of field 'systemDefChoice'.

Returns:
the value of field 'SystemDefChoice'.

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

setCollect

public void setCollect(Collect collect)
Sets the value of field 'collect'. The field 'collect' has the following description: container for list of MIB groups to be collected for the system

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

setIpList

public void setIpList(IpList ipList)
Sets the value of field 'ipList'. The field 'ipList' has the following description: list of IP address or IP address mask values to which this system definition applies.

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

setName

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

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

setSystemDefChoice

public void setSystemDefChoice(SystemDefChoice systemDefChoice)
Sets the value of field 'systemDefChoice'.

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

unmarshal

public static SystemDef 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.datacollection.SystemDef
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.