public class AssociationList
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
AssociationList() |
Modifier and Type | Method and Description |
---|---|
void |
addAssociation(Association vAssociation) |
void |
addAssociation(int index,
Association vAssociation) |
java.util.Enumeration<? extends Association> |
enumerateAssociation()
Method enumerateAssociation.
|
Association[] |
getAssociation()
Method getAssociation.Returns the contents of the collection
in an Array.
|
Association |
getAssociation(int index)
Method getAssociation.
|
int |
getAssociationCount()
Method getAssociationCount.
|
java.util.Iterator<? extends Association> |
iterateAssociation()
Method iterateAssociation.
|
void |
removeAllAssociation() |
boolean |
removeAssociation(Association vAssociation)
Method removeAssociation.
|
Association |
removeAssociationAt(int index)
Method removeAssociationAt.
|
void |
setAssociation(Association[] vAssociationArray) |
void |
setAssociation(int index,
Association vAssociation) |
public void addAssociation(Association vAssociation) throws java.lang.IndexOutOfBoundsException
vAssociation
- java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addAssociation(int index, Association vAssociation) throws java.lang.IndexOutOfBoundsException
index
- vAssociation
- java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic java.util.Enumeration<? extends Association> enumerateAssociation()
public Association getAssociation(int index) throws java.lang.IndexOutOfBoundsException
index
- java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic Association[] getAssociation()
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 getAssociationCount()
public java.util.Iterator<? extends Association> iterateAssociation()
public void removeAllAssociation()
public boolean removeAssociation(Association vAssociation)
vAssociation
- public Association removeAssociationAt(int index)
index
- public void setAssociation(int index, Association vAssociation) throws java.lang.IndexOutOfBoundsException
index
- vAssociation
- java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void setAssociation(Association[] vAssociationArray)
vAssociationArray
-