|
Oracle Fusion Middleware Java API Reference for Oracle TopLink 11g Release 1 (11.1.1) B32476-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.toplink.mappings.DatabaseMapping oracle.toplink.mappings.ForeignReferenceMapping oracle.toplink.mappings.ObjectReferenceMapping
public abstract class ObjectReferenceMapping
Purpose: Abstract class for 1:1, varibale 1:1 and reference mappings
Field Summary |
---|
Fields inherited from class oracle.toplink.mappings.ForeignReferenceMapping |
---|
INNER_JOIN, NONE, OUTER_JOIN |
Method Summary | |
---|---|
void |
useProxyIndirection()
Set this mapping to use Proxy Indirection. |
void |
useProxyIndirection(java.lang.Class targetInterface)
Set this mapping to use Proxy Indirection. |
void |
useProxyIndirection(java.lang.Class[] targetInterfaces)
Set this mapping to use Proxy Indirection. |
Methods inherited from class oracle.toplink.mappings.DatabaseMapping |
---|
getAttributeAccessor, getAttributeClassification, getAttributeName, getGetMethodName, getProperty, getSetMethodName, isLazy, isOptional, isUsingMethodAccess, readOnly, readWrite, setAttributeAccessor, setAttributeName, setGetMethodName, setIsLazy, setIsOptional, setIsReadOnly, setProperty, setSetMethodName, setWeight, simpleAddToCollectionChangeRecord, simpleRemoveFromCollectionChangeRecord |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public void useProxyIndirection()
Proxy
and InvocationHandler
features
of JDK 1.3 to provide "transparent indirection" for 1:1 relationships. In order to use Proxy
Indirection:
toString
is called on the proxy the real object data is retrieved from the database.
By default, use the target class' full list of interfaces for the proxy.
public void useProxyIndirection(java.lang.Class[] targetInterfaces)
Proxy
and InvocationHandler
features
of JDK 1.3 to provide "transparent indirection" for 1:1 relationships. In order to use Proxy
Indirection:
toString
is called on the proxy the real object data is retrieved from the database.
proxyInterfaces
- The interfaces that the target class implements. The attribute must be typed
as one of these interfaces.public void useProxyIndirection(java.lang.Class targetInterface)
Proxy
and InvocationHandler
features
of JDK 1.3 to provide "transparent indirection" for 1:1 relationships. In order to use Proxy
Indirection:
toString
is called on the proxy the real object data is retrieved from the database.
proxyInterface
- The interface that the target class implements. The attribute must be typed
as this interface.
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |