- All Implemented Interfaces:
RestModel
The results of a query, modelled as rest response data.
- Author:
- Luanne Misquitta, Michael J. Simons
-
Method Summary
Creates a new
RestModel based on the given row.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Method Details
-
basedOn
Creates a new
RestModel based on the given row. If the row is empty or null, then
the no model is returned but an empty
Optional.
- Parameters:
row - The row this model is based on, maybe null
- Returns:
- An optional
RestModel
-