|
EclipseLink 1.1.4, build 'v20100812-r7860' API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.persistence.mappings.querykeys.QueryKey
org.eclipse.persistence.mappings.querykeys.DirectQueryKey
public class DirectQueryKey
Purpose: Define an alias to a database field.
Responsibilities:
Field Summary |
---|
Fields inherited from class org.eclipse.persistence.mappings.querykeys.QueryKey |
---|
descriptor, name |
Constructor Summary | |
---|---|
DirectQueryKey()
|
Method Summary | |
---|---|
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. |
Methods inherited from class org.eclipse.persistence.mappings.querykeys.QueryKey |
---|
clone, convertClassNamesToClasses, getDescriptor, getName, isAbstractQueryKey, isCollectionQueryKey, isDirectCollectionQueryKey, isForeignReferenceQueryKey, isManyToManyQueryKey, isOneToManyQueryKey, isOneToOneQueryKey, isQueryKey, setDescriptor, setName, toString |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DirectQueryKey()
Method Detail |
---|
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)
|
EclipseLink 1.1.4, build 'v20100812-r7860' API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |