public class UUIDStringConverter extends Object implements TypeConverter<UUID,String>
LOCALISER
Constructor and Description |
---|
UUIDStringConverter() |
Modifier and Type | Method and Description |
---|---|
String |
toDatastoreType(UUID uuid)
Method to convert the passed member value to the datastore type.
|
UUID |
toMemberType(String str)
Method to convert the passed datastore value to the member type.
|
public UUID toMemberType(String str)
TypeConverter
toMemberType
in interface TypeConverter<UUID,String>
str
- Value from the datastorepublic String toDatastoreType(UUID uuid)
TypeConverter
toDatastoreType
in interface TypeConverter<UUID,String>
uuid
- Value from the memberCopyright © 2021. All rights reserved.