Package net.sf.jkniv.whinstone
Class Param
- java.lang.Object
-
- net.sf.jkniv.whinstone.Param
-
-
Constructor Summary
Constructors Constructor Description Param()Param(Object value)Param(Object value, int index)Param(Object value, Object valueAs, String name)Param(Object value, Object valueAs, String name, int index)Param(Object value, String name)Param(Object value, String name, int index)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Param[]asArray()booleanequals(Object obj)intgetIndex()StringgetName()ObjectgetValue()ObjectgetValueAs()get the value converted when there is one, otherwise the original value.inthashCode()booleanisArray()booleanisCollection()voidsetIndex(int index)StringtoString()
-
-
-
Method Detail
-
getValue
public Object getValue()
-
getValueAs
public Object getValueAs()
get the value converted when there is one, otherwise the original value.- Returns:
- a converted value or original value.
-
getIndex
public int getIndex()
-
getName
public String getName()
-
setIndex
public void setIndex(int index)
-
asArray
public Param[] asArray()
-
isArray
public boolean isArray()
-
isCollection
public boolean isCollection()
-
-