|
OpenNMS API 1.2.3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opennms.netmgt.xml.rtc.Node
Field Summary | |
private boolean |
_has_nodeid
keeps track of state for field: _nodeid |
private boolean |
_has_nodesvccount
keeps track of state for field: _nodesvccount |
private boolean |
_has_nodesvcdowncount
keeps track of state for field: _nodesvcdowncount |
private boolean |
_has_nodevalue
keeps track of state for field: _nodevalue |
private long |
_nodeid
|
private long |
_nodesvccount
|
private long |
_nodesvcdowncount
|
private double |
_nodevalue
|
private java.util.Vector |
propertyChangeListeners
|
Constructor Summary | |
Node()
|
Method Summary | |
void |
addPropertyChangeListener(java.beans.PropertyChangeListener pcl)
Registers a PropertyChangeListener with this class. |
boolean |
equals(java.lang.Object obj)
Note: hashCode() has not been overriden |
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()
|
boolean |
hasNodesvccount()
|
boolean |
hasNodesvcdowncount()
|
boolean |
hasNodevalue()
|
boolean |
isValid()
|
void |
marshal(org.xml.sax.DocumentHandler handler)
|
void |
marshal(java.io.Writer out)
|
protected void |
notifyPropertyChangeListeners(java.lang.String fieldName,
java.lang.Object oldValue,
java.lang.Object newValue)
Notifies all registered PropertyChangeListeners when a bound property's value changes. |
boolean |
removePropertyChangeListener(java.beans.PropertyChangeListener pcl)
Removes the given PropertyChangeListener from this classes list of ProperyChangeListeners. |
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(java.io.Reader reader)
|
void |
validate()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private long _nodeid
private boolean _has_nodeid
private double _nodevalue
private boolean _has_nodevalue
private long _nodesvccount
private boolean _has_nodesvccount
private long _nodesvcdowncount
private boolean _has_nodesvcdowncount
private java.util.Vector propertyChangeListeners
Constructor Detail |
public Node()
Method Detail |
public void addPropertyChangeListener(java.beans.PropertyChangeListener pcl)
pcl
- The PropertyChangeListener to register.public boolean equals(java.lang.Object obj)
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 boolean isValid()
public void marshal(java.io.Writer out) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
out
-
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
public void marshal(org.xml.sax.DocumentHandler handler) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
handler
-
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
protected void notifyPropertyChangeListeners(java.lang.String fieldName, java.lang.Object oldValue, java.lang.Object newValue)
fieldName
- the name of the property that has changed.newValue
- the new value of the property.oldValue
- the old value of the property.public boolean removePropertyChangeListener(java.beans.PropertyChangeListener pcl)
pcl
- The PropertyChangeListener to remove.
public 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(java.io.Reader reader) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
reader
-
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
public void validate() throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationException
|
OpenNMS API 1.2.3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |