org.datanucleus.store.rdbms.sql.expression
Interface SQLLiteral

All Known Implementing Classes:
ArrayLiteral, BooleanLiteral, ByteLiteral, CharacterLiteral, CollectionLiteral, EnumLiteral, FloatingPointLiteral, IntegerLiteral, MapLiteral, MapLiteral.MapKeyLiteral, MapLiteral.MapValueLiteral, NullLiteral, ObjectLiteral, ParameterLiteral, StringLiteral, TemporalLiteral

public interface SQLLiteral

Representation of an SQL Literal in a query.


Method Summary
 java.lang.Object getValue()
          Accessor to the literal value
 void setNotParameter()
          Method to set this literal as not being a parameter.
 

Method Detail

getValue

java.lang.Object getValue()
Accessor to the literal value

Returns:
the value of the literal

setNotParameter

void setNotParameter()
Method to set this literal as not being a parameter. If the literal if not currently a parameter then does nothing. Updates any underlying SQL to have the value.



Copyright © 2009. All Rights Reserved.