|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opennms.reporting.availability.Category
public class Category
Class Category.
| Constructor Summary | |
|---|---|
Category()
|
|
| Method Summary | |
|---|---|
void |
addCatSections(CatSections vCatSections)
|
void |
addCatSections(int index,
CatSections vCatSections)
|
void |
deleteCatIndex()
|
void |
deleteIpaddrCount()
|
void |
deleteNodeCount()
|
void |
deleteNormal()
|
void |
deleteServiceCount()
|
void |
deleteWarning()
|
Enumeration<CatSections> |
enumerateCatSections()
Method enumerateCatSections. |
String |
getCatComments()
Returns the value of field 'catComments'. |
int |
getCatIndex()
Returns the value of field 'catIndex'. |
String |
getCatName()
Returns the value of field 'catName'. |
CatSections[] |
getCatSections()
Method getCatSections.Returns the contents of the collection in an Array. |
CatSections |
getCatSections(int index)
Method getCatSections. |
List<CatSections> |
getCatSectionsCollection()
Method getCatSectionsCollection.Returns a reference to '_catSectionsList'. |
int |
getCatSectionsCount()
Method 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()
Method hasCatIndex. |
boolean |
hasIpaddrCount()
Method hasIpaddrCount. |
boolean |
hasNodeCount()
Method hasNodeCount. |
boolean |
hasNormal()
Method hasNormal. |
boolean |
hasServiceCount()
Method hasServiceCount. |
boolean |
hasWarning()
Method hasWarning. |
boolean |
isValid()
Method isValid. |
Iterator<CatSections> |
iterateCatSections()
Method iterateCatSections. |
void |
marshal(ContentHandler handler)
|
void |
marshal(Writer out)
|
void |
removeAllCatSections()
|
boolean |
removeCatSections(CatSections vCatSections)
Method removeCatSections. |
CatSections |
removeCatSectionsAt(int index)
Method removeCatSectionsAt. |
void |
setCatComments(String catComments)
Sets the value of field 'catComments'. |
void |
setCatIndex(int catIndex)
Sets the value of field 'catIndex'. |
void |
setCatName(String catName)
Sets the value of field 'catName'. |
void |
setCatSections(CatSections[] vCatSectionsArray)
|
void |
setCatSections(int index,
CatSections vCatSections)
|
void |
setCatSections(List<CatSections> vCatSectionsList)
Sets the value of '_catSectionsList' by copying the given Vector. |
void |
setCatSectionsCollection(List<CatSections> catSectionsList)
Deprecated. |
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(Reader reader)
Method unmarshal. |
void |
validate()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Category()
| Method Detail |
|---|
public void addCatSections(CatSections vCatSections)
throws IndexOutOfBoundsException
vCatSections -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collection
public void addCatSections(int index,
CatSections vCatSections)
throws IndexOutOfBoundsException
index - vCatSections -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic void deleteCatIndex()
public void deleteIpaddrCount()
public void deleteNodeCount()
public void deleteNormal()
public void deleteServiceCount()
public void deleteWarning()
public Enumeration<CatSections> enumerateCatSections()
public String getCatComments()
public int getCatIndex()
public String getCatName()
public CatSections getCatSections(int index)
throws IndexOutOfBoundsException
index -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic CatSections[] getCatSections()
Note: Just in case the collection contents are changing in another thread, we pass a 0-length Array of the correct type into the API call. This way we know that the Array returned is of exactly the correct length.
public List<CatSections> 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 Iterator<CatSections> iterateCatSections()
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 marshaling
org.exolab.castor.xml.ValidationException - if this
object is an invalid instance according to the schema
public void marshal(ContentHandler handler)
throws IOException,
org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
handler -
IOException - if an IOException occurs during
marshaling
org.exolab.castor.xml.ValidationException - if this
object is an invalid instance according to the schema
org.exolab.castor.xml.MarshalException - if object is
null or if any SAXException is thrown during marshalingpublic void removeAllCatSections()
public boolean removeCatSections(CatSections vCatSections)
vCatSections -
public CatSections removeCatSectionsAt(int index)
index -
public void setCatComments(String catComments)
catComments - the value of field 'catComments'.public void setCatIndex(int catIndex)
catIndex - the value of field 'catIndex'.public void setCatName(String catName)
catName - the value of field 'catName'.
public void setCatSections(int index,
CatSections vCatSections)
throws IndexOutOfBoundsException
index - vCatSections -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic void setCatSections(CatSections[] vCatSectionsArray)
vCatSectionsArray - public void setCatSections(List<CatSections> vCatSectionsList)
vCatSectionsList - the Vector to copy.public void setCatSectionsCollection(List<CatSections> catSectionsList)
catSectionsList - the Vector to set.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(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 marshaling
org.exolab.castor.xml.ValidationException - if this
object is an invalid instance according to the schema
public void validate()
throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationException - if this
object is an invalid instance according to the schema
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||