V
- Element type of the listT
- Concrete type of the underlying builderpublic abstract static class PropertyDescriptorBuilderConversionWrapper.MultiValue<V,T extends MultiValuePropertyBuilder<V,T>> extends PropertyDescriptorBuilderConversionWrapper<java.util.List<V>,T>
Modifier and Type | Class and Description |
---|---|
static class |
PropertyDescriptorBuilderConversionWrapper.MultiValue.Numeric<V,T extends MultiNumericPropertyBuilder<V,T>>
For multi-value numeric properties.
|
static class |
PropertyDescriptorBuilderConversionWrapper.MultiValue.Packaged<V,T extends MultiPackagedPropertyBuilder<V,T>>
For single-value packaged properties.
|
PropertyDescriptorBuilderConversionWrapper.MultiValue<V,T extends MultiValuePropertyBuilder<V,T>>, PropertyDescriptorBuilderConversionWrapper.SingleValue<E,T extends SingleValuePropertyBuilder<E,T>>
Modifier and Type | Field and Description |
---|---|
protected ValueParser<V> |
parser |
Modifier | Constructor and Description |
---|---|
protected |
MultiValue(java.lang.Class<V> valueType,
ValueParser<V> parser) |
Modifier and Type | Method and Description |
---|---|
boolean |
isMultiValue()
Whether this descriptor is multi-valued.
|
protected void |
populate(T builder,
java.util.Map<PropertyDescriptorField,java.lang.String> fields)
Populates the builder with extracted fields.
|
build, legalPackageNamesIn, newBuilder, valueType
protected final ValueParser<V> parser
protected MultiValue(java.lang.Class<V> valueType, ValueParser<V> parser)
protected void populate(T builder, java.util.Map<PropertyDescriptorField,java.lang.String> fields)
PropertyDescriptorBuilderConversionWrapper
populate
in class PropertyDescriptorBuilderConversionWrapper<java.util.List<V>,T extends MultiValuePropertyBuilder<V,T>>
public boolean isMultiValue()
PropertyDescriptorExternalBuilder
isMultiValue
in interface PropertyDescriptorExternalBuilder<java.util.List<V>>
isMultiValue
in class PropertyDescriptorBuilderConversionWrapper<java.util.List<V>,T extends MultiValuePropertyBuilder<V,T>>
Copyright © 2002–2018 PMD. All rights reserved.