railo.runtime.tag
Class ProcParamBean

java.lang.Object
  extended by railo.runtime.tag.ProcParamBean
All Implemented Interfaces:
SQLItem

public class ProcParamBean
extends Object
implements SQLItem


Field Summary
static int DIRECTION_IN
           
static int DIRECTION_INOUT
           
static int DIRECTION_OUT
           
 
Constructor Summary
ProcParamBean()
           
 
Method Summary
 SQLItem clone(Object object)
           
 int getDirection()
           
 int getIndex()
           
 int getMaxLength()
           
 boolean getNull()
           
 int getScale()
           
 int getType()
           
 Object getValue()
           
 Object getValueForCF()
           
 String getVariable()
           
 boolean isNulls()
           
 boolean isValueSet()
           
 void setDirection(int direction)
           
 void setIndex(int index)
           
 void setMaxLength(int maxLength)
           
 void setNull(boolean _null)
           
 void setNulls(boolean nulls)
           
 void setScale(int scale)
           
 void setType(int sqlType)
           
 void setValue(Object value)
           
 void setVariable(String variable)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DIRECTION_IN

public static final int DIRECTION_IN
See Also:
Constant Field Values

DIRECTION_OUT

public static final int DIRECTION_OUT
See Also:
Constant Field Values

DIRECTION_INOUT

public static final int DIRECTION_INOUT
See Also:
Constant Field Values
Constructor Detail

ProcParamBean

public ProcParamBean()
Method Detail

getType

public int getType()
Specified by:
getType in interface SQLItem
Returns:
Returns the cfsqltype.

setType

public void setType(int sqlType)
Specified by:
setType in interface SQLItem
Parameters:
cfsqltype - The cfsqltype to set.

getNull

public boolean getNull()
Returns:
Returns the ignoreNull.

setNull

public void setNull(boolean _null)
Parameters:
ignoreNull - The ignoreNull to set.

getMaxLength

public int getMaxLength()
Returns:
Returns the maxLength.

setMaxLength

public void setMaxLength(int maxLength)
Parameters:
maxLength - The maxLength to set.

getScale

public int getScale()
Specified by:
getScale in interface SQLItem
Returns:
Returns the scale.

setScale

public void setScale(int scale)
Specified by:
setScale in interface SQLItem
Parameters:
scale - The scale to set.

getDirection

public int getDirection()
Returns:
Returns the type.

setDirection

public void setDirection(int direction)
Parameters:
type - The type to set.

getValue

public Object getValue()
Specified by:
getValue in interface SQLItem
Returns:
Returns the value.

setValue

public void setValue(Object value)
Specified by:
setValue in interface SQLItem
Parameters:
value - The value to set.

getVariable

public String getVariable()
Returns:
Returns the variable.

setVariable

public void setVariable(String variable)
Parameters:
variable - The variable to set.

getIndex

public int getIndex()
Returns:
Returns the index.

setIndex

public void setIndex(int index)
Parameters:
index - The index to set.

clone

public SQLItem clone(Object object)
Specified by:
clone in interface SQLItem
Returns:
cloned SQL Item

getValueForCF

public Object getValueForCF()
                     throws PageException
Specified by:
getValueForCF in interface SQLItem
Returns:
CF combatible Type
Throws:
PageException

isNulls

public boolean isNulls()
Specified by:
isNulls in interface SQLItem
Returns:
Returns the nulls.

isValueSet

public boolean isValueSet()
Specified by:
isValueSet in interface SQLItem
Returns:
Returns the isValueSet.

setNulls

public void setNulls(boolean nulls)
Specified by:
setNulls in interface SQLItem
Parameters:
nulls - The nulls to set.


Copyright © 2012 Railo