Top Description Fields Constructors Methods
org.eclipse.persistence.mappings.querykeys

public Class ManyToManyQueryKey

extends ForeignReferenceQueryKey
Class Inheritance
Imports
org.eclipse.persistence.descriptors.ClassDescriptor, org.eclipse.persistence.exceptions.QueryException, org.eclipse.persistence.internal.helper.DatabaseTable

Purpose:Represents a m-m join query.

Field Summary

Inherited from org.eclipse.persistence.mappings.querykeys.ForeignReferenceQueryKey:
joinCriteriareferenceClassreferenceClassName

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public DatabaseTable
public boolean

Returns:

boolean
isCollectionQueryKey
()

Overrides org.eclipse.persistence.mappings.querykeys.QueryKey.isCollectionQueryKey.

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

Returns:

boolean
isManyToManyQueryKey
()

Overrides org.eclipse.persistence.mappings.querykeys.QueryKey.isManyToManyQueryKey.

INTERNAL: override the isManyToManyQueryKey() method in the superclass to return true.
Inherited from org.eclipse.persistence.mappings.querykeys.ForeignReferenceQueryKey:
convertClassNamesToClassesgetJoinCriteriagetReferenceClassgetReferenceClassNamegetReferenceTablegetSourceTableisForeignReferenceQueryKeysetJoinCriteriasetReferenceClasssetReferenceClassName

Constructor Detail

ManyToManyQueryKeyback to summary
public ManyToManyQueryKey()

Method Detail

getRelationTableback to summary
public DatabaseTable getRelationTable(ClassDescriptor referenceDescriptor)

Overrides org.eclipse.persistence.mappings.querykeys.ForeignReferenceQueryKey.getRelationTable.

PUBLIC: Returns the reference table.

Annotations
@Override
isCollectionQueryKeyback to summary
public boolean isCollectionQueryKey()

Overrides org.eclipse.persistence.mappings.querykeys.QueryKey.isCollectionQueryKey.

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

Returns:boolean

boolean

Annotations
@Override
isManyToManyQueryKeyback to summary
public boolean isManyToManyQueryKey()

Overrides org.eclipse.persistence.mappings.querykeys.QueryKey.isManyToManyQueryKey.

INTERNAL: override the isManyToManyQueryKey() method in the superclass to return true.

Returns:boolean

boolean

Annotations
@Override