Class ComponentBuilderFactory

    • Constructor Detail

      • ComponentBuilderFactory

        protected ComponentBuilderFactory()
        Instantiates a new Component builder factory.
    • Method Detail

      • createComponentBuilder

        public static ComponentBuilder<?> createComponentBuilder​(ComponentDescriptor descriptor,
                                                                 Uniqueness ownerUniqueness,
                                                                 BeneratorContext context)
        Create component builder component builder.
        Parameters:
        descriptor - the descriptor
        ownerUniqueness - the owner uniqueness
        context - the context
        Returns:
        the component builder
      • createScriptBuilder

        protected static ComponentBuilder<?> createScriptBuilder​(ComponentDescriptor component,
                                                                 BeneratorContext context)
        Create script builder component builder.
        Parameters:
        component - the component
        context - the context
        Returns:
        the component builder
      • 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
        Parameters:
        selector - the selector
        Returns:
        the boolean