|
Oracle Application Server TopLink API Reference 10g Release 2 (10.1.2) B15903-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
.
ContainerPolicy
Method Summary | |
oracle.toplink.internal.queryframework.ContainerPolicy |
getContainerPolicy() PUBLIC: Return the mapping's container policy. |
void |
setContainerPolicy(oracle.toplink.internal.queryframework.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 oracle.toplink.internal.queryframework.ContainerPolicy getContainerPolicy()
public void setContainerPolicy(oracle.toplink.internal.queryframework.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 |