public class PropertyValidatorInformation
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
class |
PropertyValidatorInformation.NumberValidator
Wraps information on
NumberValidator |
class |
PropertyValidatorInformation.StringValidator
Wraps information on
StringValidator |
Constructor and Description |
---|
PropertyValidatorInformation(PosoFieldDescriptor field,
DtoAnnotationProcessor dtoAnnotationProcessor)
Process the annotation and store information in member variables.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.String> |
getCustomValidators() |
PropertyValidatorInformation.NumberValidator |
getNumberValidator() |
PropertyValidatorInformation.StringValidator |
getStringValidator() |
javax.lang.model.type.DeclaredType |
getTypeForTypeCheck() |
java.lang.String |
getValidatorMethodName() |
boolean |
hasTypeCheck() |
boolean |
isBypass() |
boolean |
isIgnoreOnFailure() |
public PropertyValidatorInformation(PosoFieldDescriptor field, DtoAnnotationProcessor dtoAnnotationProcessor)
field
- dtoAnnotationProcessor
- public boolean isBypass()
public java.lang.String getValidatorMethodName()
public boolean isIgnoreOnFailure()
public boolean hasTypeCheck()
public javax.lang.model.type.DeclaredType getTypeForTypeCheck()
public PropertyValidatorInformation.StringValidator getStringValidator()
public PropertyValidatorInformation.NumberValidator getNumberValidator()
public java.util.List<java.lang.String> getCustomValidators()