Interface PropertyDescriptorExternalBuilder<E>
-
- Type Parameters:
E
- The type of values.
- All Known Implementing Classes:
PropertyDescriptorBuilderConversionWrapper
,PropertyDescriptorBuilderConversionWrapper.MultiValue
,PropertyDescriptorBuilderConversionWrapper.MultiValue.Numeric
,PropertyDescriptorBuilderConversionWrapper.MultiValue.Packaged
,PropertyDescriptorBuilderConversionWrapper.SingleValue
,PropertyDescriptorBuilderConversionWrapper.SingleValue.Numeric
,PropertyDescriptorBuilderConversionWrapper.SingleValue.Packaged
@Deprecated public interface PropertyDescriptorExternalBuilder<E>
Deprecated.Builds properties from a map of key value pairs, eg extracted from an XML element.- Since:
- 6.0.0
- Author:
- Clément Fournier
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description PropertyDescriptor<E>
build(Map<PropertyDescriptorField,String> fields)
Deprecated.Builds a descriptor.boolean
isMultiValue()
Deprecated.Whether this descriptor is multi-valued.Class<?>
valueType()
Deprecated.Type of the values of the descriptor, or component type if this descriptor is multi-valued.
-
-
-
Method Detail
-
isMultiValue
boolean isMultiValue()
Deprecated.Whether this descriptor is multi-valued.- Returns:
- True if this descriptor is multi-valued
-
valueType
Class<?> valueType()
Deprecated.Type of the values of the descriptor, or component type if this descriptor is multi-valued.- Returns:
- Type of the values
-
build
PropertyDescriptor<E> build(Map<PropertyDescriptorField,String> fields)
Deprecated.Builds a descriptor. The descriptor returned is tagged as built externally.- Parameters:
fields
- Key value pairs- Returns:
- A builder
-
-