@Immutable protected static final class TruncateStrings.TruncatingValueConverter extends Object implements ValueConverter
Modifier and Type | Field and Description |
---|---|
protected int |
maxLength |
Constructor and Description |
---|
TruncatingValueConverter(int maxLength) |
Modifier and Type | Method and Description |
---|---|
Object |
convert(Object value)
Convert the column's data value.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
and, nullOr, or, passthrough
public Object convert(Object value)
ValueConverter
convert
in interface ValueConverter
value
- the column data valueCopyright © 2016 JBoss by Red Hat. All rights reserved.