public class BooleanIntegerConverter extends Object implements TypeConverter<Boolean,Integer>
| Constructor and Description |
|---|
BooleanIntegerConverter() |
| Modifier and Type | Method and Description |
|---|---|
Integer |
toDatastoreType(Boolean bool)
Method to convert the passed member value to the datastore type.
|
Boolean |
toMemberType(Integer val)
Method to convert the passed datastore value to the member type.
|
public Boolean toMemberType(Integer val)
TypeConvertertoMemberType in interface TypeConverter<Boolean,Integer>val - Value from the datastorepublic Integer toDatastoreType(Boolean bool)
TypeConvertertoDatastoreType in interface TypeConverter<Boolean,Integer>bool - Value from the memberCopyright © 2016. All rights reserved.