org.dftproject.genesis.core.data.nodes
Class ExactExpression

java.lang.Object
  extended by org.dftproject.genesis.core.data.nodes.ExactExpression
All Implemented Interfaces:
IExpression

public class ExactExpression
extends java.lang.Object
implements IExpression

An expression which requires the object to match exactly.


Field Summary
 INode object
          The object to match.
 
Constructor Summary
ExactExpression(INode object)
          Creates an expression that matches the given object exactly.
 
Method Summary
 java.lang.String getSQL(DataConnection conn, java.lang.String table)
          Returns the SQL fragment this expression represents.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

object

public INode object
The object to match.

Constructor Detail

ExactExpression

public ExactExpression(INode object)
Creates an expression that matches the given object exactly.

Parameters:
object - the object
Method Detail

getSQL

public java.lang.String getSQL(DataConnection conn,
                               java.lang.String table)
Description copied from interface: IExpression
Returns the SQL fragment this expression represents.

Specified by:
getSQL in interface IExpression
Parameters:
conn - a data connection
table - alias of the table this expression uses
Returns:
SQL fragment