EclipseLink 2.2.0, build 'v20110202-r8913' API Reference

org.eclipse.persistence.mappings.querykeys
Class OneToManyQueryKey

java.lang.Object
  extended by org.eclipse.persistence.mappings.querykeys.QueryKey
      extended by org.eclipse.persistence.mappings.querykeys.ForeignReferenceQueryKey
          extended by org.eclipse.persistence.mappings.querykeys.OneToManyQueryKey
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public class OneToManyQueryKey
extends ForeignReferenceQueryKey

Purpose:Represents a 1-m join query.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.eclipse.persistence.mappings.querykeys.ForeignReferenceQueryKey
joinCriteria, referenceClass, referenceClassName
 
Fields inherited from class org.eclipse.persistence.mappings.querykeys.QueryKey
descriptor, name
 
Constructor Summary
OneToManyQueryKey()
           
 
Method Summary
 org.eclipse.persistence.internal.helper.DatabaseTable getRelationTable(ClassDescriptor referenceDescriptor)
          PUBLIC: Returns the reference table.
 boolean isCollectionQueryKey()
          INTERNAL: override the isCollectionQueryKey() method in the superclass to return true.
 boolean isOneToManyQueryKey()
          INTERNAL: override the isOneToManyQueryKey() method in the superclass to return true.
 
Methods inherited from class org.eclipse.persistence.mappings.querykeys.ForeignReferenceQueryKey
convertClassNamesToClasses, getJoinCriteria, getReferenceClass, getReferenceClassName, getReferenceTable, getSourceTable, isForeignReferenceQueryKey, setJoinCriteria, setReferenceClass, setReferenceClassName
 
Methods inherited from class org.eclipse.persistence.mappings.querykeys.QueryKey
clone, getDescriptor, getName, initialize, isAbstractQueryKey, isDirectCollectionQueryKey, isDirectQueryKey, isManyToManyQueryKey, isOneToOneQueryKey, isQueryKey, setDescriptor, setName, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OneToManyQueryKey

public OneToManyQueryKey()
Method Detail

isCollectionQueryKey

public boolean isCollectionQueryKey()
INTERNAL: override the isCollectionQueryKey() method in the superclass to return true.

Overrides:
isCollectionQueryKey in class QueryKey
Returns:
boolean

isOneToManyQueryKey

public boolean isOneToManyQueryKey()
INTERNAL: override the isOneToManyQueryKey() method in the superclass to return true.

Overrides:
isOneToManyQueryKey in class QueryKey
Returns:
boolean

getRelationTable

public org.eclipse.persistence.internal.helper.DatabaseTable getRelationTable(ClassDescriptor referenceDescriptor)
PUBLIC: Returns the reference table.

Overrides:
getRelationTable in class ForeignReferenceQueryKey

EclipseLink 2.2.0, build 'v20110202-r8913' API Reference