public class BooleanTFConverter extends Object implements javax.persistence.AttributeConverter<Boolean,String>
The conversion treats the values as follows: "T" is true and "F" is false.
Constructor and Description |
---|
BooleanTFConverter() |
Modifier and Type | Method and Description |
---|---|
String |
convertToDatabaseColumn(Boolean objectValue)
This implementation will convert from a false or true value to an "F" or "T" value.
|
Boolean |
convertToEntityAttribute(String dataValue)
This implementation will convert from a "F" or "T" value to a false or true.
|
public BooleanTFConverter()
public String convertToDatabaseColumn(Boolean objectValue)
public Boolean convertToEntityAttribute(String dataValue)
Copyright © 2005–2015 The Kuali Foundation. All rights reserved.