gov.nih.nci.system.client.proxy
Class ListProxy

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.ArrayList
              extended by gov.nih.nci.system.client.proxy.ListProxy
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.lang.Iterable, java.util.Collection, java.util.List, java.util.RandomAccess, java.util.Set
Direct Known Subclasses:
LexEVSListProxy

public class ListProxy
extends java.util.ArrayList
implements java.util.Set

Author:
SDK Team
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
ListProxy()
           
 
Method Summary
 void add(int index, java.lang.Object element)
           
 boolean add(java.lang.Object o)
           
 boolean addAll(java.util.Collection c)
           
 boolean addAll(int index, java.util.Collection c)
           
 void calculateRealSize()
           
 void clear()
           
 boolean contains(java.lang.Object o)
           
 boolean containsAll(java.util.Collection c)
           
 java.lang.Object get(int index)
           
 java.util.List getListChunk()
           
 int getMaxRecordsPerQuery()
           
 java.lang.Object getOriginalCriteria()
           
 int getOriginalStart()
           
 int getRealSize()
           
 java.lang.String getTargetClassName()
           
 int indexOf(java.lang.Object o)
           
 boolean isEmpty()
           
 boolean isHasAllRecords()
           
 int lastIndexOf(java.lang.Object o)
           
 java.lang.Object remove(int index)
           
 boolean remove(java.lang.Object obj)
           
 boolean removeAll(java.util.Collection c)
           
 boolean retainAll(java.util.Collection c)
           
 java.lang.Object set(int index, java.lang.Object element)
           
 void setAppService(ApplicationService appService)
           
 void setHasAllRecords(boolean hasAllRecords)
           
 void setListChunk(java.util.List chunk)
           
 void setMaxRecordsPerQuery(int maxRecordsPerQuery)
           
 void setOriginalCriteria(java.lang.Object originalCriteria)
           
 void setOriginalStart(int orginalStart)
           
 void setRealSize(int realSize)
           
 void setTargetClassName(java.lang.String className)
           
 int size()
          Returns the number of elements in this list.
 java.util.List subList(int fromIndex, int toIndex)
           
 java.lang.Object[] toArray()
           
 java.lang.Object[] toArray(java.lang.Object[] a)
           
 
Methods inherited from class java.util.ArrayList
clone, ensureCapacity, removeRange, trimToSize
 
Methods inherited from class java.util.AbstractList
equals, hashCode, iterator, listIterator, listIterator
 
Methods inherited from class java.util.AbstractCollection
toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Set
equals, hashCode, iterator
 
Methods inherited from interface java.util.List
equals, hashCode, iterator, listIterator, listIterator
 

Constructor Detail

ListProxy

public ListProxy()
Method Detail

size

public int size()
Returns the number of elements in this list.

Specified by:
size in interface java.util.Collection
Specified by:
size in interface java.util.List
Specified by:
size in interface java.util.Set
Overrides:
size in class java.util.ArrayList
Returns:
size of the List

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface java.util.Collection
Specified by:
isEmpty in interface java.util.List
Specified by:
isEmpty in interface java.util.Set
Overrides:
isEmpty in class java.util.ArrayList
See Also:
java.util.#isEmpty()

contains

public boolean contains(java.lang.Object o)
Specified by:
contains in interface java.util.Collection
Specified by:
contains in interface java.util.List
Specified by:
contains in interface java.util.Set
Overrides:
contains in class java.util.ArrayList
See Also:
java.util.#contains(java.lang.Object)

toArray

public java.lang.Object[] toArray()
Specified by:
toArray in interface java.util.Collection
Specified by:
toArray in interface java.util.List
Specified by:
toArray in interface java.util.Set
Overrides:
toArray in class java.util.ArrayList
See Also:
java.util.#toArray()

toArray

public java.lang.Object[] toArray(java.lang.Object[] a)
Specified by:
toArray in interface java.util.Collection
Specified by:
toArray in interface java.util.List
Specified by:
toArray in interface java.util.Set
Overrides:
toArray in class java.util.ArrayList
See Also:
java.util.#toArray(java.lang.Object[])

add

public boolean add(java.lang.Object o)
Specified by:
add in interface java.util.Collection
Specified by:
add in interface java.util.List
Specified by:
add in interface java.util.Set
Overrides:
add in class java.util.ArrayList
See Also:
List.add(java.lang.Object)

remove

public boolean remove(java.lang.Object obj)
Specified by:
remove in interface java.util.Collection
Specified by:
remove in interface java.util.List
Specified by:
remove in interface java.util.Set
Overrides:
remove in class java.util.ArrayList
See Also:
List.remove(java.lang.Object)

containsAll

public boolean containsAll(java.util.Collection c)
Specified by:
containsAll in interface java.util.Collection
Specified by:
containsAll in interface java.util.List
Specified by:
containsAll in interface java.util.Set
Overrides:
containsAll in class java.util.AbstractCollection
See Also:
List.containsAll(java.util.Collection)

addAll

public boolean addAll(java.util.Collection c)
Specified by:
addAll in interface java.util.Collection
Specified by:
addAll in interface java.util.List
Specified by:
addAll in interface java.util.Set
Overrides:
addAll in class java.util.ArrayList
See Also:
List.addAll(java.util.Collection)

addAll

public boolean addAll(int index,
                      java.util.Collection c)
Specified by:
addAll in interface java.util.List
Overrides:
addAll in class java.util.ArrayList
See Also:
List.addAll(int, java.util.Collection)

removeAll

public boolean removeAll(java.util.Collection c)
Specified by:
removeAll in interface java.util.Collection
Specified by:
removeAll in interface java.util.List
Specified by:
removeAll in interface java.util.Set
Overrides:
removeAll in class java.util.AbstractCollection
See Also:
List.removeAll(java.util.Collection)

retainAll

public boolean retainAll(java.util.Collection c)
Specified by:
retainAll in interface java.util.Collection
Specified by:
retainAll in interface java.util.List
Specified by:
retainAll in interface java.util.Set
Overrides:
retainAll in class java.util.AbstractCollection
See Also:
List.retainAll(java.util.Collection)

clear

public void clear()
Specified by:
clear in interface java.util.Collection
Specified by:
clear in interface java.util.List
Specified by:
clear in interface java.util.Set
Overrides:
clear in class java.util.ArrayList
See Also:
List.clear()

get

public java.lang.Object get(int index)
Specified by:
get in interface java.util.List
Overrides:
get in class java.util.ArrayList
Parameters:
index -
Returns:
Object at this index

set

public java.lang.Object set(int index,
                            java.lang.Object element)
Specified by:
set in interface java.util.List
Overrides:
set in class java.util.ArrayList
See Also:
List.set(int, java.lang.Object)

add

public void add(int index,
                java.lang.Object element)
Specified by:
add in interface java.util.List
Overrides:
add in class java.util.ArrayList
See Also:
List.add(int, java.lang.Object)

remove

public java.lang.Object remove(int index)
Specified by:
remove in interface java.util.List
Overrides:
remove in class java.util.ArrayList
See Also:
List.add(int, java.lang.Object)

indexOf

public int indexOf(java.lang.Object o)
Specified by:
indexOf in interface java.util.List
Overrides:
indexOf in class java.util.ArrayList
See Also:
List.indexOf(java.lang.Object)

lastIndexOf

public int lastIndexOf(java.lang.Object o)
Specified by:
lastIndexOf in interface java.util.List
Overrides:
lastIndexOf in class java.util.ArrayList
See Also:
java.util.yList#lastIndexOf(java.lang.Object)

subList

public java.util.List subList(int fromIndex,
                              int toIndex)
Specified by:
subList in interface java.util.List
Overrides:
subList in class java.util.AbstractList
See Also:
List.subList(int, int)

isHasAllRecords

public boolean isHasAllRecords()
Returns:
Returns the hasAllRecords.

setHasAllRecords

public void setHasAllRecords(boolean hasAllRecords)
Parameters:
hasAllRecords - The hasAllRecords to set.

getMaxRecordsPerQuery

public int getMaxRecordsPerQuery()
Returns:
Returns the maxRecordsPerQuery.

setMaxRecordsPerQuery

public void setMaxRecordsPerQuery(int maxRecordsPerQuery)
Parameters:
maxRecordsPerQuery - The maxRecordsPerQuery to set.

getOriginalCriteria

public java.lang.Object getOriginalCriteria()
Returns:
Returns the orginalCriteria.

setOriginalCriteria

public void setOriginalCriteria(java.lang.Object originalCriteria)
Parameters:
originalCriteria - The orginalCriteria to set.

getOriginalStart

public int getOriginalStart()
Returns:
Returns the orginalStart.

setOriginalStart

public void setOriginalStart(int orginalStart)
Parameters:
orginalStart - The orginalStart to set.

getRealSize

public int getRealSize()
Returns:
Returns the realSize.

setRealSize

public void setRealSize(int realSize)
Parameters:
realSize - The realSize to set.

setTargetClassName

public void setTargetClassName(java.lang.String className)
Parameters:
className -

getTargetClassName

public java.lang.String getTargetClassName()
Returns:
String targetClassName

setAppService

public void setAppService(ApplicationService appService)

getListChunk

public java.util.List getListChunk()

setListChunk

public void setListChunk(java.util.List chunk)

calculateRealSize

public void calculateRealSize()