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.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfreadNull, writeNullpublic 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)
PropertyValueConverterread in interface PropertyValueConvertervalue - value to read.context - ValueConversionContext containing store-specific metadata
used in the value conversion; never null.@Nullable public Object write(@Nullable Object value, ValueConversionContext context)
PropertyValueConverterwrite in interface PropertyValueConvertervalue - value to write; can be null.context - ValueConversionContext containing store-specific metadata
used in the value conversion; never null.Copyright © 2011–2023 Pivotal Software, Inc.. All rights reserved.