Class OneToManyQueryKey
- java.lang.Object
-
- org.eclipse.persistence.mappings.querykeys.QueryKey
-
- org.eclipse.persistence.mappings.querykeys.ForeignReferenceQueryKey
-
- 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
Constructors Constructor Description OneToManyQueryKey()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
-
-
-
-
Method Detail
-
isCollectionQueryKey
public boolean isCollectionQueryKey()
INTERNAL: override the isCollectionQueryKey() method in the superclass to return true.- Overrides:
isCollectionQueryKey
in classQueryKey
- Returns:
- boolean
-
isOneToManyQueryKey
public boolean isOneToManyQueryKey()
INTERNAL: override the isOneToManyQueryKey() method in the superclass to return true.- Overrides:
isOneToManyQueryKey
in classQueryKey
- Returns:
- boolean
-
getRelationTable
public org.eclipse.persistence.internal.helper.DatabaseTable getRelationTable(ClassDescriptor referenceDescriptor)
PUBLIC: Returns the reference table.- Overrides:
getRelationTable
in classForeignReferenceQueryKey
-
-