E
- the concrete PersistentEntity
implementation the converter is based on.P
- the concrete PersistentProperty
implementation the converter is based on.T
- the most common type the EntityConverter
can actually convert.S
- the store specific source and sink an EntityConverter
can deal with.public interface EntityConverter<E extends PersistentEntity<?,P>,P extends PersistentProperty<P>,T,S> extends EntityReader<T,S>, EntityWriter<T,S>
EntityReader
and EntityWriter
and add the ability to access a MappingContext
and
ConversionService
.Modifier and Type | Method and Description |
---|---|
ConversionService |
getConversionService()
Returns the underlying
ConversionService used by the converter. |
MappingContext<? extends E,P> |
getMappingContext()
Returns the underlying
MappingContext used by the converter. |
read
write
MappingContext<? extends E,P> getMappingContext()
MappingContext
used by the converter.ConversionService getConversionService()
ConversionService
used by the converter.Copyright © 2011-2013-2013 Pivotal. All Rights Reserved.