ch.ralscha.extdirectspring.util
Class ParameterInfo

java.lang.Object
  extended by 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

Constructor Summary
ParameterInfo()
           
 
Method Summary
 Class<?> getCollectionType()
           
 String getDefaultValue()
           
 String getName()
           
 Class<?> getType()
           
 boolean isHasRequestParamAnnotation()
           
 boolean isRequired()
           
 boolean isSupportedParameter()
           
 void setCollectionType(Class<?> collectionType)
           
 void setDefaultValue(String defaultValue)
           
 void setHasRequestParamAnnotation(boolean hasRequestParamAnnotation)
           
 void setName(String name)
           
 void setRequired(boolean required)
           
 void setSupportedParameter(boolean supportedParameter)
           
 void setType(Class<?> type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParameterInfo

public ParameterInfo()
Method Detail

getType

public Class<?> getType()

setType

public void setType(Class<?> type)

getCollectionType

public Class<?> getCollectionType()

setCollectionType

public void setCollectionType(Class<?> collectionType)

getName

public String getName()

setName

public void setName(String name)

isHasRequestParamAnnotation

public boolean isHasRequestParamAnnotation()

setHasRequestParamAnnotation

public void setHasRequestParamAnnotation(boolean hasRequestParamAnnotation)

isRequired

public boolean isRequired()

setRequired

public void setRequired(boolean required)

getDefaultValue

public String getDefaultValue()

setDefaultValue

public void setDefaultValue(String defaultValue)

isSupportedParameter

public boolean isSupportedParameter()

setSupportedParameter

public void setSupportedParameter(boolean supportedParameter)


Copyright © 2010-2011. All Rights Reserved.