|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.persistence.mappings.querykeys.QueryKey
public class QueryKey
Purpose: Define a Java appropriate alias to a database field or function.
Responsibilities:
Constructor Summary | |
---|---|
QueryKey()
|
Method Summary | |
---|---|
Object |
clone()
INTERNAL: Clones itself. |
void |
convertClassNamesToClasses(ClassLoader classLoader)
INTERNAL: Convert all the class-name-based settings in this QueryKey to actual class-based settings Will be overridded by subclasses |
ClassDescriptor |
getDescriptor()
INTERNAL: Return the descriptor. |
String |
getName()
PUBLIC: Return the name for the query key. |
void |
initialize(ClassDescriptor aDescriptor)
INTERNAL: Initialize any information in the receiver that requires its descriptor. |
boolean |
isAbstractQueryKey()
INTERNAL: return whether this query key is abstract |
boolean |
isCollectionQueryKey()
PUBLIC:: Related query key should implement this method to return true. |
boolean |
isDirectCollectionQueryKey()
PUBLIC:: Related query key should implement this method to return true. |
boolean |
isDirectQueryKey()
PUBLIC:: Related query key should implement this method to return true. |
boolean |
isForeignReferenceQueryKey()
PUBLIC:: Related query key should implement this method to return true. |
boolean |
isManyToManyQueryKey()
PUBLIC:: Related query key should implement this method to return true. |
boolean |
isOneToManyQueryKey()
PUBLIC:: Related query key should implement this method to return true. |
boolean |
isOneToOneQueryKey()
PUBLIC:: Related query key should implement this method to return true. |
boolean |
isQueryKey()
INTERNAL: This is a QueryKey. |
void |
setDescriptor(ClassDescriptor descriptor)
INTERNAL: Set the descriptor. |
void |
setName(String name)
PUBLIC: Set the name for the query key. |
String |
toString()
INTERNAL: return a string representation of this instance of QueryKey |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public QueryKey()
Method Detail |
---|
public Object clone()
clone
in class Object
public void convertClassNamesToClasses(ClassLoader classLoader)
classLoader
- public ClassDescriptor getDescriptor()
public String getName()
public void initialize(ClassDescriptor aDescriptor)
aDescriptor
- is the owner descriptor of the receiver.public boolean isAbstractQueryKey()
public boolean isCollectionQueryKey()
public boolean isDirectCollectionQueryKey()
public boolean isDirectQueryKey()
public boolean isForeignReferenceQueryKey()
public boolean isManyToManyQueryKey()
public boolean isOneToManyQueryKey()
public boolean isOneToOneQueryKey()
public boolean isQueryKey()
public void setDescriptor(ClassDescriptor descriptor)
public void setName(String name)
public String toString()
toString
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |