ch.ralscha.extdirectspring.util
Class ParameterInfo
java.lang.Object
ch.ralscha.extdirectspring.util.ParameterInfo
public class ParameterInfo
- extends Object
Object holds information about a parameter as the name, type and the
attributes of a RequestParam annotation
- Author:
- Ralph Schaer
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ParameterInfo
public ParameterInfo(Class<?> clazz,
Method method,
int paramIndex,
Class<?> type,
String paramName,
Annotation[] paramAnnotations)
getType
public Class<?> getType()
getCollectionType
public Class<?> getCollectionType()
getName
public String getName()
isHasRequestParamAnnotation
public boolean isHasRequestParamAnnotation()
isRequired
public boolean isRequired()
getDefaultValue
public String getDefaultValue()
isSupportedParameter
public boolean isSupportedParameter()
getTypeDescriptor
public org.springframework.core.convert.TypeDescriptor getTypeDescriptor()
Copyright © 2010-2012. All Rights Reserved.