public interface Model
| Modifier and Type | Method and Description |
|---|---|
String |
file() |
MAttribute |
getAttribute(String attributeName) |
Set<MAttribute> |
getAttributes() |
Set<MJoin> |
getJoins() |
DataKey |
getKey() |
MModel |
getModel() |
Schema |
getSchema(String identifier) |
Set<Schema> |
getSchemata() |
ModelType |
getType() |
io.vertx.up.commune.rule.RuleUnique |
getUnique() |
String |
identifier() |
static Model |
instance(String namespace,
io.vertx.core.json.JsonObject data) |
String |
namespace() |
static String |
namespace(String appName) |
void |
onDatabase(Set<Schema> schemas) |
Model |
onJson(Set<Schema> schemas) |
void |
setKey(DataKey dataKey) |
void |
setRelation(String key) |
ConcurrentMap<String,Class<?>> |
types() |
MModel getModel()
Set<MAttribute> getAttributes()
MAttribute getAttribute(String attributeName)
ModelType getType()
io.vertx.up.commune.rule.RuleUnique getUnique()
ConcurrentMap<String,Class<?>> types()
String identifier()
String file()
String namespace()
DataKey getKey()
void setKey(DataKey dataKey)
void setRelation(String key)
Copyright © 2020. All rights reserved.