Oracle Application Server TopLink API Reference
10g Release 2 (10.1.2)

B15903-01


oracle.toplink.querykeys
Class QueryKey

java.lang.Object
  extended byoracle.toplink.querykeys.QueryKey

All Implemented Interfaces:
java.lang.Cloneable, java.io.Serializable
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()
PUBLIC: Return the name for the query key.
boolean isCollectionQueryKey()
PUBLIC:: Related query key should implement this method to return true.
boolean isDirectCollectionQueryKey()
PUBLIC:: Related query key should implement this method to return true.
boolean isDirectQueryKey()
PUBLIC:: Related query key should implement this method to return true.
boolean isForeignReferenceQueryKey()
PUBLIC:: Related query key should implement this method to return true.
boolean isManyToManyQueryKey()
PUBLIC:: Related query key should implement this method to return true.
boolean isOneToManyQueryKey()
PUBLIC:: Related query key should implement this method to return true.
boolean isOneToOneQueryKey()
PUBLIC:: Related query key should implement this method to return true.
void setName(java.lang.String name)
PUBLIC: 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()
PUBLIC: Return the name for the query key. This is the name that will be used in the expression.

isCollectionQueryKey

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

isDirectCollectionQueryKey

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

isDirectQueryKey

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

isForeignReferenceQueryKey

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

isManyToManyQueryKey

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

isOneToManyQueryKey

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

isOneToOneQueryKey

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

setName

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

Copyright © 1998, 2005 Oracle Corporation. All Rights Reserved.