railo.runtime.db
Class SQLItemImpl

java.lang.Object
  extended by railo.runtime.db.SQLItemImpl
All Implemented Interfaces:
Serializable, SQLItem, Sizeable

public final class SQLItemImpl
extends Object
implements SQLItem, Serializable, Sizeable

See Also:
Serialized Form

Constructor Summary
SQLItemImpl()
          constructor of the class
SQLItemImpl(Object value)
          constructor of the class
SQLItemImpl(Object value, int type)
          constructor of the class
 
Method Summary
 SQLItem clone(Object object)
           
 SQLItem duplicate()
           
static SQLItem duplicate(SQLItem item)
           
 int getScale()
           
 int getType()
           
 Object getValue()
           
 Object getValueForCF()
           
 boolean isNulls()
           
 boolean isValueSet()
           
 void setNulls(boolean nulls)
           
 void setScale(int scale)
           
 void setType(int type)
           
 void setValue(Object value)
           
 long sizeOf()
          return the size of the object
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SQLItemImpl

public SQLItemImpl()
constructor of the class


SQLItemImpl

public SQLItemImpl(Object value)
constructor of the class

Parameters:
value -

SQLItemImpl

public SQLItemImpl(Object value,
                   int type)
constructor of the class

Parameters:
value -
Method Detail

isNulls

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

setNulls

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

getScale

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

setScale

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

getValue

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

setValue

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

getType

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

setType

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

clone

public SQLItem clone(Object object)
Specified by:
clone in interface SQLItem
Returns:
cloned SQL Item
See Also:
SQLItem.clone(java.lang.Object)

getValueForCF

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

isValueSet

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

toString

public String toString()
Overrides:
toString in class Object

sizeOf

public long sizeOf()
Description copied from interface: Sizeable
return the size of the object

Specified by:
sizeOf in interface Sizeable
Returns:
size of the object

duplicate

public static SQLItem duplicate(SQLItem item)

duplicate

public SQLItem duplicate()


Copyright © 2012 Railo