Class ResultSetCursor.FetchList<T>

java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList<T>
org.tentackle.persist.ResultSetCursor.FetchList<T>
All Implemented Interfaces:
Serializable, Cloneable, Iterable<T>, Collection<T>, List<T>, RandomAccess
Enclosing class:
ResultSetCursor<T extends PersistentDomainObject<T>>

public static class ResultSetCursor.FetchList<T> extends ArrayList<T>
Adds a closed flag to saveObject a roundtrip in remote sessions.
See Also:
  • Constructor Details

    • FetchList

      public FetchList()
      Creates an empty non-closed fetch list.
  • Method Details

    • isClosed

      public boolean isClosed()
      Returns whether list is closed.
      Returns:
      true if this is the last fetch
    • setClosed

      public void setClosed(boolean closed)
      Sets the list to be closed.
      Parameters:
      closed - true if this is the last fetch