|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectpicsou.data.AssetPool
public class AssetPool
Class AssetPool.
Constructor Summary | |
---|---|
AssetPool()
|
Method Summary | |
---|---|
void |
addAsset(Asset vAsset)
|
void |
addAsset(int index,
Asset vAsset)
|
java.util.Enumeration<Asset> |
enumerateAsset()
Method enumerateAsset. |
Asset[] |
getAsset()
Method getAsset.Returns the contents of the collection in an Array. |
Asset |
getAsset(int index)
Method getAsset. |
int |
getAssetCount()
Method getAssetCount. |
Performance |
getPerformance()
Returns the value of field 'performance'. |
boolean |
isValid()
Method isValid. |
java.util.Iterator<Asset> |
iterateAsset()
Method iterateAsset. |
void |
marshal(org.xml.sax.ContentHandler handler)
|
void |
marshal(java.io.Writer out)
|
void |
removeAllAsset()
|
boolean |
removeAsset(Asset vAsset)
Method removeAsset. |
Asset |
removeAssetAt(int index)
Method removeAssetAt. |
void |
setAsset(Asset[] vAssetArray)
|
void |
setAsset(int index,
Asset vAsset)
|
void |
setPerformance(Performance performance)
Sets the value of field 'performance'. |
static AssetPool |
unmarshal(java.io.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 AssetPool()
Method Detail |
---|
public void addAsset(Asset vAsset) throws java.lang.IndexOutOfBoundsException
vAsset
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addAsset(int index, Asset vAsset) throws java.lang.IndexOutOfBoundsException
index
- vAsset
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic java.util.Enumeration<Asset> enumerateAsset()
public Asset getAsset(int index) throws java.lang.IndexOutOfBoundsException
index
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic Asset[] getAsset()
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 int getAssetCount()
public Performance getPerformance()
public boolean isValid()
public java.util.Iterator<Asset> iterateAsset()
public void marshal(java.io.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 schemapublic 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
- 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 removeAllAsset()
public boolean removeAsset(Asset vAsset)
vAsset
-
public Asset removeAssetAt(int index)
index
-
public void setAsset(int index, Asset vAsset) throws java.lang.IndexOutOfBoundsException
index
- vAsset
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void setAsset(Asset[] vAssetArray)
vAssetArray
- public void setPerformance(Performance performance)
performance
- the value of field 'performance'.public static AssetPool unmarshal(java.io.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 schemapublic 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 |