public class EventScript extends Object implements Serializable
Constructor and Description |
---|
EventScript() |
Modifier and Type | Method and Description |
---|---|
void |
addUei(int index,
Uei vUei) |
void |
addUei(Uei vUei) |
Enumeration<Uei> |
enumerateUei()
Method enumerateUei.
|
boolean |
equals(Object obj)
Overrides the java.lang.Object.equals method.
|
String |
getContent()
Returns the value of field 'content'.
|
String |
getLanguage()
Returns the value of field 'language'.
|
Uei[] |
getUei()
Method getUei.Returns the contents of the collection in an
Array.
|
Uei |
getUei(int index)
Method getUei.
|
List<Uei> |
getUeiCollection()
Method getUeiCollection.Returns a reference to '_ueiList'.
|
int |
getUeiCount()
Method getUeiCount.
|
int |
hashCode()
Overrides the java.lang.Object.hashCode method.
|
boolean |
isValid()
Method isValid.
|
Iterator<Uei> |
iterateUei()
Method iterateUei.
|
void |
marshal(ContentHandler handler) |
void |
marshal(Writer out) |
void |
removeAllUei() |
boolean |
removeUei(Uei vUei)
Method removeUei.
|
Uei |
removeUeiAt(int index)
Method removeUeiAt.
|
void |
setContent(String content)
Sets the value of field 'content'.
|
void |
setLanguage(String language)
Sets the value of field 'language'.
|
void |
setUei(int index,
Uei vUei) |
void |
setUei(List<Uei> vUeiList)
Sets the value of '_ueiList' by copying the given Vector.
|
void |
setUei(Uei[] vUeiArray) |
void |
setUeiCollection(List<Uei> ueiList)
Deprecated.
|
static EventScript |
unmarshal(Reader reader)
Method unmarshal.
|
void |
validate() |
public void addUei(Uei vUei) throws IndexOutOfBoundsException
vUei
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addUei(int index, Uei vUei) throws IndexOutOfBoundsException
index
- vUei
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic Enumeration<Uei> enumerateUei()
public boolean equals(Object obj)
public String getContent()
public String getLanguage()
public Uei getUei(int index) throws IndexOutOfBoundsException
index
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic Uei[] getUei()
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<Uei> getUeiCollection()
public int getUeiCount()
public int hashCode()
The following steps came from Effective Java Programming Language Guide by Joshua Bloch, Chapter 3
public boolean isValid()
public Iterator<Uei> iterateUei()
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 marshalingorg.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schemapublic void marshal(ContentHandler handler) throws IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
handler
- IOException
- if an IOException occurs during
marshalingorg.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schemaorg.exolab.castor.xml.MarshalException
- if object is
null or if any SAXException is thrown during marshalingpublic void removeAllUei()
public boolean removeUei(Uei vUei)
vUei
- public Uei removeUeiAt(int index)
index
- public void setContent(String content)
content
- the value of field 'content'.public void setLanguage(String language)
language
- the value of field 'language'.public void setUei(int index, Uei vUei) throws IndexOutOfBoundsException
index
- vUei
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void setUei(Uei[] vUeiArray)
vUeiArray
- public void setUei(List<Uei> vUeiList)
vUeiList
- the Vector to copy.public void setUeiCollection(List<Uei> ueiList)
ueiList
- the Vector to set.public static EventScript 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 marshalingorg.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schemapublic void validate() throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schemaCopyright © 2017. All rights reserved.