public class DirectQueryKey extends QueryKey
Purpose: Define an alias to a database field.
Responsibilities:
descriptor, name
Constructor and Description |
---|
DirectQueryKey() |
Modifier and Type | Method and Description |
---|---|
org.eclipse.persistence.internal.helper.DatabaseField |
getField()
INTERNAL:
Return the field for the query key.
|
java.lang.String |
getFieldName()
PUBLIC:
Return the field name for the query key.
|
java.lang.String |
getQualifiedFieldName()
PUBLIC:
Return the qualified field name for the query key.
|
void |
initialize(ClassDescriptor descriptor)
INTERNAL:
Initialize any information in the receiver that requires its descriptor.
|
boolean |
isDirectQueryKey()
INTERNAL:
override the isDirectQueryKey() method in the superclass to return true.
|
void |
setField(org.eclipse.persistence.internal.helper.DatabaseField field)
INTERNAL:
Set the field for the query key.
|
void |
setFieldName(java.lang.String fieldName)
PUBLIC:
Set the field name for the query key.
|
clone, convertClassNamesToClasses, getDescriptor, getName, isAbstractQueryKey, isCollectionQueryKey, isDirectCollectionQueryKey, isForeignReferenceQueryKey, isManyToManyQueryKey, isOneToManyQueryKey, isOneToOneQueryKey, isQueryKey, setDescriptor, setName, toString
public org.eclipse.persistence.internal.helper.DatabaseField getField()
public java.lang.String getFieldName()
public java.lang.String getQualifiedFieldName()
public void initialize(ClassDescriptor descriptor)
initialize
in class QueryKey
descriptor
- is the owner descriptor of the receiver.public boolean isDirectQueryKey()
isDirectQueryKey
in class QueryKey
public void setField(org.eclipse.persistence.internal.helper.DatabaseField field)
public void setFieldName(java.lang.String fieldName)