org.databene.benerator.script
Class ParameterizedConstruction<E>

java.lang.Object
  extended by org.databene.commons.expression.DynamicExpression<E>
      extended by org.databene.benerator.script.Construction<E>
          extended by org.databene.benerator.script.ParameterizedConstruction<E>
All Implemented Interfaces:
org.databene.commons.Expression<E>

public class ParameterizedConstruction<E>
extends Construction<E>

Expression implementation that instantiates a Java object by constructor invocation.

Created at 06.10.2009 11:48:59

Since:
0.6.0
Author:
Volker Bergmann

Field Summary
 
Fields inherited from class org.databene.benerator.script.Construction
className
 
Constructor Summary
ParameterizedConstruction(java.lang.String className, org.databene.commons.Expression<?>[] argumentExpressions)
           
 
Method Summary
 boolean classExists(org.databene.commons.Context context)
           
 E evaluate(org.databene.commons.Context context)
           
 java.lang.String toString()
           
 
Methods inherited from class org.databene.benerator.script.Construction
getClassName, getType
 
Methods inherited from class org.databene.commons.expression.DynamicExpression
isConstant
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ParameterizedConstruction

public ParameterizedConstruction(java.lang.String className,
                                 org.databene.commons.Expression<?>[] argumentExpressions)
Method Detail

evaluate

public E evaluate(org.databene.commons.Context context)

classExists

public boolean classExists(org.databene.commons.Context context)

toString

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


Copyright © 2011. All Rights Reserved.