|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.databene.benerator.composite.ComponentBuilderProxy<E>
org.databene.benerator.composite.ConditionalComponentBuilder<E>
public class ConditionalComponentBuilder<E>
ComponentBuilder which executes only if a condition expression evaluates to 'true'.
Created: 11.10.2010 11:15:14
| Field Summary |
|---|
| Fields inherited from class org.databene.benerator.composite.ComponentBuilderProxy |
|---|
context, source |
| Constructor Summary | |
|---|---|
ConditionalComponentBuilder(ComponentBuilder<E> source,
org.databene.commons.Expression<java.lang.Boolean> condition)
|
|
| Method Summary | |
|---|---|
boolean |
buildComponentFor(E target)
builds the related component of target |
| Methods inherited from class org.databene.benerator.composite.ComponentBuilderProxy |
|---|
close, getGeneratedType, init, isParallelizable, isThreadSafe, reset |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConditionalComponentBuilder(ComponentBuilder<E> source,
org.databene.commons.Expression<java.lang.Boolean> condition)
| Method Detail |
|---|
public boolean buildComponentFor(E target)
ComponentBuildertarget
buildComponentFor in interface ComponentBuilder<E>buildComponentFor in class ComponentBuilderProxy<E>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||