org.lexgrid.valuesets.dto
Class ResolvedPickListEntryList

java.lang.Object
  extended by org.lexgrid.valuesets.dto.ResolvedPickListEntryList
All Implemented Interfaces:
java.io.Serializable

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

Class to hold list of resolved pick list entries.

Author:
Sridhar Dwarkanath
See Also:
Serialized Form

Constructor Summary
ResolvedPickListEntryList()
           
 
Method Summary
 void addResolvedPickListEntry(int index, ResolvedPickListEntry vResolvedPickListEntry)
           
 void addResolvedPickListEntry(ResolvedPickListEntry vResolvedPickListEntry)
           
 java.util.Enumeration<ResolvedPickListEntry> enumerateResolvedPickListEntry()
          Method enumerateResolvedPickListEntry.
 ResolvedPickListEntry[] getResolvedPickListEntry()
          Method getResolvedPickListEntry.Returns the contents of the collection in an Array.
 ResolvedPickListEntry getResolvedPickListEntry(int index)
          Method getResolvedPickListEntry.
 int getResolvedPickListEntryCount()
          Method getResolvedPickListEntryCount.
 java.util.Iterator<ResolvedPickListEntry> iterateResolvedPickListEntry()
          Method iterateResolvedPickListEntry.
 void removeAllResolvedPickListEntry()
           
 boolean removeResolvedPickListEntry(ResolvedPickListEntry vResolvedPickListEntry)
          Method removeResolvedPickListEntry.
 ResolvedPickListEntry removeResolvedPickListEntryAt(int index)
          Method removeResolvedPickListEntryAt.
 void setResolvedPickListEntry(int index, ResolvedPickListEntry vResolvedPickListEntry)
           
 void setResolvedPickListEntry(ResolvedPickListEntry[] vResolvedPickListEntryArray)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResolvedPickListEntryList

public ResolvedPickListEntryList()
Method Detail

addResolvedPickListEntry

public void addResolvedPickListEntry(ResolvedPickListEntry vResolvedPickListEntry)
                              throws java.lang.IndexOutOfBoundsException
Parameters:
vResolvedPickListEntry -
Throws:
java.lang.IndexOutOfBoundsException - if the index given is outside the bounds of the collection

addResolvedPickListEntry

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

enumerateResolvedPickListEntry

public java.util.Enumeration<ResolvedPickListEntry> enumerateResolvedPickListEntry()
Method enumerateResolvedPickListEntry.

Returns:
an Enumeration over all possible elements of this collection

getResolvedPickListEntry

public ResolvedPickListEntry getResolvedPickListEntry(int index)
                                               throws java.lang.IndexOutOfBoundsException
Method getResolvedPickListEntry.

Parameters:
index -
Returns:
the value of the org.LexGrid.LexBIG.DataModel.Core.ResolvedPickListEntry at the given index
Throws:
java.lang.IndexOutOfBoundsException - if the index given is outside the bounds of the collection

getResolvedPickListEntry

public ResolvedPickListEntry[] getResolvedPickListEntry()
Method getResolvedPickListEntry.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

getResolvedPickListEntryCount

public int getResolvedPickListEntryCount()
Method getResolvedPickListEntryCount.

Returns:
the size of this collection

iterateResolvedPickListEntry

public java.util.Iterator<ResolvedPickListEntry> iterateResolvedPickListEntry()
Method iterateResolvedPickListEntry.

Returns:
an Iterator over all possible elements in this collection

removeAllResolvedPickListEntry

public void removeAllResolvedPickListEntry()

removeResolvedPickListEntry

public boolean removeResolvedPickListEntry(ResolvedPickListEntry vResolvedPickListEntry)
Method removeResolvedPickListEntry.

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

removeResolvedPickListEntryAt

public ResolvedPickListEntry removeResolvedPickListEntryAt(int index)
Method removeResolvedPickListEntryAt.

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

setResolvedPickListEntry

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

setResolvedPickListEntry

public void setResolvedPickListEntry(ResolvedPickListEntry[] vResolvedPickListEntryArray)
Parameters:
vResolvedPickListEntryArray -

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.