public class UUIDConverter extends Object implements ConditionalGenericConverter
GenericConverter.ConvertiblePair| Modifier and Type | Field and Description |
|---|---|
static UUIDConverter |
INSTANCE |
| Constructor and Description |
|---|
UUIDConverter() |
| Modifier and Type | Method and Description |
|---|---|
Object |
convert(Object source,
TypeDescriptor sourceType,
TypeDescriptor targetType) |
Set<GenericConverter.ConvertiblePair> |
getConvertibleTypes() |
boolean |
matches(TypeDescriptor sourceType,
TypeDescriptor targetType) |
public static final UUIDConverter INSTANCE
public boolean matches(TypeDescriptor sourceType, TypeDescriptor targetType)
matches in interface ConditionalConverterpublic Set<GenericConverter.ConvertiblePair> getConvertibleTypes()
getConvertibleTypes in interface GenericConverterpublic Object convert(Object source, TypeDescriptor sourceType, TypeDescriptor targetType)
convert in interface GenericConverterCopyright © 2011-2014–2014 Pivotal Software, Inc.. All rights reserved.