Package com.identityworksllc.iiq.common
Interface MapDecodable
-
- All Known Implementing Classes:
CommonSecurityConfig
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface MapDecodable
An interface that can be implemented by any object that would like to translate itself from a Map input.This is intended for use by the ObjectMapper utility, but may be used outside of that function.
This is, roughly, the opposite of
Mappable
without the automation.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
initializeFromMap(Map<String,Object> input)
Initializes this object from a Map
-
-
-
Method Detail
-
initializeFromMap
void initializeFromMap(Map<String,Object> input) throws ObjectMapper.ObjectMapperException
Initializes this object from a Map- Parameters:
input
- The input map- Throws:
ObjectMapper.ObjectMapperException
- if the mapping operation fails
-
-