|
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.Objectoracle.toplink.querykeys.QueryKey
oracle.toplink.querykeys.ForeignReferenceQueryKey
public class ForeignReferenceQueryKey
Purpose: Define an alias to a foreign object.
Responsibilities:
Constructor Summary | |
---|---|
ForeignReferenceQueryKey()
|
Method Summary | |
---|---|
Expression |
getJoinCriteria()
Return the join expression for the relationship defined by the query key. |
java.lang.Class |
getReferenceClass()
Return the reference class of the relationship. |
java.lang.String |
getReferenceClassName()
Return the reference class name of the relationship. |
void |
setJoinCriteria(Expression joinCriteria)
Set the join expression for the relationship defined by the query key. |
void |
setReferenceClass(java.lang.Class referenceClass)
Set the reference class of the relationship. |
void |
setReferenceClassName(java.lang.String referenceClassName)
Set the reference class name for this relationship This is used when projects are built without using classes |
Methods inherited from class oracle.toplink.querykeys.QueryKey |
---|
getName, isCollectionQueryKey, isDirectCollectionQueryKey, isDirectQueryKey, isManyToManyQueryKey, isOneToManyQueryKey, isOneToOneQueryKey, setName |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ForeignReferenceQueryKey()
Method Detail |
---|
public Expression getJoinCriteria()
public java.lang.Class getReferenceClass()
public java.lang.String getReferenceClassName()
public void setJoinCriteria(Expression joinCriteria)
Example:
builder.getField("ADDRESS.ADDRESS_ID").equal(builder.getParameter("EMPLOYEE.ADDR_ID");
public void setReferenceClass(java.lang.Class referenceClass)
public void setReferenceClassName(java.lang.String referenceClassName)
referenceClassName
-
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |