|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennms.netmgt.config.modelimport.MonitoredService
public class MonitoredService
This element is defined outside of the interface element for future use where it is expected that services on other network entities will be able to be defined (i.e. networks, nodes and applications)
| Constructor Summary | |
|---|---|
MonitoredService()
|
|
| Method Summary | |
|---|---|
void |
addCategory(Category vCategory)
Method addCategory |
void |
addCategory(int index,
Category vCategory)
Method addCategory |
void |
clearCategory()
Method clearCategory |
java.util.Enumeration |
enumerateCategory()
Method enumerateCategory |
Category[] |
getCategory()
Method getCategory |
Category |
getCategory(int index)
Method getCategory |
java.util.ArrayList |
getCategoryCollection()
Method getCategoryCollection Returns a reference to 'category'. |
int |
getCategoryCount()
Method getCategoryCount |
java.lang.String |
getServiceName()
Returns the value of field 'serviceName'. |
boolean |
isValid()
Method isValid |
void |
marshal(org.xml.sax.ContentHandler handler)
Method marshal |
void |
marshal(java.io.Writer out)
Method marshal |
boolean |
removeCategory(Category vCategory)
Method removeCategory |
void |
setCategory(java.util.ArrayList categoryCollection)
Method setCategory Sets the value of 'category' by copying the given ArrayList. |
void |
setCategory(Category[] categoryArray)
Method setCategory |
void |
setCategory(int index,
Category vCategory)
Method setCategory |
void |
setCategoryCollection(java.util.ArrayList categoryCollection)
Method setCategoryCollection Sets the value of 'category' by setting it to the given ArrayList. |
void |
setServiceName(java.lang.String serviceName)
Sets the value of field 'serviceName'. |
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 MonitoredService()
| Method Detail |
|---|
public void addCategory(Category vCategory)
throws java.lang.IndexOutOfBoundsException
vCategory -
java.lang.IndexOutOfBoundsException
public void addCategory(int index,
Category vCategory)
throws java.lang.IndexOutOfBoundsException
index - vCategory -
java.lang.IndexOutOfBoundsExceptionpublic void clearCategory()
public java.util.Enumeration enumerateCategory()
public Category getCategory(int index)
throws java.lang.IndexOutOfBoundsException
index -
java.lang.IndexOutOfBoundsExceptionpublic Category[] getCategory()
public java.util.ArrayList getCategoryCollection()
public int getCategoryCount()
public java.lang.String getServiceName()
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 removeCategory(Category vCategory)
vCategory -
public void setCategory(int index,
Category vCategory)
throws java.lang.IndexOutOfBoundsException
index - vCategory -
java.lang.IndexOutOfBoundsExceptionpublic void setCategory(Category[] categoryArray)
categoryArray - public void setCategory(java.util.ArrayList categoryCollection)
categoryCollection - the Vector to copy.public void setCategoryCollection(java.util.ArrayList categoryCollection)
categoryCollection - the ArrayList to copy.public void setServiceName(java.lang.String serviceName)
serviceName - the value of field 'serviceName'.
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 | ||||||||