-
public class KobbyKotlinEntityExtensionConfiguration of DSL Entities interfaces generation
-
-
Field Summary
Fields Modifier and Type Field Description private Booleanenabledprivate StringpackageNameprivate Stringprefixprivate Stringpostfixprivate StringwithCurrentProjectionFun
-
Constructor Summary
Constructors Constructor Description KobbyKotlinEntityExtension()
-
Method Summary
Modifier and Type Method Description final BooleangetEnabled()Is entities interfaces generation enabledDefault: true final UnitsetEnabled(Boolean enabled)Is entities interfaces generation enabledDefault: true final StringgetPackageName()Package name for entities interfaces relative to root package nameDefault: "entity" final UnitsetPackageName(String packageName)Package name for entities interfaces relative to root package nameDefault: "entity" final StringgetPrefix()Prefix for entities interfaces final UnitsetPrefix(String prefix)Prefix for entities interfaces final StringgetPostfix()Postfix for entities interfaces final UnitsetPostfix(String postfix)Postfix for entities interfaces final StringgetWithCurrentProjectionFun()Name of "withCurrentProjection" function in entity interfaceDefault: "__withCurrentProjection" final UnitsetWithCurrentProjectionFun(String withCurrentProjectionFun)Name of "withCurrentProjection" function in entity interfaceDefault: "__withCurrentProjection" final Unitprojection(Action<KobbyKotlinEntityProjectionExtension> action)Configuration of DSL Entity Projection interfaces generation final Unitselection(Action<KobbyKotlinEntitySelectionExtension> action)Configuration of DSL Entity Selection interfaces generation -
-
Method Detail
-
getEnabled
final Boolean getEnabled()
Is entities interfaces generation enabled
Default: true
-
setEnabled
final Unit setEnabled(Boolean enabled)
Is entities interfaces generation enabled
Default: true
-
getPackageName
final String getPackageName()
Package name for entities interfaces relative to root package name
Default: "entity"
-
setPackageName
final Unit setPackageName(String packageName)
Package name for entities interfaces relative to root package name
Default: "entity"
-
getPostfix
final String getPostfix()
Postfix for entities interfaces
-
setPostfix
final Unit setPostfix(String postfix)
Postfix for entities interfaces
-
getWithCurrentProjectionFun
final String getWithCurrentProjectionFun()
Name of "withCurrentProjection" function in entity interface
Default: "__withCurrentProjection"
-
setWithCurrentProjectionFun
final Unit setWithCurrentProjectionFun(String withCurrentProjectionFun)
Name of "withCurrentProjection" function in entity interface
Default: "__withCurrentProjection"
-
projection
final Unit projection(Action<KobbyKotlinEntityProjectionExtension> action)
Configuration of DSL Entity Projection interfaces generation
-
selection
final Unit selection(Action<KobbyKotlinEntitySelectionExtension> action)
Configuration of DSL Entity Selection interfaces generation
-
-
-
-