Interface IMapValueDescriptorBuilder<V>
- 
- Type Parameters:
- V- Type of the map values.
 - All Superinterfaces:
- org.apache.commons.lang3.builder.Builder<IMapValueDescriptor<V>>,- IValueDescriptorBuilder<Map<String,V>,IMapValueBuilder<V>,IMapValueDescriptor<V>>
 
 public interface IMapValueDescriptorBuilder<V> extends IValueDescriptorBuilder<Map<String,V>,IMapValueBuilder<V>,IMapValueDescriptor<V>> AIValueDescriptorBuilderfor creating a map value descriptor. UseIValueDescriptorFactory.mapBuilder(IValueDescriptor)to create a builder.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description IMapValueDescriptorBuilder<V>defaultValue(String key, IValueCreator creator)Sets the default value for the element at the given key.default IMapValueDescriptorBuilder<V>defaultValue(String key, Object value)Sets the default value for the element at the given key.IMapValueDescriptorBuilder<V>description(String description)
 
- 
- 
- 
Method Detail- 
defaultValueIMapValueDescriptorBuilder<V> defaultValue(String key, IValueCreator creator) Sets the default value for the element at the given key. The default value is taken from the map element value descriptor when no explicit default is provided.- Parameters:
- key- Key in the map.
- creator- Value creator for the value to use for the value at the given key as the default when creating a map value.
- Returns:
- This descriptor builder for chaining method calls.
 
 - 
defaultValuedefault IMapValueDescriptorBuilder<V> defaultValue(String key, Object value) Sets the default value for the element at the given key. The default value is taken from the map element value descriptor when no explicit default is provided.- Parameters:
- key- Key in the map.
- value- Value to use for the value at the given key as the default when creating a map value.
- Returns:
- This descriptor builder for chaining method calls.
 
 - 
descriptionIMapValueDescriptorBuilder<V> description(String description) - Specified by:
- descriptionin interface- IValueDescriptorBuilder<Map<String,V>,IMapValueBuilder<V>,IMapValueDescriptor<V>>
- Parameters:
- description- The description for the value. May be either a localized message or an I18N key.
- Returns:
- This builder instance for chaining method calls.
 
 
- 
 
-