|
Oracle Fusion Middleware Java API Reference for Oracle TopLink 11g Release 1 (11.1.1) B32476-02 |
||||||||
| 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 | |
|---|---|
oracle.toplink.internal.queryframework.ContainerPolicy |
getContainerPolicy()Return the mapping's container policy. |
void |
setContainerPolicy(oracle.toplink.internal.queryframework.ContainerPolicy containerPolicy)Set the mapping's container policy. |
void |
useCollectionClass(java.lang.Class concreteClass)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)Configure the mapping to use an instance of the specified container class to hold the target objects. |
| Method Detail |
|---|
oracle.toplink.internal.queryframework.ContainerPolicy getContainerPolicy()
void setContainerPolicy(oracle.toplink.internal.queryframework.ContainerPolicy containerPolicy)
void useCollectionClass(java.lang.Class concreteClass)
The container class must implement (directly or indirectly) the java.util.Collection 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.
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||