Uses of Class
org.eclipse.persistence.internal.queries.ContainerPolicy
-
-
Uses of ContainerPolicy in org.eclipse.persistence.exceptions
-
Uses of ContainerPolicy in org.eclipse.persistence.internal.indirection
Fields in org.eclipse.persistence.internal.indirection declared as ContainerPolicy Modifier and Type Field Description protected ContainerPolicyTransparentIndirectionPolicy. containerPolicyPERF: Cache the mappings container policy.Methods in org.eclipse.persistence.internal.indirection that return ContainerPolicy Modifier and Type Method Description protected ContainerPolicyTransparentIndirectionPolicy. getContainerPolicy()INTERNAL: Return the container policy for the mapping. -
Uses of ContainerPolicy in org.eclipse.persistence.internal.oxm
Methods in org.eclipse.persistence.internal.oxm with parameters of type ContainerPolicy Modifier and Type Method Description <T> Collection<T>XMLConversionManager. convertStringToList(Object sourceObject, Class<T> elementType, ContainerPolicy containerPolicy, QName schemaType)Convert the given sourceObject (String) to the appropriate collection type specified by the containerPolicy, using the elementType to properly convert each element of the list. -
Uses of ContainerPolicy in org.eclipse.persistence.internal.queries
Subclasses of ContainerPolicy in org.eclipse.persistence.internal.queries Modifier and Type Class Description classArrayListContainerPolicyPERF: Avoids reflection usage for ArrayList.classCollectionContainerPolicyPurpose: A CollectionContainerPolicy is ContainerPolicy whose container class implements the Collection interface.classIndirectListContainerPolicyPERF: Avoids reflection usage for IndirectList.classInterfaceContainerPolicyPurpose: The abstract class for ContainerPolicy's whose container class implements a container interface.classListContainerPolicyPurpose: A ListContainerPolicy is ContainerPolicy whose container class implements the List interface.classMapContainerPolicyPurpose: A MapContainerPolicy is ContainerPolicy whose container class implements the Map interface.classMappedKeyMapContainerPolicyA MappedKeyMapContainerPolicy should be used for mappings to implementers of Map.classOrderedListContainerPolicyPurpose: A OrderedListContainerPolicy is ContainerPolicy whose container class implements the List interface and is ordered by an @OrderBy.classSortedCollectionContainerPolicyPurpose: A SortedCollectionContainerPolicy is ContainerPolicy whose container class implements the SortedInterface interface.classVectorContainerPolicyPERF: Avoids reflection usage for Vectors.Methods in org.eclipse.persistence.internal.queries that return ContainerPolicy Modifier and Type Method Description static ContainerPolicyContainerPolicy. buildDefaultPolicy()INTERNAL: Return the appropriate container policy for the default container class.static ContainerPolicyContainerPolicy. buildPolicyFor(Class<?> concreteContainerClass)INTERNAL: Return the appropriate container policy for the specified concrete container class.static ContainerPolicyContainerPolicy. buildPolicyFor(Class<?> concreteContainerClass, boolean hasOrdering)INTERNAL: Return the appropriate container policy for the specified concrete container class.ContainerPolicyContainerPolicy. clone(ReadQuery query) -
Uses of ContainerPolicy in org.eclipse.persistence.internal.sessions
Methods in org.eclipse.persistence.internal.sessions with parameters of type ContainerPolicy Modifier and Type Method Description voidCollectionChangeRecord. addAdditionChange(Map objectChanges, ContainerPolicy cp, UnitOfWorkChangeSet changeSet, AbstractSession session)This method takes a Map of objects, converts these into ObjectChangeSets.voidCollectionChangeRecord. addRemoveChange(Map objectChanges, ContainerPolicy cp, UnitOfWorkChangeSet changeSet, AbstractSession session)This method takes a Map of objects, converts these into ObjectChangeSets.voidDirectCollectionChangeRecord. storeDatabaseCounts(Object collection, ContainerPolicy containerPolicy, AbstractSession session)This method will iterate over the collection and store the database counts for the objects within the collection, this is used for minimal updates. -
Uses of ContainerPolicy in org.eclipse.persistence.internal.sessions.remote
Methods in org.eclipse.persistence.internal.sessions.remote with parameters of type ContainerPolicy Modifier and Type Method Description MapRemoteSessionController. replaceValueHoldersInAll(Object container, ContainerPolicy policy)Traverse the specified objects, replacing the standard value holders with remote value holders. -
Uses of ContainerPolicy in org.eclipse.persistence.mappings
Fields in org.eclipse.persistence.mappings declared as ContainerPolicy Modifier and Type Field Description protected ContainerPolicyCollectionMapping. containerPolicyMethods in org.eclipse.persistence.mappings that return ContainerPolicy Modifier and Type Method Description ContainerPolicyCollectionMapping. getContainerPolicy()INTERNAL: Returns the receiver's containerPolicy.ContainerPolicyContainerMapping. getContainerPolicy()PUBLIC: Return the mapping's container policy.ContainerPolicyDatabaseMapping. getContainerPolicy()INTERNAL: Return the mapping's containerPolicy.protected ContainerPolicyCollectionMapping. getSelectionQueryContainerPolicy()INTERNAL: Get the container policy from the selection query for this mapping.protected ContainerPolicyDirectCollectionMapping. getSelectionQueryContainerPolicy()INTERNAL: Get the container policy from the selection query for this mapping.Methods in org.eclipse.persistence.mappings with parameters of type ContainerPolicy Modifier and Type Method Description ReadQueryAggregateObjectMapping. buildSelectionQueryForDirectCollectionKeyMapping(ContainerPolicy containerPolicy)INTERNAL: Certain key mappings favor different types of selection query.ReadQueryOneToOneMapping. buildSelectionQueryForDirectCollectionKeyMapping(ContainerPolicy containerPolicy)INTERNAL: Certain key mappings favor different types of selection query.voidCollectionMapping. setContainerPolicy(ContainerPolicy containerPolicy)ADVANCED: Configure the mapping to use a container policy.voidContainerMapping. setContainerPolicy(ContainerPolicy containerPolicy)PUBLIC: Set the mapping's container policy.voidDirectCollectionMapping. setContainerPolicy(ContainerPolicy containerPolicy)ADVANCED: Configure the mapping to use a container policy.voidDirectMapMapping. setContainerPolicy(ContainerPolicy containerPolicy)ADVANCED: Configure the mapping to use a container policy.protected voidCollectionMapping. setSelectionQueryContainerPolicy(ContainerPolicy containerPolicy)INTERNAL: Set the container policy on the selection query for this mapping.protected voidDirectCollectionMapping. setSelectionQueryContainerPolicy(ContainerPolicy containerPolicy)INTERNAL: Set the container policy on the selection query for this mapping. -
Uses of ContainerPolicy in org.eclipse.persistence.mappings.foundation
Methods in org.eclipse.persistence.mappings.foundation that return ContainerPolicy Modifier and Type Method Description ContainerPolicyAbstractCompositeCollectionMapping. getContainerPolicy()INTERNAL: Return the mapping's containerPolicy.ContainerPolicyAbstractCompositeDirectCollectionMapping. getContainerPolicy()INTERNAL: Return the mapping's containerPolicy.Methods in org.eclipse.persistence.mappings.foundation with parameters of type ContainerPolicy Modifier and Type Method Description ReadQueryAbstractDirectMapping. buildSelectionQueryForDirectCollectionKeyMapping(ContainerPolicy containerPolicy)INTERNAL: Certain key mappings favor different types of selection query.ReadQueryMapKeyMapping. buildSelectionQueryForDirectCollectionKeyMapping(ContainerPolicy containerPolicy)INTERNAL: Depending on the MapKeyMapping, a different selection query may be required to retrieve the map when the map is based on a DirectCollectionMappingvoidAbstractCompositeCollectionMapping. setContainerPolicy(ContainerPolicy containerPolicy)ADVANCED: Set the mapping's containerPolicy.voidAbstractCompositeDirectCollectionMapping. setContainerPolicy(ContainerPolicy containerPolicy)ADVANCED: Set the mapping's containerPolicy. -
Uses of ContainerPolicy in org.eclipse.persistence.oxm.mappings
Fields in org.eclipse.persistence.oxm.mappings declared as ContainerPolicy Modifier and Type Field Description protected ContainerPolicyXMLCollectionReferenceMapping. containerPolicyMethods in org.eclipse.persistence.oxm.mappings that return ContainerPolicy Modifier and Type Method Description ContainerPolicyBidirectionalPolicy. getBidirectionalTargetContainerPolicy()ContainerPolicyXMLAnyAttributeMapping. getContainerPolicy()INTERNAL: Return the mapping's containerPolicy.ContainerPolicyXMLAnyCollectionMapping. getContainerPolicy()INTERNAL: Return the mapping's containerPolicy.ContainerPolicyXMLChoiceCollectionMapping. getContainerPolicy()ContainerPolicyXMLCollectionReferenceMapping. getContainerPolicy()INTERNAL: Return the mapping's containerPolicy.ContainerPolicyXMLInverseReferenceMapping. getContainerPolicy()Methods in org.eclipse.persistence.oxm.mappings with parameters of type ContainerPolicy Modifier and Type Method Description protected ObjectXMLAbstractAnyMapping. buildObjectAndWrapInXMLRoot(ClassDescriptor referenceDescriptor, XMLConverter converter, ObjectBuildingQuery query, DOMRecord record, DOMRecord nestedRecord, JoinedAttributeManager joinManager, AbstractSession session, Node next, Object container, ContainerPolicy containerPolicy)Uses a given reference descriptor to build an object based on a given DOMRecord.protected ObjectXMLAbstractAnyMapping. buildObjectForNonXMLRoot(ClassDescriptor referenceDescriptor, XMLConverter converter, ObjectBuildingQuery query, DOMRecord record, DOMRecord nestedRecord, JoinedAttributeManager joinManager, AbstractSession session, Node next, Object container, ContainerPolicy containerPolicy)protected ObjectXMLAbstractAnyMapping. buildObjectNoReferenceDescriptor(DOMRecord record, XMLConverter converter, AbstractSession session, Node next, Object container, ContainerPolicy cp)Convenience method that takes a given Node and applies namespace information, converts it if necessary, and adds the resulting object to the given ContainerPolicy if non-null.voidBidirectionalPolicy. setBidirectionalTargetContainerPolicy(ContainerPolicy cp)voidXMLAnyAttributeMapping. setContainerPolicy(ContainerPolicy cp)voidXMLAnyCollectionMapping. setContainerPolicy(ContainerPolicy cp)voidXMLChoiceCollectionMapping. setContainerPolicy(ContainerPolicy cp)voidXMLCollectionReferenceMapping. setContainerPolicy(ContainerPolicy containerPolicy)ADVANCED: Set the mapping's containerPolicy.voidXMLInverseReferenceMapping. setContainerPolicy(ContainerPolicy containerPolicy) -
Uses of ContainerPolicy in org.eclipse.persistence.queries
Subclasses of ContainerPolicy in org.eclipse.persistence.queries Modifier and Type Class Description classCursoredStreamPolicyPurpose: Used to support cursored streams in a read query.classCursorPolicyPurpose: Abstract class for all Cursor-related policy objectsclassScrollableCursorPolicyPUBLIC: ScrollableCursorPolicy allows for additional options to be specified for ReadAllQuery or DataReadQuery.Fields in org.eclipse.persistence.queries declared as ContainerPolicy Modifier and Type Field Description protected ContainerPolicyDataReadQuery. containerPolicyprotected ContainerPolicyReadAllQuery. containerPolicyUsed for collection and stream support.Methods in org.eclipse.persistence.queries that return ContainerPolicy Modifier and Type Method Description ContainerPolicyCursorPolicy. clone(ReadQuery query)INTERNAL:ContainerPolicyDataReadQuery. getContainerPolicy()PUBLIC: Return the query's ContainerPolicy.ContainerPolicyReadAllQuery. getContainerPolicy()INTERNAL: Return the query's container policy.Methods in org.eclipse.persistence.queries with parameters of type ContainerPolicy Modifier and Type Method Description voidDataReadQuery. setContainerPolicy(ContainerPolicy containerPolicy)PUBLIC: Set the container policy.voidReadAllQuery. setContainerPolicy(ContainerPolicy containerPolicy)PUBLIC: Set the container policy. -
Uses of ContainerPolicy in org.eclipse.persistence.sessions.remote
Methods in org.eclipse.persistence.sessions.remote with parameters of type ContainerPolicy Modifier and Type Method Description abstract ObjectDistributedSession. getObjectsCorrespondingToAll(Object serverSideDomainObjects, Map<Object,ObjectDescriptor> objectDescriptors, Map<Object,Object> processedObjects, ObjectLevelReadQuery query, ContainerPolicy containerPolicy)INTERNAL: Return the corresponding objects from the remote session for the objects read from the server.ObjectRemoteSession. getObjectsCorrespondingToAll(Object serverSideDomainObjects, Map<Object,ObjectDescriptor> objectDescriptors, Map<Object,Object> processedObjects, ObjectLevelReadQuery query, ContainerPolicy containerPolicy)INTERNAL: Return the corresponding objects from the remote session for the objects read from the server. -
Uses of ContainerPolicy in org.eclipse.persistence.tools.schemaframework
Methods in org.eclipse.persistence.tools.schemaframework with parameters of type ContainerPolicy Modifier and Type Method Description protected voidDefaultTableGenerator. addFieldsForMappedKeyMapContainerPolicy(ContainerPolicy cp, TableDefinition table)The ContainerPolicy may contain some additional fields that should be added to the tableprotected voidDefaultTableGenerator. buildRelationTableDefinition(ForeignReferenceMapping mapping, RelationTableMechanism relationTableMechanism, DatabaseField listOrderField, ContainerPolicy cp)Build relation table definitions for all many-to-many relationships in a EclipseLink descriptor.
-