org.opennms.netmgt.config.datacollection
Class SystemDef

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

public class SystemDef
extends java.lang.Object
implements java.io.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'.
 java.lang.String getName()
          Returns the value of field 'name'.
 SystemDefChoice getSystemDefChoice()
          Returns the value of field 'systemDefChoice'.
 boolean isValid()
          Method isValid
 void marshal(org.xml.sax.ContentHandler handler)
          Method marshal
 void marshal(java.io.Writer out)
          Method marshal
 void setCollect(Collect collect)
          Sets the value of field 'collect'.
 void setIpList(IpList ipList)
          Sets the value of field 'ipList'.
 void setName(java.lang.String name)
          Sets the value of field 'name'.
 void setSystemDefChoice(SystemDefChoice systemDefChoice)
          Sets the value of field 'systemDefChoice'.
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

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:
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:
IpList

getName

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

Returns:
String

getSystemDefChoice

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

Returns:
SystemDefChoice

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

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(java.lang.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 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.