public class SlotTypeConverter extends Object
Constructor and Description |
---|
SlotTypeConverter() |
Modifier and Type | Method and Description |
---|---|
Optional<SlotType1> |
convert(Map<String,Object> map)
This method creates an SlotType1 from the values in the provided map.
|
public Optional<SlotType1> convert(Map<String,Object> map)
SLOT_TYPE = "slotType"; NAME = "name"; POINT_KEY = "Point"; SRS_DIMENSION = "srsDimension"; SRS_NAME = "srsName"; POSITION = "pos"; VALUE = "value";
map
- the Map representation of the SlotType1 to generate, null returns empty OptionalThis work is licensed under a Creative Commons Attribution 4.0 International License.