public interface Entity
Table and Column as
the tableName and column respectively.Table,
Column| Modifier and Type | Method and Description |
|---|---|
static <T extends Entity> |
column(Class<T> entityClass,
String column) |
static <T extends Entity> |
fromJson(io.vertx.core.json.JsonObject json,
Class<T> entityClass) |
static <T extends Entity> |
getColumns(Class<T> clasz) |
static <T extends Entity> |
getColumnsWithoutId(Class<T> clasz) |
static <T extends Entity> |
getTableName(Class<T> entity) |
static <T extends Entity> |
merge(T from,
T to)
Merges the field values of
to onto from, replacing from's value
with to's non-null value. |
static <T extends Entity> |
setId(T entity,
UUID id) |
static <T extends Entity> |
toJson(T entity) |
static <T extends Entity> io.vertx.core.json.JsonObject toJson(T entity)
static <T extends Entity> T fromJson(io.vertx.core.json.JsonObject json, Class<T> entityClass)
static <T extends Entity> T merge(T from, T to)
to onto from, replacing from's value
with to's non-null value. If to's value for a certain field
is null, resulting return object will take from's value for that field.
Copyright © 2021. All rights reserved.