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