org.opennms.netmgt.config.poller
Class Interface

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

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

Interface to which the outage applies.

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

Constructor Summary
Interface()
           
 
Method Summary
 java.lang.String getAddress()
          Returns the value of field 'address'.
 boolean isValid()
          Method isValid
 void marshal(org.xml.sax.ContentHandler handler)
          Method marshal
 void marshal(java.io.Writer out)
          Method marshal
 void setAddress(java.lang.String address)
          Sets the value of field 'address'.
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

Interface

public Interface()
Method Detail

getAddress

public java.lang.String getAddress()
Returns the value of field 'address'. The field 'address' has the following description: IP address

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

setAddress

public void setAddress(java.lang.String address)
Sets the value of field 'address'. The field 'address' has the following description: IP address

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

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.