Uses of Class
org.eclipse.persistence.internal.queries.ContainerPolicy
Packages that use ContainerPolicy
Package
Description
-
Uses of ContainerPolicy in org.eclipse.persistence.exceptions
Methods in org.eclipse.persistence.exceptions with parameters of type ContainerPolicyModifier and TypeMethodDescriptionstatic QueryExceptionQueryException.cannotAddToContainer(Object anObject, Object aContainer, ContainerPolicy policy) static QueryExceptionQueryException.cannotCreateClone(ContainerPolicy policy, Object anObject) static QueryExceptionQueryException.cannotRemoveFromContainer(Object anObject, Object aContainer, ContainerPolicy policy) static ValidationExceptionValidationException.containerPolicyDoesNotUseKeys(ContainerPolicy aPolicy, String methodName) static DescriptorExceptionDescriptorException.invalidContainerPolicy(ContainerPolicy containerPolicy, Class<?> javaClass) static DescriptorExceptionDescriptorException.invalidContainerPolicyWithTransparentIndirection(DatabaseMapping mapping, ContainerPolicy containerPolicy) static DescriptorExceptionDescriptorException.unsupportedTypeForBidirectionalRelationshipMaintenance(DatabaseMapping mapping, ContainerPolicy containerPolicy) -
Uses of ContainerPolicy in org.eclipse.persistence.internal.indirection
Fields in org.eclipse.persistence.internal.indirection declared as ContainerPolicyModifier and TypeFieldDescriptionprotected ContainerPolicyTransparentIndirectionPolicy.containerPolicyPERF: Cache the mappings container policy.Methods in org.eclipse.persistence.internal.indirection that return ContainerPolicyModifier and TypeMethodDescriptionprotected 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 ContainerPolicyModifier and TypeMethodDescription<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.queriesModifier and TypeClassDescriptionclassPERF: Avoids reflection usage for ArrayList.classPurpose: A CollectionContainerPolicy is ContainerPolicy whose container class implements the Collection interface.classPERF: Avoids reflection usage for IndirectList.classPurpose: The abstract class for ContainerPolicy's whose container class implements a container interface.classPurpose: A ListContainerPolicy is ContainerPolicy whose container class implements the List interface.classPurpose: A MapContainerPolicy is ContainerPolicy whose container class implements the Map interface.classA MappedKeyMapContainerPolicy should be used for mappings to implementers of Map.classPurpose: A OrderedListContainerPolicy is ContainerPolicy whose container class implements the List interface and is ordered by an @OrderBy.classPurpose: A SortedCollectionContainerPolicy is ContainerPolicy whose container class implements the SortedInterface interface.classPERF: Avoids reflection usage for Vectors.Methods in org.eclipse.persistence.internal.queries that return ContainerPolicyModifier and TypeMethodDescriptionstatic 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. -
Uses of ContainerPolicy in org.eclipse.persistence.internal.sessions
Methods in org.eclipse.persistence.internal.sessions with parameters of type ContainerPolicyModifier and TypeMethodDescriptionvoidCollectionChangeRecord.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 ContainerPolicyModifier and TypeMethodDescriptionRemoteSessionController.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 ContainerPolicyMethods in org.eclipse.persistence.mappings that return ContainerPolicyModifier and TypeMethodDescriptionCollectionMapping.getContainerPolicy()INTERNAL: Returns the receiver's containerPolicy.ContainerMapping.getContainerPolicy()PUBLIC: Return the mapping's container policy.DatabaseMapping.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 ContainerPolicyModifier and TypeMethodDescriptionAggregateObjectMapping.buildSelectionQueryForDirectCollectionKeyMapping(ContainerPolicy containerPolicy) INTERNAL: Certain key mappings favor different types of selection query.OneToOneMapping.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 ContainerPolicyModifier and TypeMethodDescriptionAbstractCompositeCollectionMapping.getContainerPolicy()INTERNAL: Return the mapping's containerPolicy.AbstractCompositeDirectCollectionMapping.getContainerPolicy()INTERNAL: Return the mapping's containerPolicy.Methods in org.eclipse.persistence.mappings.foundation with parameters of type ContainerPolicyModifier and TypeMethodDescriptionAbstractDirectMapping.buildSelectionQueryForDirectCollectionKeyMapping(ContainerPolicy containerPolicy) INTERNAL: Certain key mappings favor different types of selection query.MapKeyMapping.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 ContainerPolicyModifier and TypeFieldDescriptionprotected ContainerPolicyXMLCollectionReferenceMapping.containerPolicyMethods in org.eclipse.persistence.oxm.mappings that return ContainerPolicyModifier and TypeMethodDescriptionBidirectionalPolicy.getBidirectionalTargetContainerPolicy()XMLAnyAttributeMapping.getContainerPolicy()INTERNAL: Return the mapping's containerPolicy.XMLAnyCollectionMapping.getContainerPolicy()INTERNAL: Return the mapping's containerPolicy.XMLChoiceCollectionMapping.getContainerPolicy()XMLCollectionReferenceMapping.getContainerPolicy()INTERNAL: Return the mapping's containerPolicy.XMLInverseReferenceMapping.getContainerPolicy()Methods in org.eclipse.persistence.oxm.mappings with parameters of type ContainerPolicyModifier and TypeMethodDescriptionprotected 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.queriesModifier and TypeClassDescriptionclassPurpose: Used to support cursored streams in a read query.classPurpose: Abstract class for all Cursor-related policy objectsclassPUBLIC: ScrollableCursorPolicy allows for additional options to be specified for ReadAllQuery or DataReadQuery.Fields in org.eclipse.persistence.queries declared as ContainerPolicyModifier and TypeFieldDescriptionprotected ContainerPolicyDataReadQuery.containerPolicyprotected ContainerPolicyReadAllQuery.containerPolicyUsed for collection and stream support.Methods in org.eclipse.persistence.queries that return ContainerPolicyModifier and TypeMethodDescriptionINTERNAL:DataReadQuery.getContainerPolicy()PUBLIC: Return the query's ContainerPolicy.ReadAllQuery.getContainerPolicy()INTERNAL: Return the query's container policy.Methods in org.eclipse.persistence.queries with parameters of type ContainerPolicyModifier and TypeMethodDescriptionvoidDataReadQuery.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 ContainerPolicyModifier and TypeMethodDescriptionabstract 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.RemoteSession.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 ContainerPolicyModifier and TypeMethodDescriptionprotected 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.