src/main/java/org/docksidestage/derby/dbflute/cbean/cq/bs/AbstractBsProductCategoryCQ.java
/**
     * Set up ExistsReferrer (correlated sub-query). <br>
     * {exists (select PARENT_CATEGORY_CODE from PRODUCT_CATEGORY where ...)} <br>
     * PRODUCT_CATEGORY by PARENT_CATEGORY_CODE, named 'productCategorySelfAsOne'.
     * <pre>
     * cb.query().<span style="color: #CC4747">existsProductCategorySelf</span>(categoryCB <span style="color: #90226C; font-weight: bold"><span style="font-size: 120%">-</span>&gt;</span> {
     *     categoryCB.query().set...
     * });
     * </pre>
     * @param subCBLambda The callback for sub-query of ProductCategorySelfList for 'exists'. (NotNull)
     */
Set up ExistsReferrer (correlated sub-query).
Set up ExistsReferrer ( correlated sub - query ) .
public void existsProductCategorySelf(SubQuery<ProductCategoryCB> subCBLambda) {
        assertObjectNotNull("subCBLambda", subCBLambda);
        ProductCategoryCB cb = new ProductCategoryCB(); cb.xsetupForExistsReferrer(this);
        lockCall(() -> subCBLambda.query(cb)); String pp = keepProductCategoryCode_ExistsReferrer_ProductCategorySelfList(cb.query());
        registerExistsReferrer(cb.query(), "PRODUCT_CATEGORY_CODE", "PARENT_CATEGORY_CODE", pp, "productCategorySelfList");
    }
public void existsProductCategorySelf ( SubQuery < ProductCategoryCB > subCBLambda ) { assertObjectNotNull ( "subCBLambda" , subCBLambda ) ; ProductCategoryCB cb = new ProductCategoryCB ( ) ; cb . xsetupForExistsReferrer ( this ) ; lockCall ( ( ) -> subCBLambda . query ( cb ) ) ; String pp = keepProductCategoryCode_ExistsReferrer_ProductCategorySelfList ( cb . query ( ) ) ; registerExistsReferrer ( cb . query ( ) , "PRODUCT_CATEGORY_CODE" , "PARENT_CATEGORY_CODE" , pp , "productCategorySelfList" ) ; }
Set up ExistsReferrer (correlated sub-query).
Set up ExistsReferrer ( correlated sub - query ) .