|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennms.netmgt.xml.event.EventReceipt
public class EventReceipt
Class EventReceipt.
| Constructor Summary | |
|---|---|
EventReceipt()
|
|
| Method Summary | |
|---|---|
void |
addUuid(int index,
String vUuid)
|
void |
addUuid(String vUuid)
|
Enumeration<String> |
enumerateUuid()
Method enumerateUuid. |
String[] |
getUuid()
Method getUuid.Returns the contents of the collection in an Array. |
String |
getUuid(int index)
Method getUuid. |
List<String> |
getUuidCollection()
Method getUuidCollection.Returns a reference to '_uuidList'. |
int |
getUuidCount()
Method getUuidCount. |
boolean |
isValid()
Method isValid. |
Iterator<String> |
iterateUuid()
Method iterateUuid. |
void |
marshal(ContentHandler handler)
|
void |
marshal(Writer out)
|
void |
removeAllUuid()
|
boolean |
removeUuid(String vUuid)
Method removeUuid. |
String |
removeUuidAt(int index)
Method removeUuidAt. |
void |
setUuid(int index,
String vUuid)
|
void |
setUuid(List<String> vUuidList)
Sets the value of '_uuidList' by copying the given Vector. |
void |
setUuid(String[] vUuidArray)
|
void |
setUuidCollection(List<String> uuidList)
Deprecated. |
static EventReceipt |
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 EventReceipt()
| Method Detail |
|---|
public void addUuid(String vUuid)
throws IndexOutOfBoundsException
vUuid -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collection
public void addUuid(int index,
String vUuid)
throws IndexOutOfBoundsException
index - vUuid -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic Enumeration<String> enumerateUuid()
public String getUuid(int index)
throws IndexOutOfBoundsException
index -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic String[] getUuid()
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<String> getUuidCollection()
public int getUuidCount()
public boolean isValid()
public Iterator<String> iterateUuid()
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 removeAllUuid()
public boolean removeUuid(String vUuid)
vUuid -
public String removeUuidAt(int index)
index -
public void setUuid(int index,
String vUuid)
throws IndexOutOfBoundsException
index - vUuid -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic void setUuid(String[] vUuidArray)
vUuidArray - public void setUuid(List<String> vUuidList)
vUuidList - the Vector to copy.public void setUuidCollection(List<String> uuidList)
uuidList - the Vector to set.
public static EventReceipt 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 | ||||||||