Class ValidationAnnotationGenerator
java.lang.Object
com.github.muehmar.gradle.openapi.generator.java.generator.shared.validation.ValidationAnnotationGenerator
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> io.github.muehmar.codegenerator.Generator<T,PojoSettings> assertFalse(Function<T, String> message) static <T> io.github.muehmar.codegenerator.Generator<T,PojoSettings> assertTrue(Function<T, String> message) static io.github.muehmar.codegenerator.Generator<Constraints,PojoSettings> static io.github.muehmar.codegenerator.Generator<Constraints,PojoSettings> static <T> io.github.muehmar.codegenerator.Generator<T,PojoSettings> static <T> io.github.muehmar.codegenerator.Generator<T,PojoSettings> notNullAnnotation(Class<T> clazz) static io.github.muehmar.codegenerator.Generator<JavaPojoMember,PojoSettings> static <T> io.github.muehmar.codegenerator.Generator<T,PojoSettings> static io.github.muehmar.codegenerator.Generator<JavaType,PojoSettings> static io.github.muehmar.codegenerator.Generator<JavaPojoMember,PojoSettings> static io.github.muehmar.codegenerator.Generator<ValidationAnnotationGenerator.PropertyType,PojoSettings>
-
Method Details
-
assertTrue
public static <T> io.github.muehmar.codegenerator.Generator<T,PojoSettings> assertTrue(Function<T, String> message) -
assertFalse
public static <T> io.github.muehmar.codegenerator.Generator<T,PojoSettings> assertFalse(Function<T, String> message) -
validationAnnotationsForMember
public static io.github.muehmar.codegenerator.Generator<JavaPojoMember,PojoSettings> validationAnnotationsForMember() -
validationAnnotationsForPropertyType
public static io.github.muehmar.codegenerator.Generator<ValidationAnnotationGenerator.PropertyType,PojoSettings> validationAnnotationsForPropertyType() -
validAnnotation
-
validAnnotationForType
public static io.github.muehmar.codegenerator.Generator<JavaType,PojoSettings> validAnnotationForType() -
notNullAnnotationForMember
public static io.github.muehmar.codegenerator.Generator<JavaPojoMember,PojoSettings> notNullAnnotationForMember() -
notNullAnnotation
public static <T> io.github.muehmar.codegenerator.Generator<T,PojoSettings> notNullAnnotation(Class<T> clazz) -
notNullAnnotation
-
minAnnotationForPropertyCount
public static io.github.muehmar.codegenerator.Generator<Constraints,PojoSettings> minAnnotationForPropertyCount() -
maxAnnotationForPropertyCount
public static io.github.muehmar.codegenerator.Generator<Constraints,PojoSettings> maxAnnotationForPropertyCount()
-