E
- Value type of the propertyT
- Concrete type of the underlying builderpublic abstract static class PropertyDescriptorBuilderConversionWrapper.SingleValue<E,T extends SingleValuePropertyBuilder<E,T>> extends PropertyDescriptorBuilderConversionWrapper<E,T>
Modifier and Type | Class and Description |
---|---|
static class |
PropertyDescriptorBuilderConversionWrapper.SingleValue.Numeric<V,T extends SingleNumericPropertyBuilder<V,T>>
For single-value numeric properties.
|
static class |
PropertyDescriptorBuilderConversionWrapper.SingleValue.Packaged<E,T extends SinglePackagedPropertyBuilder<E,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<E> |
parser |
Modifier | Constructor and Description |
---|---|
protected |
SingleValue(java.lang.Class<E> valueType,
ValueParser<E> 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<E> parser
protected SingleValue(java.lang.Class<E> valueType, ValueParser<E> parser)
protected void populate(T builder, java.util.Map<PropertyDescriptorField,java.lang.String> fields)
PropertyDescriptorBuilderConversionWrapper
populate
in class PropertyDescriptorBuilderConversionWrapper<E,T extends SingleValuePropertyBuilder<E,T>>
public boolean isMultiValue()
PropertyDescriptorExternalBuilder
isMultiValue
in interface PropertyDescriptorExternalBuilder<E>
isMultiValue
in class PropertyDescriptorBuilderConversionWrapper<E,T extends SingleValuePropertyBuilder<E,T>>
Copyright © 2002–2018 PMD. All rights reserved.