org.apache.openjpa.kernel.exps
Interface Literal

All Superinterfaces:
Constant, Value
All Known Implementing Classes:
Lit

public interface Literal
extends Value, Constant

Interface for any literal value.

Author:
Abe White

Field Summary
static int TYPE_BOOLEAN
           
static int TYPE_NUMBER
           
static int TYPE_SQ_STRING
           
static int TYPE_STRING
           
static int TYPE_UNKNOWN
           
 
Method Summary
 int getParseType()
          The type the literal was parsed as.
 Object getValue()
          The value of this literal.
 void setValue(Object val)
          The value of this literal.
 
Methods inherited from interface org.apache.openjpa.kernel.exps.Value
acceptVisit, getMetaData, getType, isAggregate, isVariable, isXPath, setImplicitType, setMetaData
 
Methods inherited from interface org.apache.openjpa.kernel.exps.Constant
getValue
 

Field Detail

TYPE_UNKNOWN

static final int TYPE_UNKNOWN
See Also:
Constant Field Values

TYPE_NUMBER

static final int TYPE_NUMBER
See Also:
Constant Field Values

TYPE_BOOLEAN

static final int TYPE_BOOLEAN
See Also:
Constant Field Values

TYPE_STRING

static final int TYPE_STRING
See Also:
Constant Field Values

TYPE_SQ_STRING

static final int TYPE_SQ_STRING
See Also:
Constant Field Values
Method Detail

getValue

Object getValue()
The value of this literal.


setValue

void setValue(Object val)
The value of this literal.


getParseType

int getParseType()
The type the literal was parsed as.



Copyright © 2006-2007 Apache Software Foundation. All Rights Reserved.