@Retention(value=RUNTIME)
@Target(value=TYPE)
public @interface KITTY_DATABASE
Modifier and Type | Optional Element and Description |
---|---|
java.lang.String |
databaseName
Database name
|
int |
databaseVersion
Database version int
|
java.lang.String[] |
domainPackageNames
Package name where schema classes are
|
boolean |
isGenerateRegistryFromPackage
Create modelMapperInstanceStorage by default method (via reflection)
|
boolean |
isKittyDexUtilLoggingEnabled
Enable logging for dex util component (false by default)
|
boolean |
isLoggingOn
Enable logging (false by default)
|
boolean |
isPragmaOn
Pragma on value (by default false)
|
boolean |
isProductionOn
Production flag (default true), when true and logging on than models would be logged as well as
CV values with
KittyMapper with usage of KittyModel.toLogString() . |
java.lang.String |
logTag
Log tag (KittySQLite by default)
|
boolean |
returnNullInsteadEmptyCollection
Defines what KittyMapper would return on fetch methods (findWhere/findAll etc) when
SELECT statement returns no rows.
|
public abstract java.lang.String databaseName
public abstract boolean isLoggingOn
public abstract boolean isKittyDexUtilLoggingEnabled
public abstract java.lang.String logTag
public abstract boolean isPragmaOn
public abstract boolean isProductionOn
KittyMapper
with usage of KittyModel.toLogString()
.
public abstract boolean isGenerateRegistryFromPackage
public abstract boolean returnNullInsteadEmptyCollection