| Modifier and Type | Method and Description |
|---|---|
static Optional<DefaultRestModel> |
basedOn(Map<String,Object> row)
Creates a new
RestModel based on the given row. |
Map<String,Object> |
getRow() |
public static Optional<DefaultRestModel> basedOn(Map<String,Object> row)
RestModel based on the given row. If the row is empty or null, then
the no model is returned but an empty Optional.row - The row this model is based on, maybe nullRestModelCopyright © 2015–2020 Neo Technology, Inc.. All rights reserved.