|
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.Category
Field Summary | |
private java.lang.String |
_catlabel
|
private double |
_catvalue
|
private boolean |
_has_catvalue
keeps track of state for field: _catvalue |
private java.util.ArrayList |
_nodeList
|
private java.util.Vector |
propertyChangeListeners
|
Constructor Summary | |
Category()
|
Method Summary | |
void |
addNode(int index,
Node vNode)
|
void |
addNode(Node vNode)
|
void |
addPropertyChangeListener(java.beans.PropertyChangeListener pcl)
Registers a PropertyChangeListener with this class. |
void |
clearNode()
|
java.util.Enumeration |
enumerateNode()
|
boolean |
equals(java.lang.Object obj)
Note: hashCode() has not been overriden |
java.lang.String |
getCatlabel()
Returns the value of field 'catlabel'. |
double |
getCatvalue()
Returns the value of field 'catvalue'. |
Node[] |
getNode()
|
Node |
getNode(int index)
|
java.util.Collection |
getNodeCollection()
|
int |
getNodeCount()
|
boolean |
hasCatvalue()
|
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 |
removeNode(Node vNode)
|
boolean |
removePropertyChangeListener(java.beans.PropertyChangeListener pcl)
Removes the given PropertyChangeListener from this classes list of ProperyChangeListeners. |
void |
setCatlabel(java.lang.String catlabel)
Sets the value of field 'catlabel'. |
void |
setCatvalue(double catvalue)
Sets the value of field 'catvalue'. |
void |
setNode(int index,
Node vNode)
|
void |
setNode(Node[] nodeArray)
|
void |
setNodeCollection(java.util.Collection vNode)
|
static Category |
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 java.lang.String _catlabel
private double _catvalue
private boolean _has_catvalue
private java.util.ArrayList _nodeList
private java.util.Vector propertyChangeListeners
Constructor Detail |
public Category()
Method Detail |
public void addNode(Node vNode) throws java.lang.IndexOutOfBoundsException
vNode
-
java.lang.IndexOutOfBoundsException
public void addNode(int index, Node vNode) throws java.lang.IndexOutOfBoundsException
index
- vNode
-
java.lang.IndexOutOfBoundsException
public void addPropertyChangeListener(java.beans.PropertyChangeListener pcl)
pcl
- The PropertyChangeListener to register.public void clearNode()
public java.util.Enumeration enumerateNode()
public boolean equals(java.lang.Object obj)
obj
- public java.lang.String getCatlabel()
public double getCatvalue()
public Node getNode(int index) throws java.lang.IndexOutOfBoundsException
index
-
java.lang.IndexOutOfBoundsException
public Node[] getNode()
public java.util.Collection getNodeCollection()
public int getNodeCount()
public boolean hasCatvalue()
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 removeNode(Node vNode)
vNode
- public boolean removePropertyChangeListener(java.beans.PropertyChangeListener pcl)
pcl
- The PropertyChangeListener to remove.
public void setCatlabel(java.lang.String catlabel)
catlabel
- the value of field 'catlabel'.public void setCatvalue(double catvalue)
catvalue
- the value of field 'catvalue'.public void setNode(int index, Node vNode) throws java.lang.IndexOutOfBoundsException
index
- vNode
-
java.lang.IndexOutOfBoundsException
public void setNode(Node[] nodeArray)
nodeArray
- public void setNodeCollection(java.util.Collection vNode)
vNode
- public static Category 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 |