org.gibello.zql
Class ZConstant

java.lang.Object
  extended by org.gibello.zql.ZConstant
All Implemented Interfaces:
java.io.Serializable, ZExp

public class ZConstant
extends java.lang.Object
implements ZExp

ZConstant: a representation of SQL constants

See Also:
Serialized Form

Field Summary
static int COLUMNNAME
           
static int NULL
           
static int NUMBER
           
static int STRING
           
static int UNKNOWN
          ZConstant types
 
Constructor Summary
ZConstant(java.lang.String v, int typ)
          Create a new constant, given its name and type.
 
Method Summary
 int getType()
           
 java.lang.String getValue()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

UNKNOWN

public static final int UNKNOWN
ZConstant types

See Also:
Constant Field Values

COLUMNNAME

public static final int COLUMNNAME
See Also:
Constant Field Values

NULL

public static final int NULL
See Also:
Constant Field Values

NUMBER

public static final int NUMBER
See Also:
Constant Field Values

STRING

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

ZConstant

public ZConstant(java.lang.String v,
                 int typ)
Create a new constant, given its name and type.

Method Detail

getValue

public java.lang.String getValue()

getType

public int getType()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object