public class RequestArg extends Object
Constructor and Description |
---|
RequestArg() |
Modifier and Type | Method and Description |
---|---|
Class |
getAnnotationClass() |
Object |
getDefaultValue() |
int |
getMinLength() |
String |
getName() |
Class |
getTargetClass() |
String |
getType() |
Pattern |
getValidationPattern() |
boolean |
isAllowEmpty() |
boolean |
isEmailParam() |
boolean |
isRequired() |
RequestArg |
setAllowEmpty(boolean allowEmpty) |
void |
setAnnotationClass(Class annotationClass) |
void |
setDefaultValue(Object defaultValue) |
RequestArg |
setEmailParam(boolean emailParam) |
RequestArg |
setMinLength(int minLength) |
RequestArg |
setName(String name) |
RequestArg |
setRequired(boolean required) |
RequestArg |
setTargetClass(Class targetClass) |
RequestArg |
setType(String type) |
RequestArg |
setValidationPattern(Pattern validationPattern) |
public RequestArg()
public Class getTargetClass()
public RequestArg setTargetClass(Class targetClass)
public RequestArg setType(String type)
public RequestArg setName(String name)
public Object getDefaultValue()
public void setDefaultValue(Object defaultValue)
public Class getAnnotationClass()
public void setAnnotationClass(Class annotationClass)
public boolean isRequired()
public RequestArg setRequired(boolean required)
public Pattern getValidationPattern()
public RequestArg setValidationPattern(Pattern validationPattern)
public boolean isEmailParam()
public RequestArg setEmailParam(boolean emailParam)
public int getMinLength()
public RequestArg setMinLength(int minLength)
public boolean isAllowEmpty()
public RequestArg setAllowEmpty(boolean allowEmpty)
Copyright © 2016. All rights reserved.