|
Oracle TopLink Java API Reference 10g Release 3 (10.1.3.1) B28219-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface used by clients to interact with the assorted mappings that use ContainerPolicy
.
oracle.toplink.internal.queryframework.ContainerPolicy
Method Summary | |
ContainerPolicy |
getContainerPolicy() PUBLIC: Return the mapping's container policy. |
void |
setContainerPolicy(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 |
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. |
Method Detail |
public ContainerPolicy getContainerPolicy()
public void setContainerPolicy(ContainerPolicy containerPolicy)
public void useCollectionClass(java.lang.Class concreteClass)
The container class must implement (directly or indirectly) the java.util.Collection
interface.
public 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.
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |