Class ManyToManyQueryKey
java.lang.Object
org.eclipse.persistence.mappings.querykeys.QueryKey
org.eclipse.persistence.mappings.querykeys.ForeignReferenceQueryKey
org.eclipse.persistence.mappings.querykeys.ManyToManyQueryKey
- All Implemented Interfaces:
Serializable
,Cloneable
Purpose:Represents a m-m join query.
- See Also:
-
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
-
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.persistence.internal.helper.DatabaseTable
getRelationTable
(ClassDescriptor referenceDescriptor) PUBLIC: Returns the reference table.boolean
INTERNAL: override the isCollectionQueryKey() method in the superclass to return true.boolean
INTERNAL: override the isManyToManyQueryKey() 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, isOneToManyQueryKey, isOneToOneQueryKey, isQueryKey, setDescriptor, setName, toString
-
Constructor Details
-
ManyToManyQueryKey
public ManyToManyQueryKey()
-
-
Method Details
-
isCollectionQueryKey
public boolean isCollectionQueryKey()INTERNAL: override the isCollectionQueryKey() method in the superclass to return true.- Overrides:
isCollectionQueryKey
in classQueryKey
- Returns:
- boolean
-
isManyToManyQueryKey
public boolean isManyToManyQueryKey()INTERNAL: override the isManyToManyQueryKey() method in the superclass to return true.- Overrides:
isManyToManyQueryKey
in classQueryKey
- Returns:
- boolean
-
getRelationTable
public org.eclipse.persistence.internal.helper.DatabaseTable getRelationTable(ClassDescriptor referenceDescriptor) PUBLIC: Returns the reference table.- Overrides:
getRelationTable
in classForeignReferenceQueryKey
-