Purpose: Define an alias to a foreign object.
Responsibilities:
| Modifier and Type | Field and Description |
|---|---|
| protected Expression | |
| protected Class | |
| protected String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | convertClassNamesToClasses(ClassLoader classLoader)
Overrides org. |
| public Expression | |
| public Class | |
| public String | |
| public DatabaseTable | |
| public DatabaseTable | |
| public DatabaseTable | |
| public boolean | Returns: booleanOverrides org. |
| public void | setJoinCriteria(Expression joinCriteria)
PUBLIC: Set the join expression for the relationship defined by the query key. |
| public void | |
| public void | setReferenceClassName(String referenceClassName)
PUBLIC: Set the reference class name for this relationship This is used when projects are built without using classes |
| joinCriteria | back to summary |
|---|---|
| protected Expression joinCriteria | |
| referenceClass | back to summary |
|---|---|
| protected Class<?> referenceClass | |
| referenceClassName | back to summary |
|---|---|
| protected String referenceClassName | |
| ForeignReferenceQueryKey | back to summary |
|---|---|
| public ForeignReferenceQueryKey() | |
| convertClassNamesToClasses | back to summary |
|---|---|
| public void convertClassNamesToClasses(ClassLoader classLoader) Overrides org. INTERNAL: Convert all the class-name-based settings in this project to actual class-based settings
| |
| getJoinCriteria | back to summary |
|---|---|
| public Expression getJoinCriteria() PUBLIC: Return the join expression for the relationship defined by the query key. | |
| getReferenceClass | back to summary |
|---|---|
| public Class PUBLIC: Return the reference class of the relationship. | |
| getReferenceClassName | back to summary |
|---|---|
| public String getReferenceClassName() PUBLIC: Return the reference class name of the relationship. | |
| getReferenceTable | back to summary |
|---|---|
| public DatabaseTable getReferenceTable(ClassDescriptor desc) PUBLIC: Returns the reference table. | |
| getRelationTable | back to summary |
|---|---|
| public DatabaseTable getRelationTable(ClassDescriptor referenceDescriptor) PUBLIC: Returns the relation table. Currently only ManyToMany and OneToOne may have relation table. The method is overridden to return null for other subclasses. The returned relationTable still could be null. | |
| getSourceTable | back to summary |
|---|---|
| public DatabaseTable getSourceTable() PUBLIC: Returns the source table. | |
| isForeignReferenceQueryKey | back to summary |
|---|---|
| public boolean isForeignReferenceQueryKey() Overrides org. INTERNAL: override the isForeignReferenceQueryKey() method in the superclass to return true.
| |
| setJoinCriteria | back to summary |
|---|---|
| public void setJoinCriteria(Expression joinCriteria) PUBLIC: Set the join expression for the relationship defined by the query key. Example:
| |
| setReferenceClass | back to summary |
|---|---|
| public void setReferenceClass(Class<?> referenceClass) PUBLIC: Set the reference class of the relationship. This is not required for direct collection query keys. | |
| setReferenceClassName | back to summary |
|---|---|
| public void setReferenceClassName(String referenceClassName) PUBLIC: Set the reference class name for this relationship This is used when projects are built without using classes | |