org.LexGrid.LexBIG.DataModel.Collections
Class SystemReleaseList

java.lang.Object
  extended by org.LexGrid.LexBIG.DataModel.Collections.SystemReleaseList
All Implemented Interfaces:
java.io.Serializable

public class SystemReleaseList
extends java.lang.Object
implements java.io.Serializable

Class SystemReleaseList.

Version:
$Revision$ $Date$
See Also:
Serialized Form

Constructor Summary
SystemReleaseList()
           
 
Method Summary
 void addSystemRelease(int index, SystemRelease vSystemRelease)
           
 void addSystemRelease(SystemRelease vSystemRelease)
           
 java.util.Enumeration<SystemRelease> enumerateSystemRelease()
          Method enumerateSystemRelease.
 SystemRelease[] getSystemRelease()
          Method getSystemRelease.Returns the contents of the collection in an Array.
 SystemRelease getSystemRelease(int index)
          Method getSystemRelease.
 int getSystemReleaseCount()
          Method getSystemReleaseCount.
 java.util.Iterator<SystemRelease> iterateSystemRelease()
          Method iterateSystemRelease.
 void removeAllSystemRelease()
           
 boolean removeSystemRelease(SystemRelease vSystemRelease)
          Method removeSystemRelease.
 SystemRelease removeSystemReleaseAt(int index)
          Method removeSystemReleaseAt.
 void setSystemRelease(int index, SystemRelease vSystemRelease)
           
 void setSystemRelease(SystemRelease[] vSystemReleaseArray)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SystemReleaseList

public SystemReleaseList()
Method Detail

addSystemRelease

public void addSystemRelease(SystemRelease vSystemRelease)
                      throws java.lang.IndexOutOfBoundsException
Parameters:
vSystemRelease -
Throws:
java.lang.IndexOutOfBoundsException - if the index given is outside the bounds of the collection

addSystemRelease

public void addSystemRelease(int index,
                             SystemRelease vSystemRelease)
                      throws java.lang.IndexOutOfBoundsException
Parameters:
index -
vSystemRelease -
Throws:
java.lang.IndexOutOfBoundsException - if the index given is outside the bounds of the collection

enumerateSystemRelease

public java.util.Enumeration<SystemRelease> enumerateSystemRelease()
Method enumerateSystemRelease.

Returns:
an Enumeration over all possible elements of this collection

getSystemRelease

public SystemRelease getSystemRelease(int index)
                               throws java.lang.IndexOutOfBoundsException
Method getSystemRelease.

Parameters:
index -
Returns:
the value of the org.LexGrid.versions.SystemRelease at the given index
Throws:
java.lang.IndexOutOfBoundsException - if the index given is outside the bounds of the collection

getSystemRelease

public SystemRelease[] getSystemRelease()
Method getSystemRelease.Returns the contents of the collection in an Array.

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.

Returns:
this collection as an Array

getSystemReleaseCount

public int getSystemReleaseCount()
Method getSystemReleaseCount.

Returns:
the size of this collection

iterateSystemRelease

public java.util.Iterator<SystemRelease> iterateSystemRelease()
Method iterateSystemRelease.

Returns:
an Iterator over all possible elements in this collection

removeAllSystemRelease

public void removeAllSystemRelease()

removeSystemRelease

public boolean removeSystemRelease(SystemRelease vSystemRelease)
Method removeSystemRelease.

Parameters:
vSystemRelease -
Returns:
true if the object was removed from the collection.

removeSystemReleaseAt

public SystemRelease removeSystemReleaseAt(int index)
Method removeSystemReleaseAt.

Parameters:
index -
Returns:
the element removed from the collection

setSystemRelease

public void setSystemRelease(int index,
                             SystemRelease vSystemRelease)
                      throws java.lang.IndexOutOfBoundsException
Parameters:
index -
vSystemRelease -
Throws:
java.lang.IndexOutOfBoundsException - if the index given is outside the bounds of the collection

setSystemRelease

public void setSystemRelease(SystemRelease[] vSystemReleaseArray)
Parameters:
vSystemReleaseArray -

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.