public class PersonNameTypeConverter extends Object
Constructor and Description |
---|
PersonNameTypeConverter() |
Modifier and Type | Method and Description |
---|---|
Optional<PersonNameType> |
convert(Map<String,Object> map)
This method creates an PersonNameType from the values in the provided map.
|
public Optional<PersonNameType> convert(Map<String,Object> map)
FIRST_NAME = "firstName"; MIDDLE_NAME = "middleName"; LAST_NAME = "lastName";
map
- the Map representation of the PersonNameType to generate, null returns empty
OptionalThis work is licensed under a Creative Commons Attribution 4.0 International License.