Module org.eclipse.persistence.core
Class IndirectListContainerPolicy
java.lang.Object
org.eclipse.persistence.internal.queries.ContainerPolicy
org.eclipse.persistence.internal.queries.InterfaceContainerPolicy
org.eclipse.persistence.internal.queries.CollectionContainerPolicy
org.eclipse.persistence.internal.queries.ListContainerPolicy
org.eclipse.persistence.internal.queries.IndirectListContainerPolicy
- All Implemented Interfaces:
Serializable,Cloneable,CoreContainerPolicy<AbstractSession>
PERF: Avoids reflection usage for IndirectList.
- Since:
- TOPLink/Java 2.5
- See Also:
-
Field Summary
Fields inherited from class org.eclipse.persistence.internal.queries.InterfaceContainerPolicy
cloneMethod, containerClass, containerClassNameFields inherited from class org.eclipse.persistence.internal.queries.ContainerPolicy
constructor, defaultContainerClass, elementDescriptor -
Constructor Summary
ConstructorsConstructorDescriptionINTERNAL: Construct a new policy.IndirectListContainerPolicy(Class<?> containerClass) INTERNAL: Construct a new policy for the specified class. -
Method Summary
Modifier and TypeMethodDescriptionbuildContainerFromVector(Vector vector, AbstractSession session) INTERNAL: Just return the Vector.INTERNAL: Return a clone of the specified container.INTERNAL: Return a new Vector.containerInstance(int initialCapacity) INTERNAL: Return a new Vector.Methods inherited from class org.eclipse.persistence.internal.queries.ListContainerPolicy
get, hasOrder, indexOf, isListPolicy, isValidContainer, recordAddToCollectionInChangeRecord, recordRemoveFromCollectionInChangeRecord, updateChangeRecordForSelfMerge, valueFromPKListMethods inherited from class org.eclipse.persistence.internal.queries.CollectionContainerPolicy
addInto, clear, contains, getInterfaceType, isCollectionPolicy, iteratorFor, removeFrom, sizeForMethods inherited from class org.eclipse.persistence.internal.queries.InterfaceContainerPolicy
convertClassNamesToClasses, createChangeEvent, createQueryKeyForMapKey, equals, getCloneMethod, getCloneMethod, getContainerClass, getContainerClassName, getDirectKeyField, hashCode, hasNext, invokeCloneMethodOn, isMapKeyAttribute, isValidContainerType, next, setCloneMethod, setContainerClass, setContainerClassName, toStringInfoMethods inherited from class org.eclipse.persistence.internal.queries.ContainerPolicy
addAdditionalFieldsToQuery, addAll, addAll, addFieldsForMapKey, addInto, addInto, addInto, addNestedJoinsQueriesForMapKey, addNextValueFromIteratorInto, buildChangeSetForNewObjectInCollection, buildCloneForKey, buildCollectionEntry, buildDefaultPolicy, buildKey, buildKeyFromJoinedRow, buildPolicyFor, buildPolicyFor, buildReferencesPKList, buildSelectionQueryForDirectCollectionMapping, cascadeDiscoverAndPersistUnregisteredNewObjects, cascadePerformRemoveIfRequired, cascadeRegisterNewIfRequired, clone, clone, collectObjectForNewCollection, compareCollectionsForChange, compareKeys, concatenateContainers, contains, copyMapDataToRow, createChangeSetForKeys, createWrappedObjectFromExistingWrappedObject, deleteWrappedObject, execute, getAdditionalFieldsForJoin, getAdditionalTablesForJoinQuery, getChangeValuesFrom, getCloneDataFromChangeSet, getConstructor, getDefaultContainerClass, getDescriptorForMapKey, getElementDescriptor, getIdentityFieldsForMapKey, getKeyMappingDataForWriteQuery, getKeySelectionCriteria, getKeyType, hasElementDescriptor, initialize, initializeConstructor, isCursoredStreamPolicy, isCursorPolicy, isDirectMapPolicy, isEmpty, isMapKeyObject, isMappedKeyMapPolicy, isMapPolicy, isOrderedListPolicy, isScrollableCursorPolicy, iterateOnMapKey, keyFrom, keyFromEntry, keyFromIterator, mergeCascadeParts, mergeChanges, mergeChanges, next, nextEntry, nextEntry, overridesRead, postCalculateChanges, postCalculateChanges, postInitialize, prepare, prepareForExecution, processAdditionalWritableMapKeyFields, propagatesEventsToCollection, propogatePostDelete, propogatePostInsert, propogatePostUpdate, propogatePreDelete, propogatePreInsert, propogatePreUpdate, recordPrivateOwnedRemovals, recordUpdateToCollectionInChangeRecord, remoteExecute, removeFrom, removeFrom, requiresDataModificationEvents, setConstructor, setDefaultContainerClass, setElementDescriptor, setKeyName, setKeyName, shouldAddAll, shouldIncludeKeyInDeleteEvent, shouldUpdateForeignKeysPostInsert, toString, unwrapElement, unwrapIteratorResult, updateJoinedMappingIndexesForMapKey, vectorFor
-
Constructor Details
-
IndirectListContainerPolicy
public IndirectListContainerPolicy()INTERNAL: Construct a new policy. -
IndirectListContainerPolicy
INTERNAL: Construct a new policy for the specified class.
-
-
Method Details
-
cloneFor
INTERNAL: Return a clone of the specified container.- Overrides:
cloneForin classCollectionContainerPolicy
-
buildContainerFromVector
INTERNAL: Just return the Vector.- Overrides:
buildContainerFromVectorin classCollectionContainerPolicy
-
containerInstance
INTERNAL: Return a new Vector.- Specified by:
containerInstancein interfaceCoreContainerPolicy<AbstractSession>- Overrides:
containerInstancein classContainerPolicy
-
containerInstance
INTERNAL: Return a new Vector.- Specified by:
containerInstancein interfaceCoreContainerPolicy<AbstractSession>- Overrides:
containerInstancein classContainerPolicy
-