org.databene.benerator.engine.statement
Class StatementProxy

java.lang.Object
  extended by org.databene.benerator.engine.statement.StatementProxy
All Implemented Interfaces:
java.io.Closeable, Statement
Direct Known Subclasses:
LazyStatement, TimedGeneratorStatement

public class StatementProxy
extends java.lang.Object
implements Statement, java.io.Closeable

Proxy for a Statement.

Created: 27.10.2009 16:06:04

Since:
0.6.0
Author:
Volker Bergmann

Field Summary
protected  Statement realStatement
           
 
Constructor Summary
StatementProxy(Statement realStatement)
           
 
Method Summary
 void close()
           
 boolean execute(BeneratorContext context)
           
 Statement getRealStatement(BeneratorContext context)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

realStatement

protected Statement realStatement
Constructor Detail

StatementProxy

public StatementProxy(Statement realStatement)
Method Detail

execute

public boolean execute(BeneratorContext context)
Specified by:
execute in interface Statement

getRealStatement

public Statement getRealStatement(BeneratorContext context)

close

public void close()
           throws java.io.IOException
Specified by:
close in interface java.io.Closeable
Throws:
java.io.IOException

toString

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


Copyright © 2013. All Rights Reserved.