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