| Modifier and Type | Field and Description |
|---|---|
| protected transient DatabaseField | |
| protected DatabaseField |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | clearAliases()
Overrides org. |
| public int | computeHashCode()
Overrides org. |
| public String | descriptionOfNodeType()
Overrides org. |
| public boolean | equals(Object
the reference object with which to compare. object)Overrides org. |
| public DatabaseField | getAliasedField()
Overrides org. |
| private DatabaseTable | |
| public DatabaseField | getClonedField()
Overrides org. |
| public Vector | |
| public DatabaseField | |
| public Vector | getFields()
Overrides org. |
| public Object | getFieldValue(Object value, AbstractSession session)
Overrides org. |
| private void | |
| public boolean | isAttribute()
Overrides org. |
| public boolean | isFieldExpression()
Overrides org. |
| public Expression | normalize(ExpressionNormalizer normalizer)
Overrides org. |
| public void | printJava(ExpressionJavaPrinter printer)
Overrides org. |
| public void | printSQL(ExpressionSQLPrinter printer)
Overrides org. |
| public Expression | rebuildOn(Expression newBase)
Implements abstract org. |
| public void | |
| public Expression | twistedForBaseAndContext(Expression newBase, Expression context, Expression oldBase)
Overrides org. |
| public void | validateNode()
Overrides org. |
| public Object | valueFromObject(Object object, AbstractSession session, AbstractRecord translationRow, int valueHolderPolicy, boolean
true if object possibly not a clone, but is being
conformed against the unit of work cache. isObjectUnregistered)Overrides org. |
| public void | writeDescriptionOn(BufferedWriter writer)
Overrides org. |
| protected void | writeField(ExpressionSQLPrinter printer, DatabaseField field, SQLSelectStatement statement)
Overrides org. |
| public void | writeFields(ExpressionSQLPrinter printer, List<DatabaseField> newFields, SQLSelectStatement statement)
Overrides org. |
| protected void | writeForUpdateOf(ExpressionSQLPrinter printer, SQLSelectStatement statement)
INTERNAL: writes the field for fine-grained pessimistic locking. |
| aliasedField | back to summary |
|---|---|
| protected transient DatabaseField aliasedField | |
| field | back to summary |
|---|---|
| protected DatabaseField field | |
| FieldExpression | back to summary |
|---|---|
| public FieldExpression() FieldExpression constructor comment. | |
| FieldExpression | back to summary |
|---|---|
| public FieldExpression(DatabaseField newField) FieldExpression constructor comment. | |
| FieldExpression | back to summary |
|---|---|
| public FieldExpression(DatabaseField newField, Expression myBase) FieldExpression constructor comment. | |
| clearAliases | back to summary |
|---|---|
| public void clearAliases() Overrides org. INTERNAL:
| |
| computeHashCode | back to summary |
|---|---|
| public int computeHashCode() Overrides org. INTERNAL: Compute a consistent hash-code for the expression. This is used to allow dynamic expression's SQL to be cached.
| |
| descriptionOfNodeType | back to summary |
|---|---|
| public String descriptionOfNodeType() Overrides org. INTERNAL: Used for debug printing.
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object object) Overrides org. INTERNAL: Return if the expression is equal to the other. This is used to allow dynamic expression's SQL to be cached. This must be over written by each subclass.
| |
| getAliasedField | back to summary |
|---|---|
| public DatabaseField getAliasedField() Overrides org. INTERNAL: Return the field appropriately aliased
| |
| getAliasedTable | back to summary |
|---|---|
| private DatabaseTable getAliasedTable() Return the alias for our table | |
| getClonedField | back to summary |
|---|---|
| public DatabaseField getClonedField() Overrides org. INTERNAL: If there are any fields associated with this expression, return them
| |
| getClonedFields | back to summary |
|---|---|
| public Vector INTERNAL: If there are any fields associated with this expression, return them | |
| getField | back to summary |
|---|---|
| public DatabaseField getField() Overrides org. INTERNAL:
| |
| getFields | back to summary |
|---|---|
| public Vector Overrides org. INTERNAL: Return all the fields
| |
| getFieldValue | back to summary |
|---|---|
| public Object getFieldValue(Object value, AbstractSession session) Overrides org. INTERNAL: Provide for conversion of the passed object's value, based on the referenced field value.
| |
| initializeAliasedField | back to summary |
|---|---|
| private void initializeAliasedField() INTERNAL: Alias the database field for our current environment | |
| isAttribute | back to summary |
|---|---|
| public boolean isAttribute() Overrides org. INTERNAL:
| |
| isFieldExpression | back to summary |
|---|---|
| public boolean isFieldExpression() Overrides org. Doc from org. INTERNAL:
| |
| normalize | back to summary |
|---|---|
| public Expression normalize(ExpressionNormalizer normalizer) Overrides org. INTERNAL: Normalize the expression into a printable structure.
| |
| printJava | back to summary |
|---|---|
| public void printJava(ExpressionJavaPrinter printer) Overrides org. INTERNAL: Print java for project class generation
| |
| printSQL | back to summary |
|---|---|
| public void printSQL(ExpressionSQLPrinter printer) Overrides org. INTERNAL: Print SQL onto the stream, using the ExpressionPrinter for context
| |
| rebuildOn | back to summary |
|---|---|
| public Expression rebuildOn(Expression newBase) Implements abstract org. INTERNAL: This expression is built on a different base than the one we want. Rebuild it and return the root of the new tree
| |
| setField | back to summary |
|---|---|
| public void setField(DatabaseField newField) INTERNAL: Set the field in the mapping. | |
| twistedForBaseAndContext | back to summary |
|---|---|
| public Expression twistedForBaseAndContext(Expression newBase, Expression context, Expression oldBase) Overrides org. INTERNAL: Rebuild myself against the base, with the values of parameters supplied by the context expression. This is used for transforming a standalone expression (e.g. the join criteria of a mapping) into part of some larger expression. You normally would not call this directly, instead calling twist See the comment there for more details"
| |
| validateNode | back to summary |
|---|---|
| public void validateNode() Overrides org. Do any required validation for this node. Throw an exception if it's incorrect.
| |
| valueFromObject | back to summary |
|---|---|
| public Object valueFromObject(Object object, AbstractSession session, AbstractRecord translationRow, int valueHolderPolicy, boolean isObjectUnregistered) Overrides org. INTERNAL: Return the value for in memory comparison. This is only valid for valueable expressions.
| |
| writeDescriptionOn | back to summary |
|---|---|
| public void writeDescriptionOn(BufferedWriter writer) throws IOException Overrides org. INTERNAL: Used to print a debug form of the expression tree.
| |
| writeField | back to summary |
|---|---|
| protected void writeField(ExpressionSQLPrinter printer, DatabaseField field, SQLSelectStatement statement) Overrides org. Doc from org. INTERNAL: Append the field name to the writer. Should be overridden for special operators such as functions.
| |
| writeFields | back to summary |
|---|---|
| public void writeFields(ExpressionSQLPrinter printer, List<DatabaseField> newFields, SQLSelectStatement statement) Overrides org. INTERNAL: called from SQLSelectStatement.writeFieldsFromExpression(...)
| |
| writeForUpdateOf | back to summary |
|---|---|
| protected void writeForUpdateOf(ExpressionSQLPrinter printer, SQLSelectStatement statement) INTERNAL: writes the field for fine-grained pessimistic locking. | |