T
- The type of the handled valuespublic abstract class AbstractValueConverter<T> extends Object implements ValueConverter<T>
ValueConverter
.Constructor and Description |
---|
AbstractValueConverter() |
Modifier and Type | Method and Description |
---|---|
String |
getExpression(String defaultValue,
GeneratorContext context)
Builds the expression for writing the default value into an SQL clause.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getExpression
public String getExpression(String defaultValue, GeneratorContext context)
ValueConverter
getExpression
in interface ValueConverter<T>
defaultValue
- the default value, as given in an DefaultValue
expressioncontext
- the current context (contains the database dialect).Copyright © 2016 fastnate.org. All rights reserved.