|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennms.netmgt.config.categories.Category
public class Category
A category.
| Constructor Summary | |
|---|---|
Category()
|
|
| Method Summary | |
|---|---|
void |
addService(int index,
java.lang.String vService)
Method addService |
void |
addService(java.lang.String vService)
Method addService |
void |
clearService()
Method clearService |
void |
deleteNormal()
Method deleteNormal |
void |
deleteWarning()
Method deleteWarning |
java.util.Enumeration |
enumerateService()
Method enumerateService |
java.lang.String |
getComment()
Returns the value of field 'comment'. |
java.lang.String |
getLabel()
Returns the value of field 'label'. |
double |
getNormal()
Returns the value of field 'normal'. |
java.lang.String |
getRule()
Returns the value of field 'rule'. |
java.lang.String[] |
getService()
Method getService |
java.lang.String |
getService(int index)
Method getService |
java.util.ArrayList |
getServiceCollection()
Method getServiceCollection Returns a reference to 'service'. |
int |
getServiceCount()
Method getServiceCount |
double |
getWarning()
Returns the value of field 'warning'. |
boolean |
hasNormal()
Method hasNormal |
boolean |
hasWarning()
Method hasWarning |
boolean |
isValid()
Method isValid |
void |
marshal(org.xml.sax.ContentHandler handler)
Method marshal |
void |
marshal(java.io.Writer out)
Method marshal |
boolean |
removeService(java.lang.String vService)
Method removeService |
void |
setComment(java.lang.String comment)
Sets the value of field 'comment'. |
void |
setLabel(java.lang.String label)
Sets the value of field 'label'. |
void |
setNormal(double normal)
Sets the value of field 'normal'. |
void |
setRule(java.lang.String rule)
Sets the value of field 'rule'. |
void |
setService(java.util.ArrayList serviceCollection)
Method setService Sets the value of 'service' by copying the given ArrayList. |
void |
setService(int index,
java.lang.String vService)
Method setService |
void |
setService(java.lang.String[] serviceArray)
Method setService |
void |
setServiceCollection(java.util.ArrayList serviceCollection)
Method setServiceCollection Sets the value of 'service' by setting it to the given ArrayList. |
void |
setWarning(double warning)
Sets the value of field 'warning'. |
static java.lang.Object |
unmarshal(java.io.Reader reader)
Method unmarshal |
void |
validate()
Method 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 addService(java.lang.String vService)
throws java.lang.IndexOutOfBoundsException
vService -
java.lang.IndexOutOfBoundsException
public void addService(int index,
java.lang.String vService)
throws java.lang.IndexOutOfBoundsException
index - vService -
java.lang.IndexOutOfBoundsExceptionpublic void clearService()
public void deleteNormal()
public void deleteWarning()
public java.util.Enumeration enumerateService()
public java.lang.String getComment()
public java.lang.String getLabel()
public double getNormal()
public java.lang.String getRule()
public java.lang.String getService(int index)
throws java.lang.IndexOutOfBoundsException
index -
java.lang.IndexOutOfBoundsExceptionpublic java.lang.String[] getService()
public java.util.ArrayList getServiceCollection()
public int getServiceCount()
public double getWarning()
public boolean hasNormal()
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.ContentHandler handler)
throws java.io.IOException,
org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
handler -
java.io.IOException
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationExceptionpublic boolean removeService(java.lang.String vService)
vService -
public void setComment(java.lang.String comment)
comment - the value of field 'comment'.public void setLabel(java.lang.String label)
label - the value of field 'label'.public void setNormal(double normal)
normal - the value of field 'normal'.public void setRule(java.lang.String rule)
rule - the value of field 'rule'.
public void setService(int index,
java.lang.String vService)
throws java.lang.IndexOutOfBoundsException
index - vService -
java.lang.IndexOutOfBoundsExceptionpublic void setService(java.lang.String[] serviceArray)
serviceArray - public void setService(java.util.ArrayList serviceCollection)
serviceCollection - the Vector to copy.public void setServiceCollection(java.util.ArrayList serviceCollection)
serviceCollection - the ArrayList to copy.public void setWarning(double warning)
warning - the value of field 'warning'.
public static java.lang.Object 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
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||