@Retention(value=RUNTIME)
@Target(value=TYPE)
public @interface KITTY_DATABASE_REGISTRY
| Modifier and Type | Optional Element and Description |
|---|---|
java.lang.Class[] |
domainModels
List (array) of domain models, all models in this list would be checked and added to KittyORM registry
for annotated database.
|
KITTY_REGISTRY_PAIR[] |
domainPairs
List (array) of domain pairs (model to mapper), all pairs in this list would be checked and added
to KittyORM registry for annotated database.
|
public abstract java.lang.Class[] domainModels
KITTY_EXTENDED_CRUD that extended
CRUD would be added as mapper for this model, otherwise would be added KittyMapper
domainPairs()public abstract KITTY_REGISTRY_PAIR[] domainPairs
KITTY_EXTENDED_CRUD annotations would be ignored,
to set extended CRUD controller you have to define KITTY_REGISTRY_PAIR.mapper().
domainModels()