org.eclipse.persistence.mappings.querykeys
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:
- java.io.Serializable, java.lang.Cloneable
public class ManyToManyQueryKey
- extends ForeignReferenceQueryKey
Purpose:Represents a m-m join query.
- See Also:
- Serialized Form
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 |
isManyToManyQueryKey()
INTERNAL:
override the isManyToManyQueryKey() method in the superclass to return true. |
Methods inherited from class org.eclipse.persistence.mappings.querykeys.QueryKey |
clone, getDescriptor, getName, initialize, isAbstractQueryKey, isDirectCollectionQueryKey, isDirectQueryKey, isOneToManyQueryKey, isOneToOneQueryKey, isQueryKey, setDescriptor, setName, toString |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ManyToManyQueryKey
public ManyToManyQueryKey()
isCollectionQueryKey
public boolean isCollectionQueryKey()
- INTERNAL:
override the isCollectionQueryKey() method in the superclass to return true.
- Overrides:
isCollectionQueryKey
in class QueryKey
- Returns:
- boolean
isManyToManyQueryKey
public boolean isManyToManyQueryKey()
- INTERNAL:
override the isManyToManyQueryKey() method in the superclass to return true.
- Overrides:
isManyToManyQueryKey
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