Record Class AmmFieldMapping
java.lang.Object
java.lang.Record
ch.tocco.nice2.optional.amm.api.actions.ammpdf.AmmFieldMapping
-
Constructor Summary
ConstructorsConstructorDescriptionAmmFieldMapping(String fieldName, @Nullable String businessUnit, List<String> supportedForms, Function<AmmFieldInput, @Nullable String> mappingFunction) AmmFieldMapping(String fieldName, @Nullable String businessUnit, List<String> supportedForms, Function<AmmFieldInput, @Nullable String> mappingFunction, String format) Creates an instance of aAmmFieldMappingrecord class.AmmFieldMapping(String fieldName, List<String> supportedForms, Function<AmmFieldInput, @Nullable String> mappingFunction) AmmFieldMapping(String fieldName, List<String> supportedForms, Function<AmmFieldInput, @Nullable String> mappingFunction, @Nullable String format) -
Method Summary
Modifier and TypeMethodDescription@Nullable StringReturns the value of thebusinessUnitrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thefieldNamerecord component.format()Returns the value of theformatrecord component.final inthashCode()Returns a hash code value for this object.Function<AmmFieldInput, @Nullable String> Returns the value of themappingFunctionrecord component.Returns the value of thesupportedFormsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
AmmFieldMapping
-
AmmFieldMapping
-
AmmFieldMapping
-
AmmFieldMapping
public AmmFieldMapping(String fieldName, @Nullable String businessUnit, List<String> supportedForms, Function<AmmFieldInput, @Nullable String> mappingFunction, String format) Creates an instance of aAmmFieldMappingrecord class.- Parameters:
fieldName- the value for thefieldNamerecord componentbusinessUnit- the value for thebusinessUnitrecord componentsupportedForms- the value for thesupportedFormsrecord componentmappingFunction- the value for themappingFunctionrecord componentformat- the value for theformatrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
fieldName
Returns the value of thefieldNamerecord component.- Returns:
- the value of the
fieldNamerecord component
-
businessUnit
Returns the value of thebusinessUnitrecord component.- Returns:
- the value of the
businessUnitrecord component
-
supportedForms
-
mappingFunction
Returns the value of themappingFunctionrecord component.- Returns:
- the value of the
mappingFunctionrecord component
-
format
Returns the value of theformatrecord component.- Returns:
- the value of the
formatrecord component
-