|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennms.netmgt.config.service.Service
public class Service
Service to be launched by the manager.
| Constructor Summary | |
|---|---|
Service()
|
|
| Method Summary | |
|---|---|
void |
addAttribute(Attribute vAttribute)
Method addAttribute |
void |
addAttribute(int index,
Attribute vAttribute)
Method addAttribute |
void |
addInvoke(int index,
Invoke vInvoke)
Method addInvoke |
void |
addInvoke(Invoke vInvoke)
Method addInvoke |
void |
clearAttribute()
Method clearAttribute |
void |
clearInvoke()
Method clearInvoke |
java.util.Enumeration |
enumerateAttribute()
Method enumerateAttribute |
java.util.Enumeration |
enumerateInvoke()
Method enumerateInvoke |
Attribute[] |
getAttribute()
Method getAttribute |
Attribute |
getAttribute(int index)
Method getAttribute |
java.util.ArrayList |
getAttributeCollection()
Method getAttributeCollection Returns a reference to 'attribute'. |
int |
getAttributeCount()
Method getAttributeCount |
java.lang.String |
getClassName()
Returns the value of field 'className'. |
Invoke[] |
getInvoke()
Method getInvoke |
Invoke |
getInvoke(int index)
Method getInvoke |
java.util.ArrayList |
getInvokeCollection()
Method getInvokeCollection Returns a reference to 'invoke'. |
int |
getInvokeCount()
Method getInvokeCount |
java.lang.String |
getName()
Returns the value of field 'name'. |
boolean |
isValid()
Method isValid |
void |
marshal(org.xml.sax.ContentHandler handler)
Method marshal |
void |
marshal(java.io.Writer out)
Method marshal |
boolean |
removeAttribute(Attribute vAttribute)
Method removeAttribute |
boolean |
removeInvoke(Invoke vInvoke)
Method removeInvoke |
void |
setAttribute(java.util.ArrayList attributeCollection)
Method setAttribute Sets the value of 'attribute' by copying the given ArrayList. |
void |
setAttribute(Attribute[] attributeArray)
Method setAttribute |
void |
setAttribute(int index,
Attribute vAttribute)
Method setAttribute |
void |
setAttributeCollection(java.util.ArrayList attributeCollection)
Method setAttributeCollection Sets the value of 'attribute' by setting it to the given ArrayList. |
void |
setClassName(java.lang.String className)
Sets the value of field 'className'. |
void |
setInvoke(java.util.ArrayList invokeCollection)
Method setInvoke Sets the value of 'invoke' by copying the given ArrayList. |
void |
setInvoke(int index,
Invoke vInvoke)
Method setInvoke |
void |
setInvoke(Invoke[] invokeArray)
Method setInvoke |
void |
setInvokeCollection(java.util.ArrayList invokeCollection)
Method setInvokeCollection Sets the value of 'invoke' by setting it to the given ArrayList. |
void |
setName(java.lang.String name)
Sets the value of field 'name'. |
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 Service()
| Method Detail |
|---|
public void addAttribute(Attribute vAttribute)
throws java.lang.IndexOutOfBoundsException
vAttribute -
java.lang.IndexOutOfBoundsException
public void addAttribute(int index,
Attribute vAttribute)
throws java.lang.IndexOutOfBoundsException
index - vAttribute -
java.lang.IndexOutOfBoundsException
public void addInvoke(Invoke vInvoke)
throws java.lang.IndexOutOfBoundsException
vInvoke -
java.lang.IndexOutOfBoundsException
public void addInvoke(int index,
Invoke vInvoke)
throws java.lang.IndexOutOfBoundsException
index - vInvoke -
java.lang.IndexOutOfBoundsExceptionpublic void clearAttribute()
public void clearInvoke()
public java.util.Enumeration enumerateAttribute()
public java.util.Enumeration enumerateInvoke()
public Attribute getAttribute(int index)
throws java.lang.IndexOutOfBoundsException
index -
java.lang.IndexOutOfBoundsExceptionpublic Attribute[] getAttribute()
public java.util.ArrayList getAttributeCollection()
public int getAttributeCount()
public java.lang.String getClassName()
public Invoke getInvoke(int index)
throws java.lang.IndexOutOfBoundsException
index -
java.lang.IndexOutOfBoundsExceptionpublic Invoke[] getInvoke()
public java.util.ArrayList getInvokeCollection()
public int getInvokeCount()
public java.lang.String getName()
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 removeAttribute(Attribute vAttribute)
vAttribute -
public boolean removeInvoke(Invoke vInvoke)
vInvoke -
public void setAttribute(int index,
Attribute vAttribute)
throws java.lang.IndexOutOfBoundsException
index - vAttribute -
java.lang.IndexOutOfBoundsExceptionpublic void setAttribute(Attribute[] attributeArray)
attributeArray - public void setAttribute(java.util.ArrayList attributeCollection)
attributeCollection - the Vector to copy.public void setAttributeCollection(java.util.ArrayList attributeCollection)
attributeCollection - the ArrayList to copy.public void setClassName(java.lang.String className)
className - the value of field 'className'.
public void setInvoke(int index,
Invoke vInvoke)
throws java.lang.IndexOutOfBoundsException
index - vInvoke -
java.lang.IndexOutOfBoundsExceptionpublic void setInvoke(Invoke[] invokeArray)
invokeArray - public void setInvoke(java.util.ArrayList invokeCollection)
invokeCollection - the Vector to copy.public void setInvokeCollection(java.util.ArrayList invokeCollection)
invokeCollection - the ArrayList to copy.public void setName(java.lang.String name)
name - the value of field 'name'.
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 | ||||||||