Interface AttributeMapper<T>
- Type Parameters:
- T- the expected type of the mapped attribute
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
An AttributeMapper maps / massages / transforms an attribute from an 
AttributeSource- 
Method SummaryModifier and TypeMethodDescriptionmap(AttributeSource attributeSource) Map an attribute from the givenAttributeSource
- 
Method Details- 
mapMap an attribute from the givenAttributeSource- Parameters:
- attributeSource- the- AttributeSource
- Returns:
- an Optionalcontaining the mapped attribute or an emptyOptionalif the targeted attributed does not exist on theAttributeSource
- Throws:
- AttributeMapperException- if there is an unexpected problem mapping the attribute
 
 
-