ch.ralscha.extdirectspring.util
Class ParameterInfo

java.lang.Object
  extended by 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)
           
 
Method Summary
 java.lang.Class<?> getCollectionType()
           
 java.lang.String getDefaultValue()
           
 java.lang.String getName()
           
 java.lang.Class<?> getType()
           
 org.springframework.core.convert.TypeDescriptor getTypeDescriptor()
           
 boolean isHasRequestParamAnnotation()
           
 boolean isRequired()
           
 boolean isSupportedParameter()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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)
Method Detail

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.