MappingParameters

data class MappingParameters(val reference: ReferenceContainer?, val filter: StringContainer?, val mapTo: ValueContainer?) : DataObjectConvertible

An object representing the possible configuration options of a mapping.

Users are not expected to create instances of this class directly, but mappings should typically be created through the provided builder: Mappings

Parameters

reference

an optional reference to the key used by this mapping to find the value

filter

an optional filter, that the reference should be equal to in order for the mapping to be applied

mapTo

a constant value to map instead of the value found at the reference

See also

Constructors

Link copied to clipboard
constructor(reference: ReferenceContainer?, filter: StringContainer?, mapTo: ValueContainer?)

Types

Link copied to clipboard

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun asDataItem(): DataItem

Should return an instance of a DataItem that represents all required properties of the implementing class, such that it could be:

Link copied to clipboard
open override fun asDataObject(): DataObject

Should return an instance of a asDataObject that represents all required properties of the implementing class, such that it could be: