public abstract class ActiveRecord extends Object implements io.vertx.up.commune.Record
| Constructor and Description |
|---|
ActiveRecord() |
| Modifier and Type | Method and Description |
|---|---|
io.vertx.up.commune.Record |
add(io.vertx.core.json.JsonObject data) |
<V> io.vertx.up.commune.Record |
add(String field,
V value) |
<V> io.vertx.up.commune.Record |
attach(String field,
V value) |
io.vertx.up.commune.Record |
createCopy() |
io.vertx.up.commune.Record |
createNew() |
io.vertx.up.commune.Record |
createSubset(String... fields) |
protected io.vertx.core.json.JsonObject |
data() |
Set<String> |
declaredFields() |
Set<String> |
fields() |
void |
fromJson(io.vertx.core.json.JsonObject json) |
io.vertx.core.json.JsonObject |
get() |
io.vertx.core.json.JsonObject |
get(String... fields) |
<T> T |
get(String field) |
protected io.vertx.up.log.Annal |
getLogger() |
default String |
identifier() |
boolean |
isEmpty() |
boolean |
isPersist() |
boolean |
isValue(String field) |
Set<String> |
joins() |
<ID> ID |
key() |
<ID> void |
key(ID arg0) |
io.vertx.up.commune.Record |
remove(String... fields) |
io.vertx.up.commune.Record |
remove(String field) |
io.vertx.up.commune.Record |
set(io.vertx.core.json.JsonObject data) |
<V> io.vertx.up.commune.Record |
set(String field,
V value) |
int |
size() |
io.vertx.core.json.JsonObject |
toJson() |
ConcurrentMap<String,Class<?>> |
types() |
protected io.vertx.up.log.Annal getLogger()
protected io.vertx.core.json.JsonObject data()
public boolean isEmpty()
public boolean isPersist()
public boolean isValue(String field)
public <T> T get(String field)
get in interface io.vertx.up.commune.Recordpublic io.vertx.core.json.JsonObject get(String... fields)
get in interface io.vertx.up.commune.Recordpublic ConcurrentMap<String,Class<?>> types()
public io.vertx.core.json.JsonObject get()
get in interface io.vertx.up.commune.Recordpublic <V> io.vertx.up.commune.Record set(String field, V value)
set in interface io.vertx.up.commune.Recordpublic <V> io.vertx.up.commune.Record attach(String field, V value)
attach in interface io.vertx.up.commune.Recordpublic io.vertx.up.commune.Record set(io.vertx.core.json.JsonObject data)
set in interface io.vertx.up.commune.Recordpublic <V> io.vertx.up.commune.Record add(String field, V value)
add in interface io.vertx.up.commune.Recordpublic io.vertx.up.commune.Record add(io.vertx.core.json.JsonObject data)
add in interface io.vertx.up.commune.Recordpublic io.vertx.up.commune.Record remove(String field)
remove in interface io.vertx.up.commune.Recordpublic io.vertx.up.commune.Record remove(String... fields)
remove in interface io.vertx.up.commune.Recordpublic io.vertx.up.commune.Record createSubset(String... fields)
public io.vertx.up.commune.Record createCopy()
public io.vertx.core.json.JsonObject toJson()
toJson in interface io.vertx.up.commune.Jsonpublic void fromJson(io.vertx.core.json.JsonObject json)
fromJson in interface io.vertx.up.commune.Jsonpublic int size()
public String identifier()
public <ID> ID key()
public <ID> void key(ID arg0)
public io.vertx.up.commune.Record createNew()
Copyright © 2021. All rights reserved.