Top Description Fields Constructors Methods
org.hibernate.metamodel.model.convert.internal

public Class StandardBasicValueConverter<O, R>

extends Object
implements BasicValueConverter<O, R>
Class Inheritance
All Implemented Interfaces
org.hibernate.metamodel.model.convert.spi.BasicValueConverter
Imports
org.hibernate.metamodel.model.convert.spi.BasicValueConverter

A no-op / pass-through conversion
Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
public static final StandardBasicValueConverter<O, R>
INSTANCE

Singleton access

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public O
toDomainValue(R relationalForm)

Implements org.hibernate.metamodel.model.convert.spi.BasicValueConverter.toDomainValue.

Convert the relational form just retrieved from JDBC ResultSet into the domain form.
public R
toRelationalValue(O domainForm)

Implements org.hibernate.metamodel.model.convert.spi.BasicValueConverter.toRelationalValue.

Convert the domain form into the relational form in preparation for storage into JDBC
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

INSTANCEback to summary
public static final StandardBasicValueConverter<O, R> INSTANCE

Singleton access

Constructor Detail

StandardBasicValueConverterback to summary
private StandardBasicValueConverter()

Method Detail

toDomainValueback to summary
public O toDomainValue(R relationalForm)

Implements org.hibernate.metamodel.model.convert.spi.BasicValueConverter.toDomainValue.

Doc from org.hibernate.metamodel.model.convert.spi.BasicValueConverter.toDomainValue.

Convert the relational form just retrieved from JDBC ResultSet into the domain form.

Annotations
@Override
@SuppressWarnings:unchecked
toRelationalValueback to summary
public R toRelationalValue(O domainForm)

Implements org.hibernate.metamodel.model.convert.spi.BasicValueConverter.toRelationalValue.

Doc from org.hibernate.metamodel.model.convert.spi.BasicValueConverter.toRelationalValue.

Convert the domain form into the relational form in preparation for storage into JDBC

Annotations
@Override
@SuppressWarnings:unchecked