|
EclipseLink 2.4.2, build 'v20130514-5956486' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ContainerMapping
Interface used by clients to interact
with the assorted mappings that use ContainerPolicy
.
ContainerPolicy
Method Summary | |
---|---|
org.eclipse.persistence.internal.queries.ContainerPolicy |
getContainerPolicy()
PUBLIC: Return the mapping's container policy. |
void |
setContainerPolicy(org.eclipse.persistence.internal.queries.ContainerPolicy containerPolicy)
PUBLIC: Set the mapping's container policy. |
void |
useCollectionClass(java.lang.Class concreteClass)
PUBLIC: Configure the mapping to use an instance of the specified container class to hold the target objects. |
void |
useCollectionClassName(java.lang.String concreteClass)
PUBLIC: Configure the mapping to use an instance of the specified container class to hold the target objects. |
void |
useListClassName(java.lang.String concreteClass)
PUBLIC: Configure the mapping to use an instance of the specified container class to hold the target objects. |
void |
useMapClass(java.lang.Class concreteClass,
java.lang.String methodName)
PUBLIC: Configure the mapping to use an instance of the specified container class to hold the target objects. |
void |
useMapClassName(java.lang.String concreteClass,
java.lang.String methodName)
PUBLIC: Configure the mapping to use an instance of the specified container class to hold the target objects. |
Method Detail |
---|
org.eclipse.persistence.internal.queries.ContainerPolicy getContainerPolicy()
void setContainerPolicy(org.eclipse.persistence.internal.queries.ContainerPolicy containerPolicy)
void useCollectionClass(java.lang.Class concreteClass)
The container class must implement (directly or indirectly) the
java.util.Collection
interface.
void useCollectionClassName(java.lang.String concreteClass)
The container class must implement (directly or indirectly) the
java.util.Collection
interface.
void useListClassName(java.lang.String concreteClass)
The container class must implement (directly or indirectly) the
java.util.List
interface.
void useMapClass(java.lang.Class concreteClass, java.lang.String methodName)
Map
is the value returned by a call to the specified
zero-argument method.
The method must be implemented by the class (or a superclass) of any
value to be inserted into the Map
.
The container class must implement (directly or indirectly) the
java.util.Map
interface.
To facilitate resolving the method, the mapping's referenceClass must set before calling this method.
void useMapClassName(java.lang.String concreteClass, java.lang.String methodName)
Map
is the value returned by a call to the specified
zero-argument method.
The method must be implemented by the class (or a superclass) of any
value to be inserted into the Map
.
The container class must implement (directly or indirectly) the
java.util.Map
interface.
To facilitate resolving the method, the mapping's referenceClass must set before calling this method.
|
EclipseLink 2.4.2, build 'v20130514-5956486' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |