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