org.databene.benerator.script
Class ParametrizedConstruction<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.ParametrizedConstruction<E>
All Implemented Interfaces:
Expression<E>

public class ParametrizedConstruction<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
ParametrizedConstruction(java.lang.String className, Expression<?>[] argumentExpressions)
           
 
Method Summary
 boolean classExists(Context context)
           
 E evaluate(Context context)
           
 
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, toString, wait, wait, wait
 

Constructor Detail

ParametrizedConstruction

public ParametrizedConstruction(java.lang.String className,
                                Expression<?>[] argumentExpressions)
Method Detail

evaluate

public E evaluate(Context context)

classExists

public boolean classExists(Context context)


Copyright © 2010. All Rights Reserved.