|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | 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 |
Type | Method |
---|---|
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. |
void |
privateOwnedRelationship()
PUBLIC: Sets the reference object to be a private owned. |
void |
setCustomSelectionQuery(ReadQuery query)
PUBLIC: Relationship mappings creates a read query to read reference objects. |
void |
setIndirectionPolicy(oracle.toplink.internal.indirection.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 |
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. |
void |
useIndirection()
Deprecated. replaced by useBasicIndirection |
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 |
getAttributeClassification, getAttributeName, getGetMethodName,
getSetMethodName, readOnly, readWrite,
setAttributeName, setGetMethodName, setIsReadOnly,
setSetMethodName, setWeight |
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 void privateOwnedRelationship()
public void setCustomSelectionQuery(ReadQuery query)
public void setIndirectionPolicy(oracle.toplink.internal.indirection.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 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 void useIndirection()
useBasicIndirection()
public boolean usesIndirection()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |