Class ValidationMethodBuilder
-
- All Implemented Interfaces:
-
pl.metaprogramming.codegen.java.base.IMethodCmBuilder
public final class ValidationMethodBuilder extends BaseMethodCmBuilder<ObjectType>
-
-
Field Summary
Fields Modifier and Type Field Description private ClassNameFormatterclassNameFormatterprivate final CodeBuffercodeBufprivate final JavaNameMappernameMapperprivate final Dependenciesdependenciesprivate final CodegenParamsparamsprivate BuildContext<?>contextprivate ClassCmclassCmprivate final MethodCmmethodCmprivate final ObjectTypemodel
-
Constructor Summary
Constructors Constructor Description ValidationMethodBuilder(ObjectType objectType, ClassCm dtoClass, TypeOfCode<?> validatorTypeOfCode, TypeOfCode<?> enumTypeOfCode, Boolean addDataTypeValidations, Operation operationModel)
-
Method Summary
Modifier and Type Method Description MethodCmmakeDeclaration()StringmakeImplBody()-
Methods inherited from class pl.metaprogramming.codegen.java.base.BaseMethodCmBuilder
addVarDeclaration, addVarDeclaration, callComponent, classLocator, componentRef, componentRef, getClass, getClass, getClassNameFormatter, getCodeBuf, getDependencies, getNameMapper, getParams, getter, injectDependency, injectDependency, makeImplementation, mapping, mapping, ofNullable, setClassNameFormatter -
Methods inherited from class pl.metaprogramming.codegen.java.base.MethodCmBuilder
getClassCm, getContext, getMethodCm, getModel, make, makeDeclaration, newMethodCm, newMethodCm, setClassCm, setContext -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
ValidationMethodBuilder
ValidationMethodBuilder(ObjectType objectType, ClassCm dtoClass, TypeOfCode<?> validatorTypeOfCode, TypeOfCode<?> enumTypeOfCode, Boolean addDataTypeValidations, Operation operationModel)
-
-
Method Detail
-
makeDeclaration
MethodCm makeDeclaration()
-
makeImplBody
String makeImplBody()
-
-
-
-