public class Wpms extends Object implements Serializable
Constructor and Description |
---|
Wpms() |
Modifier and Type | Method and Description |
---|---|
void |
addWpm(int index,
Wpm vWpm) |
void |
addWpm(Wpm vWpm) |
Enumeration<Wpm> |
enumerateWpm()
Method enumerateWpm.
|
boolean |
equals(Object obj)
Overrides the java.lang.Object.equals method.
|
Wpm[] |
getWpm()
Method getWpm.Returns the contents of the collection in an
Array.
|
Wpm |
getWpm(int index)
Method getWpm.
|
List<Wpm> |
getWpmCollection()
Method getWpmCollection.Returns a reference to '_wpmList'.
|
int |
getWpmCount()
Method getWpmCount.
|
int |
hashCode()
Overrides the java.lang.Object.hashCode method.
|
boolean |
isValid()
Method isValid.
|
Iterator<Wpm> |
iterateWpm()
Method iterateWpm.
|
void |
marshal(ContentHandler handler) |
void |
marshal(Writer out) |
void |
removeAllWpm() |
boolean |
removeWpm(Wpm vWpm)
Method removeWpm.
|
Wpm |
removeWpmAt(int index)
Method removeWpmAt.
|
void |
setWpm(int index,
Wpm vWpm) |
void |
setWpm(List<Wpm> vWpmList)
Sets the value of '_wpmList' by copying the given Vector.
|
void |
setWpm(Wpm[] vWpmArray) |
void |
setWpmCollection(List<Wpm> wpmList)
Deprecated.
|
static Wpms |
unmarshal(Reader reader)
Method unmarshal.
|
void |
validate() |
public void addWpm(Wpm vWpm) throws IndexOutOfBoundsException
vWpm
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addWpm(int index, Wpm vWpm) throws IndexOutOfBoundsException
index
- vWpm
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic Enumeration<Wpm> enumerateWpm()
public boolean equals(Object obj)
public Wpm getWpm(int index) throws IndexOutOfBoundsException
index
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic Wpm[] getWpm()
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<Wpm> getWpmCollection()
public int getWpmCount()
public int hashCode()
The following steps came from Effective Java Programming Language Guide by Joshua Bloch, Chapter 3
public boolean isValid()
public Iterator<Wpm> iterateWpm()
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 removeAllWpm()
public boolean removeWpm(Wpm vWpm)
vWpm
- public Wpm removeWpmAt(int index)
index
- public void setWpm(int index, Wpm vWpm) throws IndexOutOfBoundsException
index
- vWpm
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void setWpm(Wpm[] vWpmArray)
vWpmArray
- public void setWpm(List<Wpm> vWpmList)
vWpmList
- the Vector to copy.public void setWpmCollection(List<Wpm> wpmList)
wpmList
- the Vector to set.public static Wpms 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.