|
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 |
java.lang.Object
oracle.toplink.mappings.DatabaseMapping
oracle.toplink.mappings.ForeignReferenceMapping
Purpose: Abstract class for relationship mappings
Method Summary | |
void |
dontUseBatchReading() PUBLIC: Indicates whether the referenced object should always be batch read on read all queries. |
void |
dontUseIndirection() PUBLIC: Indirection means that a ValueHolder will be put in-between the attribute and the real object. |
java.lang.Class |
getReferenceClass() PUBLIC: Returns the reference class. |
java.lang.String |
getRelationshipPartnerAttributeName() PUBLIC: Use this method retreive the relationship partner attribute name of this bidirectional Mapping. |
boolean |
isCascadeMerge() PUBLIC: Check cascading value for the MERGE operation. |
boolean |
isCascadePersist() PUBLIC: Check cascading value for the CREATE operation. |
boolean |
isCascadeRefresh() PUBLIC: Check cascading value for the REFRESH operation. |
boolean |
isCascadeRemove() PUBLIC: Check cascading value for the REMOVE operation. |
void |
privateOwnedRelationship() PUBLIC: Sets the reference object to be a private owned. |
void |
setCascadeAll(boolean value) PUBLIC: Sets the cascading for all operations. |
void |
setCascadeMerge(boolean value) PUBLIC: Sets the cascading for the MERGE operation. |
void |
setCascadePersist(boolean value) PUBLIC: Sets the cascading for the CREATE operation. |
void |
setCascadeRefresh(boolean value) PUBLIC: Sets the cascading for the REFRESH operation. |
void |
setCascadeRemove(boolean value) PUBLIC: Sets the cascading for the REMOVE operation. |
void |
setCustomSelectionQuery(ReadQuery query) PUBLIC: Relationship mappings creates a read query to read reference objects. |
void |
setIndirectionPolicy(IndirectionPolicy indirectionPolicy) ADVANCED: Set the indirection policy. |
void |
setReferenceClass(java.lang.Class referenceClass) PUBLIC: Set the referenced class. |
void |
setRelationshipPartnerAttributeName(java.lang.String attributeName) PUBLIC: Use this method to specify the relationship partner attribute name of a bidirectional Mapping. |
void |
setSelectionCall(Call call) PUBLIC: This is a property on the mapping which will allow custom call to be substituted for reading a reference object. |
void |
setSelectionCriteria(Expression anExpression) PUBLIC: Sets the selection criteria to be used as a where clause to read reference objects. |
void |
setSelectionSQLString(java.lang.String sqlString) PUBLIC: This is a property on the mapping which will allow custom SQL to be substituted for reading a reference object. |
void |
setUsesBatchReading(boolean usesBatchReading) PUBLIC: Indicates whether the referenced object should always be batch read on read all queries. |
void |
setUsesIndirection(boolean usesIndirection) PUBLIC: Indirection means that a ValueHolder will be put in-between the attribute and the real object. |
boolean |
shouldUseBatchReading() PUBLIC: Indicates whether the referenced object should always be batch read on read all queries. |
void |
useBasicIndirection() PUBLIC: Indirection means that a ValueHolder will be put in-between the attribute and the real object. |
void |
useBatchReading() PUBLIC: Indicates whether the referenced object should always be batch read on read all queries. |
void |
useContainerIndirection(java.lang.Class containerClass) PUBLIC: Indirection means that a IndirectContainer (wrapping a ValueHolder) will be put in-between the attribute and the real object. |
boolean |
usesIndirection() PUBLIC: Indirection means that some sort of indirection object will be put in-between the attribute and the real object. |
Methods inherited from class oracle.toplink.mappings.DatabaseMapping |
getAttributeAccessor, getAttributeClassification, getAttributeName, getGetMethodName, getProperty, getReferenceClassDescriptor, getSetMethodName, isUsingMethodAccess, readOnly, readWrite, setAttributeAccessor, setAttributeName, setGetMethodName, 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 dontUseBatchReading()
public void dontUseIndirection()
public java.lang.Class getReferenceClass()
public java.lang.String getRelationshipPartnerAttributeName()
public boolean isCascadePersist()
public boolean isCascadeMerge()
public boolean isCascadeRefresh()
public boolean isCascadeRemove()
public void privateOwnedRelationship()
public void setCascadeAll(boolean value)
public void setCascadePersist(boolean value)
public void setCascadeMerge(boolean value)
public void setCascadeRefresh(boolean value)
public void setCascadeRemove(boolean value)
public void setCustomSelectionQuery(ReadQuery query)
public void setIndirectionPolicy(IndirectionPolicy indirectionPolicy)
public void setReferenceClass(java.lang.Class referenceClass)
public void setRelationshipPartnerAttributeName(java.lang.String attributeName)
public void setSelectionCriteria(Expression anExpression)
public void setSelectionSQLString(java.lang.String sqlString)
public void setSelectionCall(Call call)
public void setUsesBatchReading(boolean usesBatchReading)
public void setUsesIndirection(boolean usesIndirection)
useBasicIndirection()
, dontUseIndirection()
public boolean shouldUseBatchReading()
public void useBasicIndirection()
public void useBatchReading()
public void useContainerIndirection(java.lang.Class containerClass)
public boolean usesIndirection()
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |