E
- Collection elements typeC
- Concrete collection typeP
- Concrete property typeB
- Concrete builder typepublic static interface CollectionProperty.Builder<E,C extends Collection<E>,P extends CollectionProperty<E,C>,B extends CollectionProperty.Builder<E,C,P,B>> extends Property.Builder<C,P,B>
CollectionProperty
builder.Modifier and Type | Method and Description |
---|---|
<MODEL> B |
elementConverter(Class<MODEL> modelElementType,
Function<MODEL,E> fromModel,
Function<E,MODEL> toModel)
Configure a
PropertyValueConverter for the collection type property using the provided functions to
perform the conversion operations for each collection element. |
<MODEL> B |
elementConverter(PropertyValueConverter<E,MODEL> elementConverter)
Configure a property value converter for the collection type property using the provided
PropertyValueConverter to perform the conversion operations for each collection element. |
configuration, configuration, converter, converter, equalsHandler, hashCodeProvider, localization, temporalType, validator, withConfiguration, withConfiguration, withValidator
message, message, messageArguments, messageCode
<MODEL> B elementConverter(Class<MODEL> modelElementType, Function<MODEL,E> fromModel, Function<E,MODEL> toModel)
PropertyValueConverter
for the collection type property using the provided functions to
perform the conversion operations for each collection element.MODEL
- Model element typemodelElementType
- Model element typefromModel
- Function to convert a collection element from the model type to the collection property
element typetoModel
- Function to convert a collection element from the collection property element type to model
type<MODEL> B elementConverter(PropertyValueConverter<E,MODEL> elementConverter)
PropertyValueConverter
to perform the conversion operations for each collection element.MODEL
- Model element typeelementConverter
- Collection element converter (not null)Copyright © 2019 The Holon Platform. All rights reserved.