public static enum PropertyValueConverter.ObjectToObjectPropertyValueConverter extends Enum<PropertyValueConverter.ObjectToObjectPropertyValueConverter> implements PropertyValueConverter
PropertyValueConverter
implementation.PropertyValueConverter.FunctionPropertyValueConverter<DV,SV,P extends PersistentProperty<P>>, PropertyValueConverter.ObjectToObjectPropertyValueConverter
Enum Constant and Description |
---|
INSTANCE |
Modifier and Type | Method and Description |
---|---|
Object |
read(Object value,
ValueConversionContext context)
Convert the given store specific value into it's domain value representation.
|
static PropertyValueConverter.ObjectToObjectPropertyValueConverter |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PropertyValueConverter.ObjectToObjectPropertyValueConverter[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Object |
write(Object value,
ValueConversionContext context)
Convert the given domain-specific value into it's native store representation.
|
public static final PropertyValueConverter.ObjectToObjectPropertyValueConverter INSTANCE
public static PropertyValueConverter.ObjectToObjectPropertyValueConverter[] values()
for (PropertyValueConverter.ObjectToObjectPropertyValueConverter c : PropertyValueConverter.ObjectToObjectPropertyValueConverter.values()) System.out.println(c);
public static PropertyValueConverter.ObjectToObjectPropertyValueConverter valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null@Nullable public Object read(@Nullable Object value, ValueConversionContext context)
PropertyValueConverter
read
in interface PropertyValueConverter
value
- can be null.context
- never null.@Nullable public Object write(@Nullable Object value, ValueConversionContext context)
PropertyValueConverter
write
in interface PropertyValueConverter
value
- can be null.context
- never null.Copyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.