de.unidu.is.pdatalog.ds
Class LiteralExpression

java.lang.Object
  extended byde.unidu.is.expressions.AbstractExpression
      extended byde.unidu.is.pdatalog.ds.LiteralExpression
All Implemented Interfaces:
Expression

public class LiteralExpression
extends AbstractExpression

An expression holding a literal, used for aggregation operators.

Version:
$Revision: 1.6 $, $Date: 2005/02/28 22:27:55 $
Author:
Henrik Nottelmann

Field Summary
protected  Literal literal
          The literal.
 
Constructor Summary
LiteralExpression(Literal literal)
          Creates a new object.
 
Method Summary
 Literal getLiteral()
          Returns the literal.
 java.lang.String toString()
           
 
Methods inherited from class de.unidu.is.expressions.AbstractExpression
getSQLTemplate, substitute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

literal

protected Literal literal
The literal.

Constructor Detail

LiteralExpression

public LiteralExpression(Literal literal)
Creates a new object.

Parameters:
literal - literal to be used
Method Detail

getLiteral

public Literal getLiteral()
Returns the literal.

Returns:
literal

toString

public java.lang.String toString()