org.opennms.netmgt.config.vulnscand
Class ManagedInterfaces

java.lang.Object
  extended by org.opennms.netmgt.config.vulnscand.ManagedInterfaces
All Implemented Interfaces:
Serializable

public class ManagedInterfaces
extends Object
implements Serializable

Settings that apply to all managed interfaces

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

Constructor Summary
ManagedInterfaces()
           
 
Method Summary
 void deleteScanLevel()
           
 void deleteStatus()
           
 int getScanLevel()
          Returns the value of field 'scanLevel'.
 boolean getStatus()
          Returns the value of field 'status'.
 boolean hasScanLevel()
          Method hasScanLevel.
 boolean hasStatus()
          Method hasStatus.
 boolean isStatus()
          Returns the value of field 'status'.
 boolean isValid()
          Method isValid.
 void marshal(ContentHandler handler)
           
 void marshal(Writer out)
           
 void setScanLevel(int scanLevel)
          Sets the value of field 'scanLevel'.
 void setStatus(boolean status)
          Sets the value of field 'status'.
static ManagedInterfaces 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

ManagedInterfaces

public ManagedInterfaces()
Method Detail

deleteScanLevel

public void deleteScanLevel()

deleteStatus

public void deleteStatus()

getScanLevel

public int getScanLevel()
Returns the value of field 'scanLevel'.

Returns:
the value of field 'ScanLevel'.

getStatus

public boolean getStatus()
Returns the value of field 'status'.

Returns:
the value of field 'Status'.

hasScanLevel

public boolean hasScanLevel()
Method hasScanLevel.

Returns:
true if at least one ScanLevel has been added

hasStatus

public boolean hasStatus()
Method hasStatus.

Returns:
true if at least one Status has been added

isStatus

public boolean isStatus()
Returns the value of field 'status'.

Returns:
the value of field 'Status'.

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

setScanLevel

public void setScanLevel(int scanLevel)
Sets the value of field 'scanLevel'.

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

setStatus

public void setStatus(boolean status)
Sets the value of field 'status'.

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

unmarshal

public static ManagedInterfaces 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.vulnscand.ManagedInterfaces
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.