Interface SCOContainer<T>

Type Parameters:
T - Type being wrapped
All Superinterfaces:
SCO<T>
All Known Subinterfaces:
SCOCollection<T,E>, SCOList<T,E>, SCOMap<T,K,V>
All Known Implementing Classes:
ArrayList, ArrayList, Collection, Collection, HashMap, HashMap, HashSet, HashSet, Hashtable, Hashtable, LinkedHashMap, LinkedHashMap, LinkedHashSet, LinkedHashSet, LinkedList, LinkedList, List, List, Map, Map, PriorityQueue, PriorityQueue, Properties, Properties, Queue, Queue, Set, Set, SortedMap, SortedMap, SortedSet, SortedSet, Stack, Stack, TreeMap, TreeMap, TreeSet, TreeSet, Vector, Vector

public interface SCOContainer<T> extends SCO<T>
Representation of a SCO that contains other (persistable) objects.
  • Method Details

    • load

      void load()
      Inform the SCO that it should load itself fully now (in case it is using lazy loading).
    • isLoaded

      boolean isLoaded()
      Method to return if the SCO has its contents loaded. If the SCO doesn't support lazy loading will just return true.
      Returns:
      Whether it is loaded
    • setValue

      void setValue(T value)
      Method to change the delegate value this wraps (to save recreating the wrapper).
      Parameters:
      value - The new value