Top Description Fields Constructors Methods
org.eclipse.persistence.internal.helper

public Class FunctionField

extends DatabaseField
Class Inheritance
Imports
org.eclipse.persistence.expressions.Expression

INTERNAL:

Purpose:

Allow fields to have functions applied to them or be computed.

Field Summary

Modifier and TypeField and Description
protected Expression
Inherited from org.eclipse.persistence.internal.helper.DatabaseField:
columnDefinitionindexisCreatableisInsertableisNullableisPrimaryKeyisTranslatedisUniqueisUpdatablekeepInRowlengthnamenameForComparisonsNULL_SQL_TYPEprecisionqualifiedNamescalesqlTypetabletypetypeNameuseDelimitersuseUpperCaseForComparisons

Constructor Summary

AccessConstructor and Description
public
public
FunctionField(String fieldName)

A unique field name should still be given to the function.

Method Summary

Modifier and TypeMethod and Description
public Expression
public void
Inherited from org.eclipse.persistence.internal.helper.DatabaseField:
cloneconvertClassNamesToClassesequalsequalsgetColumnDefinitiongetIndexgetLengthgetNamegetNameDelimitedgetNameForComparisonsgetPrecisiongetQualifiedNamegetQualifiedNameDelimitedgetScalegetSqlTypegetTablegetTableNamegetTypegetTypeNamegetUseUpperCaseForComparisonshashCodehasTableNameinitDDLFieldsisCreatableisInsertableisNullableisObjectRelationalDatabaseFieldisPrimaryKeyisReadOnlyisTranslatedisUniqueisUpdatablekeepInRowresetQualifiedNamesetColumnDefinitionsetCreatablesetIndexsetInsertablesetIsTranslatedsetKeepInRowsetLengthsetNamesetNamesetNamesetNameForComparisonssetNullablesetPrecisionsetPrimaryKeysetScalesetSqlTypesetTablesetTableNamesetTypesetTypeNamesetUniquesetUpdatablesetUseDelimitersshouldUseDelimiterstoStringuseUpperCaseForComparisons

Field Detail

expressionback to summary
protected Expression expression

Constructor Detail

FunctionFieldback to summary
public FunctionField()
FunctionFieldback to summary
public FunctionField(String fieldName)

A unique field name should still be given to the function.

Method Detail

getExpressionback to summary
public Expression getExpression()
setExpressionback to summary
public void setExpression(Expression expression)