SingleValueConverter for item types and attribute names.
| Modifier and Type | Field and Description |
|---|---|
| private ConverterLookup | |
| private final Map | |
| private final Set | |
| private ReflectionProvider | |
| private final Set |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| converterLookup | back to summary |
|---|---|
| private ConverterLookup converterLookup | |
| fieldNameToTypeMap | back to summary |
|---|---|
| private final Map<K, V> fieldNameToTypeMap | |
| fieldToUseAsAttribute | back to summary |
|---|---|
| private final Set<E> fieldToUseAsAttribute | |
| reflectionProvider | back to summary |
|---|---|
| private ReflectionProvider reflectionProvider | |
| typeSet | back to summary |
|---|---|
| private final Set<E> typeSet | |
| AttributeMapper | back to summary |
|---|---|
| public AttributeMapper(Mapper wrapped)
Deprecated As of 1.3 | |
| AttributeMapper | back to summary |
|---|---|
| public AttributeMapper(Mapper wrapped, ConverterLookup converterLookup, ReflectionProvider refProvider) | |
| addAttributeFor | back to summary |
|---|---|
| public void addAttributeFor(final String fieldName, final Class<T> type) | |
| addAttributeFor | back to summary |
|---|---|
| public void addAttributeFor(final Class<T> type) | |
| addAttributeFor | back to summary |
|---|---|
| public void addAttributeFor(final Field field) Tells this mapper to use an attribute for this field.
| |
| addAttributeFor | back to summary |
|---|---|
| public void addAttributeFor(Class<T> definedIn, String fieldName) Tells this mapper to use an attribute for this field. | |
| getConverterFromAttribute | back to summary |
|---|---|
| public SingleValueConverter getConverterFromAttribute(String attributeName) Overrides com. Implements com. Deprecated As of 1.3, use | |
| getConverterFromAttribute | back to summary |
|---|---|
| public SingleValueConverter getConverterFromAttribute(Class<T> definedIn, String attribute) Overrides com. Implements com. Doc from com. Deprecated As of 1.3.1, use Returns which converter to use for an specific attribute in a type. | |
| getConverterFromAttribute | back to summary |
|---|---|
| public SingleValueConverter getConverterFromAttribute(Class<T> definedIn, String attribute, Class<T> type) Overrides com. Implements com. Doc from com. Returns which converter to use for an specific attribute in a type. | |
| getConverterFromItemType | back to summary |
|---|---|
| public SingleValueConverter getConverterFromItemType(String fieldName, Class<T> type) Overrides com. Implements com. Deprecated As of 1.3, use | |
| getConverterFromItemType | back to summary |
|---|---|
| public SingleValueConverter getConverterFromItemType(String fieldName, Class<T> type, Class<T> definedIn) Overrides com. Implements com. Doc from com. Returns a single value converter to be used in a specific field.
| |
| getConverterFromItemType | back to summary |
|---|---|
| public SingleValueConverter getConverterFromItemType(Class<T> type) Overrides com. Implements com. Deprecated As of 1.3, use | |
| getLocalConverterFromItemType | back to summary |
|---|---|
| private SingleValueConverter getLocalConverterFromItemType(Class<T> type) | |
| setConverterLookup | back to summary |
|---|---|
| public void setConverterLookup(ConverterLookup converterLookup)
Deprecated As of 1.3 | |
| shouldLookForSingleValueConverter | back to summary |
|---|---|
| public boolean shouldLookForSingleValueConverter(String fieldName, Class<T> type, Class<T> definedIn) | |