org.opennms.netmgt.config.datacollection
Class SystemDefChoice

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

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

Class SystemDefChoice.

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

Constructor Summary
SystemDefChoice()
           
 
Method Summary
 java.lang.String getSysoid()
          Returns the value of field 'sysoid'.
 java.lang.String getSysoidMask()
          Returns the value of field 'sysoidMask'.
 boolean isValid()
          Method isValid
 void marshal(org.xml.sax.ContentHandler handler)
          Method marshal
 void marshal(java.io.Writer out)
          Method marshal
 void setSysoid(java.lang.String sysoid)
          Sets the value of field 'sysoid'.
 void setSysoidMask(java.lang.String sysoidMask)
          Sets the value of field 'sysoidMask'.
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

SystemDefChoice

public SystemDefChoice()
Method Detail

getSysoid

public java.lang.String getSysoid()
Returns the value of field 'sysoid'. The field 'sysoid' has the following description: system object identifier (sysoid) which uniquely identifies the system.

Returns:
String

getSysoidMask

public java.lang.String getSysoidMask()
Returns the value of field 'sysoidMask'. The field 'sysoidMask' has the following description: sysoid mask which can be used to match multiple systems

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

setSysoid

public void setSysoid(java.lang.String sysoid)
Sets the value of field 'sysoid'. The field 'sysoid' has the following description: system object identifier (sysoid) which uniquely identifies the system.

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

setSysoidMask

public void setSysoidMask(java.lang.String sysoidMask)
Sets the value of field 'sysoidMask'. The field 'sysoidMask' has the following description: sysoid mask which can be used to match multiple systems

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

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.