org.databene.benerator.factory
Class ComponentBuilderFactory

java.lang.Object
  extended by org.databene.benerator.factory.InstanceGeneratorFactory
      extended by org.databene.benerator.factory.ComponentBuilderFactory

public class ComponentBuilderFactory
extends InstanceGeneratorFactory

Creates ComponentBuilders.

Created: 14.10.2007 22:16:34

Author:
Volker Bergmann

Constructor Summary
protected ComponentBuilderFactory()
           
 
Method Summary
static ComponentBuilder<?> createComponentBuilder(ComponentDescriptor descriptor, Uniqueness ownerUniqueness, BeneratorContext context)
           
protected static ComponentBuilder<?> createScriptBuilder(ComponentDescriptor component, BeneratorContext context)
           
protected static boolean isIndividualSelector(java.lang.String selector)
          helper method to check for selectors of individual fields like "select x from y" or "{'select x from y where id=' + z}".
 
Methods inherited from class org.databene.benerator.factory.InstanceGeneratorFactory
createConfiguredDefaultGenerator, createNullGenerator, createSingleInstanceGenerator
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComponentBuilderFactory

protected ComponentBuilderFactory()
Method Detail

createComponentBuilder

public static ComponentBuilder<?> createComponentBuilder(ComponentDescriptor descriptor,
                                                         Uniqueness ownerUniqueness,
                                                         BeneratorContext context)

createScriptBuilder

protected static ComponentBuilder<?> createScriptBuilder(ComponentDescriptor component,
                                                         BeneratorContext context)

isIndividualSelector

protected static boolean isIndividualSelector(java.lang.String selector)
helper method to check for selectors of individual fields like "select x from y" or "{'select x from y where id=' + z}". For such selectors it returns true, otherwise false



Copyright © 2013. All Rights Reserved.