org.opennms.netmgt.xml.rtc
Class Node

java.lang.Object
  extended by org.opennms.netmgt.xml.rtc.Node
All Implemented Interfaces:
java.io.Serializable

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

A node

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

Constructor Summary
Node()
           
 
Method Summary
 void deleteNodeid()
          Method deleteNodeid
 void deleteNodesvccount()
          Method deleteNodesvccount
 void deleteNodesvcdowncount()
          Method deleteNodesvcdowncount
 void deleteNodevalue()
          Method deleteNodevalue
 long getNodeid()
          Returns the value of field 'nodeid'.
 long getNodesvccount()
          Returns the value of field 'nodesvccount'.
 long getNodesvcdowncount()
          Returns the value of field 'nodesvcdowncount'.
 double getNodevalue()
          Returns the value of field 'nodevalue'.
 boolean hasNodeid()
          Method hasNodeid
 boolean hasNodesvccount()
          Method hasNodesvccount
 boolean hasNodesvcdowncount()
          Method hasNodesvcdowncount
 boolean hasNodevalue()
          Method hasNodevalue
 boolean isValid()
          Method isValid
 void marshal(org.xml.sax.ContentHandler handler)
          Method marshal
 void marshal(java.io.Writer out)
          Method marshal
 void setNodeid(long nodeid)
          Sets the value of field 'nodeid'.
 void setNodesvccount(long nodesvccount)
          Sets the value of field 'nodesvccount'.
 void setNodesvcdowncount(long nodesvcdowncount)
          Sets the value of field 'nodesvcdowncount'.
 void setNodevalue(double nodevalue)
          Sets the value of field 'nodevalue'.
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

Node

public Node()
Method Detail

deleteNodeid

public void deleteNodeid()
Method deleteNodeid


deleteNodesvccount

public void deleteNodesvccount()
Method deleteNodesvccount


deleteNodesvcdowncount

public void deleteNodesvcdowncount()
Method deleteNodesvcdowncount


deleteNodevalue

public void deleteNodevalue()
Method deleteNodevalue


getNodeid

public long getNodeid()
Returns the value of field 'nodeid'. The field 'nodeid' has the following description: The node id

Returns:
long

getNodesvccount

public long getNodesvccount()
Returns the value of field 'nodesvccount'. The field 'nodesvccount' has the following description: The number of active services on the node

Returns:
long

getNodesvcdowncount

public long getNodesvcdowncount()
Returns the value of field 'nodesvcdowncount'. The field 'nodesvcdowncount' has the following description: The number of active services currently down on the node

Returns:
long

getNodevalue

public double getNodevalue()
Returns the value of field 'nodevalue'. The field 'nodevalue' has the following description: The node availability value

Returns:
double

hasNodeid

public boolean hasNodeid()
Method hasNodeid

Returns:
boolean

hasNodesvccount

public boolean hasNodesvccount()
Method hasNodesvccount

Returns:
boolean

hasNodesvcdowncount

public boolean hasNodesvcdowncount()
Method hasNodesvcdowncount

Returns:
boolean

hasNodevalue

public boolean hasNodevalue()
Method hasNodevalue

Returns:
boolean

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

setNodeid

public void setNodeid(long nodeid)
Sets the value of field 'nodeid'. The field 'nodeid' has the following description: The node id

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

setNodesvccount

public void setNodesvccount(long nodesvccount)
Sets the value of field 'nodesvccount'. The field 'nodesvccount' has the following description: The number of active services on the node

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

setNodesvcdowncount

public void setNodesvcdowncount(long nodesvcdowncount)
Sets the value of field 'nodesvcdowncount'. The field 'nodesvcdowncount' has the following description: The number of active services currently down on the node

Parameters:
nodesvcdowncount - the value of field 'nodesvcdowncount'

setNodevalue

public void setNodevalue(double nodevalue)
Sets the value of field 'nodevalue'. The field 'nodevalue' has the following description: The node availability value

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

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.