Class KobbyKotlinDtoBuilderExtension
-
- All Implemented Interfaces:
public class KobbyKotlinDtoBuilderExtensionConfiguration of DTO builders generation
-
-
Constructor Summary
Constructors Constructor Description KobbyKotlinDtoBuilderExtension()
-
Method Summary
Modifier and Type Method Description final BooleangetEnabled()Is DTO builders generation enabledDefault: true final UnitsetEnabled(Boolean enabled)Is DTO builders generation enabledDefault: true final StringgetPrefix()Prefix of DTO builder classes final UnitsetPrefix(String prefix)Prefix of DTO builder classes final StringgetPostfix()Postfix of DTO builder classesDefault: "Builder" final UnitsetPostfix(String postfix)Postfix of DTO builder classesDefault: "Builder" final StringgetToBuilderFun()Name of DTO based "toBuilder" function for DTO classesDefault: "toBuilder" final UnitsetToBuilderFun(String toBuilderFun)Name of DTO based "toBuilder" function for DTO classesDefault: "toBuilder" final StringgetToDtoFun()Name of builder based "toDto" function for DTO classesDefault "toDto" final UnitsetToDtoFun(String toDtoFun)Name of builder based "toDto" function for DTO classesDefault "toDto" final StringgetToInputFun()Name of builder based "toInput" function for DTO input classesDefault "toInput" final UnitsetToInputFun(String toInputFun)Name of builder based "toInput" function for DTO input classesDefault "toInput" final StringgetCopyFun()Name of builder based "copy" function for DTO classesDefault: "copy" final UnitsetCopyFun(String copyFun)Name of builder based "copy" function for DTO classesDefault: "copy" -
-
Method Detail
-
getEnabled
final Boolean getEnabled()
Is DTO builders generation enabled
Default: true
-
setEnabled
final Unit setEnabled(Boolean enabled)
Is DTO builders generation enabled
Default: true
-
getPostfix
final String getPostfix()
Postfix of DTO builder classes
Default: "Builder"
-
setPostfix
final Unit setPostfix(String postfix)
Postfix of DTO builder classes
Default: "Builder"
-
getToBuilderFun
final String getToBuilderFun()
Name of DTO based "toBuilder" function for DTO classes
Default: "toBuilder"
-
setToBuilderFun
final Unit setToBuilderFun(String toBuilderFun)
Name of DTO based "toBuilder" function for DTO classes
Default: "toBuilder"
-
getToDtoFun
final String getToDtoFun()
Name of builder based "toDto" function for DTO classes
Default "toDto"
-
setToDtoFun
final Unit setToDtoFun(String toDtoFun)
Name of builder based "toDto" function for DTO classes
Default "toDto"
-
getToInputFun
final String getToInputFun()
Name of builder based "toInput" function for DTO input classes
Default "toInput"
-
setToInputFun
final Unit setToInputFun(String toInputFun)
Name of builder based "toInput" function for DTO input classes
Default "toInput"
-
getCopyFun
final String getCopyFun()
Name of builder based "copy" function for DTO classes
Default: "copy"
-
setCopyFun
final Unit setCopyFun(String copyFun)
Name of builder based "copy" function for DTO classes
Default: "copy"
-
-
-
-