|
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.report.availability.Category
Field Summary | |
private java.lang.String |
_catComments
|
private int |
_catIndex
|
private java.lang.String |
_catName
|
private java.util.ArrayList |
_catSectionsList
|
private boolean |
_has_catIndex
keeps track of state for field: _catIndex |
private boolean |
_has_ipaddrCount
keeps track of state for field: _ipaddrCount |
private boolean |
_has_nodeCount
keeps track of state for field: _nodeCount |
private boolean |
_has_normal
keeps track of state for field: _normal |
private boolean |
_has_serviceCount
keeps track of state for field: _serviceCount |
private boolean |
_has_warning
keeps track of state for field: _warning |
private int |
_ipaddrCount
|
private int |
_nodeCount
|
private double |
_normal
|
private int |
_serviceCount
|
private double |
_warning
|
private java.util.Vector |
propertyChangeListeners
|
Constructor Summary | |
Category()
|
Method Summary | |
void |
addCatSections(CatSections vCatSections)
|
void |
addCatSections(int index,
CatSections vCatSections)
|
void |
addPropertyChangeListener(java.beans.PropertyChangeListener pcl)
Registers a PropertyChangeListener with this class. |
void |
clearCatSections()
|
void |
deleteCatIndex()
|
void |
deleteIpaddrCount()
|
void |
deleteNodeCount()
|
void |
deleteNormal()
|
void |
deleteServiceCount()
|
void |
deleteWarning()
|
java.util.Enumeration |
enumerateCatSections()
|
boolean |
equals(java.lang.Object obj)
Note: hashCode() has not been overriden |
java.lang.String |
getCatComments()
Returns the value of field 'catComments'. |
int |
getCatIndex()
Returns the value of field 'catIndex'. |
java.lang.String |
getCatName()
Returns the value of field 'catName'. |
CatSections[] |
getCatSections()
|
CatSections |
getCatSections(int index)
|
java.util.Collection |
getCatSectionsCollection()
|
int |
getCatSectionsCount()
|
int |
getIpaddrCount()
Returns the value of field 'ipaddrCount'. |
int |
getNodeCount()
Returns the value of field 'nodeCount'. |
double |
getNormal()
Returns the value of field 'normal'. |
int |
getServiceCount()
Returns the value of field 'serviceCount'. |
double |
getWarning()
Returns the value of field 'warning'. |
boolean |
hasCatIndex()
|
boolean |
hasIpaddrCount()
|
boolean |
hasNodeCount()
|
boolean |
hasNormal()
|
boolean |
hasServiceCount()
|
boolean |
hasWarning()
|
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 |
removeCatSections(CatSections vCatSections)
|
boolean |
removePropertyChangeListener(java.beans.PropertyChangeListener pcl)
Removes the given PropertyChangeListener from this classes list of ProperyChangeListeners. |
void |
setCatComments(java.lang.String catComments)
Sets the value of field 'catComments'. |
void |
setCatIndex(int catIndex)
Sets the value of field 'catIndex'. |
void |
setCatName(java.lang.String catName)
Sets the value of field 'catName'. |
void |
setCatSections(CatSections[] catSectionsArray)
|
void |
setCatSections(int index,
CatSections vCatSections)
|
void |
setCatSectionsCollection(java.util.Collection vCatSections)
|
void |
setIpaddrCount(int ipaddrCount)
Sets the value of field 'ipaddrCount'. |
void |
setNodeCount(int nodeCount)
Sets the value of field 'nodeCount'. |
void |
setNormal(double normal)
Sets the value of field 'normal'. |
void |
setServiceCount(int serviceCount)
Sets the value of field 'serviceCount'. |
void |
setWarning(double warning)
Sets the value of field 'warning'. |
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 _catName
private java.util.ArrayList _catSectionsList
private java.lang.String _catComments
private double _warning
private boolean _has_warning
private double _normal
private boolean _has_normal
private int _catIndex
private boolean _has_catIndex
private int _nodeCount
private boolean _has_nodeCount
private int _ipaddrCount
private boolean _has_ipaddrCount
private int _serviceCount
private boolean _has_serviceCount
private java.util.Vector propertyChangeListeners
Constructor Detail |
public Category()
Method Detail |
public void addCatSections(CatSections vCatSections) throws java.lang.IndexOutOfBoundsException
vCatSections
-
java.lang.IndexOutOfBoundsException
public void addCatSections(int index, CatSections vCatSections) throws java.lang.IndexOutOfBoundsException
index
- vCatSections
-
java.lang.IndexOutOfBoundsException
public void addPropertyChangeListener(java.beans.PropertyChangeListener pcl)
pcl
- The PropertyChangeListener to register.public void clearCatSections()
public void deleteCatIndex()
public void deleteIpaddrCount()
public void deleteNodeCount()
public void deleteNormal()
public void deleteServiceCount()
public void deleteWarning()
public java.util.Enumeration enumerateCatSections()
public boolean equals(java.lang.Object obj)
obj
- public java.lang.String getCatComments()
public int getCatIndex()
public java.lang.String getCatName()
public CatSections getCatSections(int index) throws java.lang.IndexOutOfBoundsException
index
-
java.lang.IndexOutOfBoundsException
public CatSections[] getCatSections()
public java.util.Collection getCatSectionsCollection()
public int getCatSectionsCount()
public int getIpaddrCount()
public int getNodeCount()
public double getNormal()
public int getServiceCount()
public double getWarning()
public boolean hasCatIndex()
public boolean hasIpaddrCount()
public boolean hasNodeCount()
public boolean hasNormal()
public boolean hasServiceCount()
public boolean hasWarning()
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 removeCatSections(CatSections vCatSections)
vCatSections
- public boolean removePropertyChangeListener(java.beans.PropertyChangeListener pcl)
pcl
- The PropertyChangeListener to remove.
public void setCatComments(java.lang.String catComments)
catComments
- the value of field 'catComments'.public void setCatIndex(int catIndex)
catIndex
- the value of field 'catIndex'.public void setCatName(java.lang.String catName)
catName
- the value of field 'catName'.public void setCatSections(int index, CatSections vCatSections) throws java.lang.IndexOutOfBoundsException
index
- vCatSections
-
java.lang.IndexOutOfBoundsException
public void setCatSections(CatSections[] catSectionsArray)
catSectionsArray
- public void setCatSectionsCollection(java.util.Collection vCatSections)
vCatSections
- public void setIpaddrCount(int ipaddrCount)
ipaddrCount
- the value of field 'ipaddrCount'.public void setNodeCount(int nodeCount)
nodeCount
- the value of field 'nodeCount'.public void setNormal(double normal)
normal
- the value of field 'normal'.public void setServiceCount(int serviceCount)
serviceCount
- the value of field 'serviceCount'.public void setWarning(double warning)
warning
- the value of field 'warning'.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 |