Interface InternalCDOList

All Superinterfaces:
CDOList, Collection<Object>, EList<Object>, Iterable<Object>, List<Object>, org.eclipse.net4j.util.collection.MoveableList<Object>, SequencedCollection<Object>
All Known Subinterfaces:
InternalCDOList.ConfigurableEquality

public interface InternalCDOList extends CDOList
Revision-owned list implementation contract for many-valued features. It tracks loaded versus unloaded positions, adjusts references when IDs change, and notifies its owner when partial-loading state changes.
Since:
2.0
Author:
Simon McDuff
No Implement
This interface is not intended to be implemented by clients.
No Extend
This interface is not intended to be extended by clients.
  • Field Details

  • Method Details

    • setOwner

      default void setOwner(InternalCDOList.Owner owner)
      Since:
      4.29
    • loadValue

      default void loadValue(int index, Object value)
      Since:
      4.29
    • getServerIndexAt

      default int getServerIndexAt(int accessIndex)
      Returns the server-side index represented by the value at the given current list index.

      The current index is the index in this list. Implementations that represent unloaded values with a server-indexed proxy override this method to return the source index stored by that representation. For ordinary values, the current index is also the server-side index.

      Parameters:
      accessIndex - the current logical index in this list
      Returns:
      the server-side index represented by the value at accessIndex
      Since:
      4.29
    • finishConstruction

      default void finishConstruction(boolean partial)
      Completes the temporary construction phase of this list.
      Parameters:
      partial - whether positions that were not read must become unloaded
      Since:
      4.29
    • adjustReferences

      boolean adjustReferences(CDOReferenceAdjuster adjuster, EStructuralFeature feature)
      Adjusts references according to the passed adjuster and resynchronizes indexes.
      Since:
      4.0
    • clone

      InternalCDOList clone(EClassifier classifier)
      Clones the list.
    • freeze

      void freeze()
      Since:
      4.0
    • setWithoutFrozenCheck

      void setWithoutFrozenCheck(int i, Object value)
      Since:
      4.0