public class Node extends Object implements Serializable
Constructor and Description |
---|
Node() |
Modifier and Type | Method and Description |
---|---|
void |
deleteNodeid() |
void |
deleteNodesvccount() |
void |
deleteNodesvcdowncount() |
void |
deleteNodevalue() |
boolean |
equals(Object obj)
Overrides the java.lang.Object.equals method.
|
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'.
|
int |
hashCode()
Overrides the java.lang.Object.hashCode method.
|
boolean |
hasNodeid()
Method hasNodeid.
|
boolean |
hasNodesvccount()
Method hasNodesvccount.
|
boolean |
hasNodesvcdowncount()
Method hasNodesvcdowncount.
|
boolean |
hasNodevalue()
Method hasNodevalue.
|
boolean |
isValid()
Method isValid.
|
void |
marshal(ContentHandler handler) |
void |
marshal(Writer out) |
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 Node |
unmarshal(Reader reader)
Method unmarshal.
|
void |
validate() |
public void deleteNodeid()
public void deleteNodesvccount()
public void deleteNodesvcdowncount()
public void deleteNodevalue()
public boolean equals(Object obj)
public long getNodeid()
public long getNodesvccount()
public long getNodesvcdowncount()
public double getNodevalue()
public boolean hasNodeid()
public boolean hasNodesvccount()
public boolean hasNodesvcdowncount()
public boolean hasNodevalue()
public int hashCode()
The following steps came from Effective Java Programming Language Guide by Joshua Bloch, Chapter 3
public boolean isValid()
public void marshal(Writer out) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
out
- org.exolab.castor.xml.MarshalException
- if object is
null or if any SAXException is thrown during marshalingorg.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schemapublic void marshal(ContentHandler handler) throws IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
handler
- IOException
- if an IOException occurs during
marshalingorg.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schemaorg.exolab.castor.xml.MarshalException
- if object is
null or if any SAXException is thrown during marshalingpublic void setNodeid(long nodeid)
nodeid
- the value of field 'nodeid'.public void setNodesvccount(long nodesvccount)
nodesvccount
- the value of field 'nodesvccount'.public void setNodesvcdowncount(long nodesvcdowncount)
nodesvcdowncount
- the value of field 'nodesvcdowncount'public void setNodevalue(double nodevalue)
nodevalue
- the value of field 'nodevalue'.public static Node unmarshal(Reader reader) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
reader
- org.exolab.castor.xml.MarshalException
- if object is
null or if any SAXException is thrown during marshalingorg.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schemapublic void validate() throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schemaCopyright © 2017. All rights reserved.