|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.LexGrid.LexBIG.DataModel.Collections.AssociationList
public class AssociationList
Class AssociationList.
Constructor Summary | |
---|---|
AssociationList()
|
Method Summary | |
---|---|
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)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AssociationList()
Method Detail |
---|
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
-
|
Copyright: (c) 2004-2006 Mayo Foundation for Medical Education and Research (MFMER). All rights reserved. MAYO, MAYO CLINIC, and the triple-shield Mayo logo are trademarks and service marks of MFMER. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |