Class PhoneToPhoneFieldConverter
java.lang.Object
ch.tocco.nice2.model.form.spi.converter.AbstractFieldComponentConverter<PhoneField>
ch.tocco.nice2.model.form.impl.entity.PhoneToPhoneFieldConverter
- All Implemented Interfaces:
FieldComponentConverter
@Component
public class PhoneToPhoneFieldConverter
extends AbstractFieldComponentConverter<PhoneField>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected Class
<? extends PhoneField> protected Class
<PhoneField> protected void
mapFields
(PhoneField newField, Field field, FieldModel fieldInfo) Implement and assign field-specific stuff.void
setCustomValidationRegex
(String customValidationRegex) Methods inherited from class ch.tocco.nice2.model.form.spi.converter.AbstractFieldComponentConverter
convert
-
Constructor Details
-
PhoneToPhoneFieldConverter
-
-
Method Details
-
setCustomValidationRegex
-
getImplClass
- Specified by:
getImplClass
in classAbstractFieldComponentConverter<PhoneField>
-
getInterfaceClass
- Specified by:
getInterfaceClass
in classAbstractFieldComponentConverter<PhoneField>
-
mapFields
Description copied from class:AbstractFieldComponentConverter
Implement and assign field-specific stuff.- Overrides:
mapFields
in classAbstractFieldComponentConverter<PhoneField>
- Parameters:
newField
- The new, specific field (target), for example "text" field.field
- The generic "field" (source).
-