I - The initializer type used to build the many-to-one mappingK - The type of the key used for indexingT - The type of the bean being convertedpublic abstract class AbstractFieldMapEntry<I,K extends Comparable<K>,T> extends Object implements ComplexFieldMapEntry<I,K,T>
ComplexFieldMapEntry.| Modifier and Type | Field and Description |
|---|---|
protected Locale |
errorLocale
The locale to be used for error messages.
|
protected BeanField<T,K> |
field
The
BeanField that is the target of this mapping. |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractFieldMapEntry(BeanField<T,K> field,
Locale errorLocale)
The only constructor, and it must be called by all derived classes.
|
| Modifier and Type | Method and Description |
|---|---|
BeanField<T,K> |
getBeanField() |
void |
setErrorLocale(Locale errorLocale)
Sets the locale to be used for error messages.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcontains, getInitializerprotected final BeanField<T,K extends Comparable<K>> field
BeanField that is the target of this mapping.protected Locale errorLocale
public BeanField<T,K> getBeanField()
getBeanField in interface ComplexFieldMapEntry<I,K extends Comparable<K>,T>BeanField to which this entry mapspublic void setErrorLocale(Locale errorLocale)
ComplexFieldMapEntrysetErrorLocale in interface ComplexFieldMapEntry<I,K extends Comparable<K>,T>errorLocale - The locale to be used for error messagesCopyright © 2005–2025. All rights reserved.