net.sf.dewdrop.sqlml
Class Value

java.lang.Object
  extended bynet.sf.dewdrop.sqlml.SqlmlComponent
      extended bynet.sf.dewdrop.sqlml.Value

public class Value
extends SqlmlComponent


Field Summary
 
Fields inherited from class net.sf.dewdrop.sqlml.SqlmlComponent
indentLevel, logger
 
Constructor Summary
Value()
           
 
Method Summary
 Object getValue()
           
 boolean isNull()
           
 boolean isNumeric()
          Returns true if the value represented by this object can be represented as a numeric value.
static boolean isNumeric(Object value)
          Returns true if the given value can be represented as a numeric value as specified by NumberFormat.parse(String) for the default locale, false otherwise.
 void onWriteSql(Writer out, Configuration cfg)
           
 void setValue(Object value)
           
 
Methods inherited from class net.sf.dewdrop.sqlml.SqlmlComponent
equals, getIndentLevel, i18n, i18n, i18n, setIndentLevel, toSql, toSql, toSql, toString, writeSql, writeSql, writeSql
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Value

public Value()
Method Detail

getValue

public Object getValue()

setValue

public void setValue(Object value)

isNull

public boolean isNull()

isNumeric

public boolean isNumeric()
Returns true if the value represented by this object can be represented as a numeric value.

See Also:
isNumeric(Object)

isNumeric

public static boolean isNumeric(Object value)
Returns true if the given value can be represented as a numeric value as specified by NumberFormat.parse(String) for the default locale, false otherwise.

See Also:
NumberFormat.parse(String)

onWriteSql

public void onWriteSql(Writer out,
                       Configuration cfg)
Specified by:
onWriteSql in class SqlmlComponent