APIdia Launch Partner
Top Fields Constructors Methods
io.github.spannm.jackcess.impl

public Class ColValidatorEvalContext

extends ColEvalContext
Class Inheritance
Imports
io.github.spannm.jackcess.Column, .InvalidValueException, io.github.spannm.jackcess.expr.EvalException, .Identifier, .Value, io.github.spannm.jackcess.impl.expr.Expressionator, io.github.spannm.jackcess.util.ColumnValidator, java.io.IOException

Field Summary

Modifier and TypeField and Description
private String
private Object

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Value
getIdentifierValue(Identifier identifier)

Overrides io.github.spannm.jackcess.impl.BaseEvalContext.getIdentifierValue.

Implements io.github.spannm.jackcess.expr.EvalContext.getIdentifierValue.

Returns the value of the entity identified by the given identifier (for "calculated" and "row validator" expressions).

public Value
getThisColumnValue()

Overrides io.github.spannm.jackcess.impl.BaseEvalContext.getThisColumnValue.

Implements io.github.spannm.jackcess.expr.EvalContext.getThisColumnValue.

Returns the value of the "current" column (for "field validator" expressions).

private void
pack-priv ColumnValidator
private Object
validate(Object newVal)

pack-priv ColValidatorEvalContext
withExpr(String exprStr, String newHelpStr)

Inherited from io.github.spannm.jackcess.impl.ColEvalContext:
getColtoValuewithErrorContext

Field Detail

helpStrback to summary
private String helpStr
valback to summary
private Object val

Constructor Detail

ColValidatorEvalContextback to summary
public ColValidatorEvalContext(ColumnImpl col)

Method Detail

getIdentifierValueback to summary
public Value getIdentifierValue(Identifier identifier)

Overrides io.github.spannm.jackcess.impl.BaseEvalContext.getIdentifierValue.

Implements io.github.spannm.jackcess.expr.EvalContext.getIdentifierValue.

Doc from io.github.spannm.jackcess.expr.EvalContext.getIdentifierValue.

Returns the value of the entity identified by the given identifier (for "calculated" and "row validator" expressions).

Annotations
@Override
getThisColumnValueback to summary
public Value getThisColumnValue()

Overrides io.github.spannm.jackcess.impl.BaseEvalContext.getThisColumnValue.

Implements io.github.spannm.jackcess.expr.EvalContext.getThisColumnValue.

Doc from io.github.spannm.jackcess.expr.EvalContext.getThisColumnValue.

Returns the value of the "current" column (for "field validator" expressions).

Annotations
@Override
resetback to summary
private void reset()
toColumnValidatorback to summary
pack-priv ColumnValidator toColumnValidator(ColumnValidator delegate)
validateback to summary
private Object validate(Object newVal) throws IOException
withExprback to summary
pack-priv ColValidatorEvalContext withExpr(String exprStr, String newHelpStr)