Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle TopLink
11g Release 1 (11.1.1)

B32476-02


oracle.toplink.querykeys
Class QueryKey

java.lang.Object
  extended by oracle.toplink.querykeys.QueryKey

All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable
Direct Known Subclasses:
DirectQueryKey, ForeignReferenceQueryKey

public class QueryKey
extends java.lang.Object
implements java.lang.Cloneable, java.io.Serializable

Purpose: Define a Java appropriate alias to a database field or function.

Responsibilities:

See Also:
Serialized Form

Constructor Summary
QueryKey()
           

 

Method Summary
 java.lang.String getName()
          Return the name for the query key.
 boolean isCollectionQueryKey()
          : Related query key should implement this method to return true.
 boolean isDirectCollectionQueryKey()
          : Related query key should implement this method to return true.
 boolean isDirectQueryKey()
          : Related query key should implement this method to return true.
 boolean isForeignReferenceQueryKey()
          : Related query key should implement this method to return true.
 boolean isManyToManyQueryKey()
          : Related query key should implement this method to return true.
 boolean isOneToManyQueryKey()
          : Related query key should implement this method to return true.
 boolean isOneToOneQueryKey()
          : Related query key should implement this method to return true.
 void setName(java.lang.String name)
          Set the name for the query key.

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Constructor Detail

QueryKey

public QueryKey()

Method Detail

getName

public java.lang.String getName()
Return the name for the query key. This is the name that will be used in the expression.

isCollectionQueryKey

public boolean isCollectionQueryKey()
: Related query key should implement this method to return true.

isDirectCollectionQueryKey

public boolean isDirectCollectionQueryKey()
: Related query key should implement this method to return true.

isDirectQueryKey

public boolean isDirectQueryKey()
: Related query key should implement this method to return true.

isForeignReferenceQueryKey

public boolean isForeignReferenceQueryKey()
: Related query key should implement this method to return true.

isManyToManyQueryKey

public boolean isManyToManyQueryKey()
: Related query key should implement this method to return true.

isOneToManyQueryKey

public boolean isOneToManyQueryKey()
: Related query key should implement this method to return true.

isOneToOneQueryKey

public boolean isOneToOneQueryKey()
: Related query key should implement this method to return true.

setName

public void setName(java.lang.String name)
Set the name for the query key. This is the name that will be used in the expression.

Skip navigation links

Copyright © 1998, 2009, Oracle. All Rights Reserved.