-
- 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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
isLoaded()
Method to return if the SCO has its contents loaded.void
load()
Inform the SCO that it should load itself fully now (in case it is using lazy loading).void
setValue(T value)
Method to change the delegate value this wraps (to save recreating the wrapper).-
Methods inherited from interface org.datanucleus.store.types.SCO
attachCopy, clone, detachCopy, getFieldName, getOwner, getValue, initialise, initialise, initialise, unsetOwner
-
-
-
-
Method Detail
-
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
-
-