public interface ConversionContext
Type | Property and Description |
---|---|
ConversionContext |
pop
Pops the last pushed property from the stack.
|
ConversionContext |
pushIdentifier
In case the next conversion fails, the error message will point to the
document id of the currently indexed type.
|
Modifier and Type | Method and Description |
---|---|
FieldBridge |
oneWayConversionContext(FieldBridge delegate)
Decorates a FieldBridge.
|
ConversionContext |
popProperty()
Pops the last pushed property from the stack.
|
ConversionContext |
pushIdentifierProperty()
In case the next conversion fails, the error message will point to the
document id of the currently indexed type.
|
ConversionContext |
pushProperty(String propertyName)
The context has an internal stack for graph navigation.
|
ConversionContext |
setClass(Class<?> beanClass)
In case the next conversion fails, the error message will point to this type.
|
StringBridge |
stringConversionContext(StringBridge delegate)
Decorates a StringBridge.
|
TwoWayFieldBridge |
twoWayConversionContext(TwoWayFieldBridge delegate)
Decorates a TwoWayFieldBridge.
|
ConversionContext pushIdentifierProperty
ConversionContext popProperty
pushIdentifierProperty()
and pushProperty(String)
}FieldBridge oneWayConversionContext(FieldBridge delegate)
delegate
- set the bridge that shall be used by the decoration.TwoWayFieldBridge twoWayConversionContext(TwoWayFieldBridge delegate)
delegate
- set the bridge that shall be used by the decoration.StringBridge stringConversionContext(StringBridge delegate)
delegate
- set the bridge that shall be used by the decoration.ConversionContext setClass(Class<?> beanClass)
beanClass
- the class type which is going to be convertedConversionContext pushIdentifierProperty()
ConversionContext pushProperty(String propertyName)
popProperty()
,
especially after exceptions.propertyName
- the name of the property which is being followed for embedded indexingConversionContext popProperty()
pushIdentifierProperty()
and pushProperty(String)
}Copyright © 2006-2017 Red Hat, Inc. All Rights Reserved