public interface AttributeValueToRepresentationStrategy
| Modifier and Type | Method and Description |
|---|---|
java.util.function.Supplier<java.lang.Object> |
getCollectionGetter(AttributeDescriptorModel attribute,
ItemModel sourceModel,
java.util.function.Function<java.lang.Object,java.lang.Object> transformationFunction)
This function is used to retrieve a
Supplier that can be used to get the representation of a collection stored in an attribute. |
java.util.function.Supplier<java.lang.Object> |
getLocalizedCollectionGetter(AttributeDescriptorModel attribute,
ItemModel sourceModel,
java.util.function.Function<java.lang.Object,java.lang.Object> transformationFunction)
This function is used to retrieve a
Supplier that can be used to get the representation of a localized collection value stored
in an attribute. |
java.util.function.Supplier<java.lang.Object> |
getLocalizedGetter(AttributeDescriptorModel attribute,
ItemModel sourceModel,
java.util.function.Function<java.lang.Object,java.lang.Object> transformationFunction)
This function is used to retrieve a
Supplier that can be used to get the representation of a localized value stored in an attribute. |
java.util.function.Supplier<java.lang.Object> |
getSimpleGetter(AttributeDescriptorModel attribute,
ItemModel sourceModel,
java.util.function.Function<java.lang.Object,java.lang.Object> transformationFunction)
This function is used to retrieve a Supplier that can be used to get the representation of the value of an attribute.
|
java.util.function.Supplier<java.lang.Object> getSimpleGetter(AttributeDescriptorModel attribute, ItemModel sourceModel, java.util.function.Function<java.lang.Object,java.lang.Object> transformationFunction)
attribute - The object describing the attribute whose value will be transformed.sourceModel - The model containing the value that will be transformed.transformationFunction - The function that will be used to transform the value into the expected object.Supplier. Use get() to retrieve the transformed object.java.util.function.Supplier<java.lang.Object> getCollectionGetter(AttributeDescriptorModel attribute, ItemModel sourceModel, java.util.function.Function<java.lang.Object,java.lang.Object> transformationFunction)
Supplier that can be used to get the representation of a collection stored in an attribute. This
representation is generated by leveraging the provided transformation function.attribute - The object describing the attribute whose value will be transformed.sourceModel - The model containing the collection that will be transformed.transformationFunction - The function that will be used to transform the collection into the expected representation.Supplier. Use get() to retrieve the transformed collection.java.util.function.Supplier<java.lang.Object> getLocalizedGetter(AttributeDescriptorModel attribute, ItemModel sourceModel, java.util.function.Function<java.lang.Object,java.lang.Object> transformationFunction)
Supplier that can be used to get the representation of a localized value stored in an attribute.
This representation is generated by leveraging the provided transformation function.attribute - The object describing the attribute whose value will be transformed.sourceModel - The model containing the localized value that will be transformed.transformationFunction - The function that will be used to transform the localized value into the expected representation.Supplier. Use get() to retrieve the transformed localized value.java.util.function.Supplier<java.lang.Object> getLocalizedCollectionGetter(AttributeDescriptorModel attribute, ItemModel sourceModel, java.util.function.Function<java.lang.Object,java.lang.Object> transformationFunction)
Supplier that can be used to get the representation of a localized collection value stored
in an attribute.
This representation is generated by leveraging the provided transformation function.attribute - The object describing the attribute whose value will be transformed.sourceModel - The model containing the localized collection value that will be transformed.transformationFunction - The function that will be used to transform the localized collection value into the expected representation.Supplier. Use get() to retrieve the transformed localized collection value.Copyright © 2018 SAP SE. All Rights Reserved.