All Downloads are FREE. Search and download functionalities are using the official Maven repository.

win.doyto.query.test.menu.MenuViewQuery Maven / Gradle / Ivy

There is a newer version: 2.1.0
Show newest version
// Generated by delombok at Sat Jan 27 04:38:03 UTC 2024
/*
 * Copyright © 2019-2024 Forb Yuan
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package win.doyto.query.test.menu;

import win.doyto.query.core.RelationalQuery;

/**
 * MenuViewQuery
 *
 * @author f0rb on 2022/11/23
 * @since 1.0.0
 */
public class MenuViewQuery extends MenuQuery implements RelationalQuery {
    private MenuQuery withParent;
    private MenuQuery withChildren;

    @Override
    public Class getDomainClass() {
        return MenuView.class;
    }


    @java.lang.SuppressWarnings("all")
    @lombok.Generated
    public static abstract class MenuViewQueryBuilder> extends MenuQuery.MenuQueryBuilder {
        @java.lang.SuppressWarnings("all")
        @lombok.Generated
        private MenuQuery withParent;
        @java.lang.SuppressWarnings("all")
        @lombok.Generated
        private MenuQuery withChildren;

        @java.lang.Override
        @java.lang.SuppressWarnings("all")
        @lombok.Generated
        protected abstract B self();

        @java.lang.Override
        @java.lang.SuppressWarnings("all")
        @lombok.Generated
        public abstract C build();

        /**
         * @return {@code this}.
         */
        @java.lang.SuppressWarnings("all")
        @lombok.Generated
        public B withParent(final MenuQuery withParent) {
            this.withParent = withParent;
            return self();
        }

        /**
         * @return {@code this}.
         */
        @java.lang.SuppressWarnings("all")
        @lombok.Generated
        public B withChildren(final MenuQuery withChildren) {
            this.withChildren = withChildren;
            return self();
        }

        @java.lang.Override
        @java.lang.SuppressWarnings("all")
        @lombok.Generated
        public java.lang.String toString() {
            return "MenuViewQuery.MenuViewQueryBuilder(super=" + super.toString() + ", withParent=" + this.withParent + ", withChildren=" + this.withChildren + ")";
        }
    }


    @java.lang.SuppressWarnings("all")
    @lombok.Generated
    private static final class MenuViewQueryBuilderImpl extends MenuViewQuery.MenuViewQueryBuilder {
        @java.lang.SuppressWarnings("all")
        @lombok.Generated
        private MenuViewQueryBuilderImpl() {
        }

        @java.lang.Override
        @java.lang.SuppressWarnings("all")
        @lombok.Generated
        protected MenuViewQuery.MenuViewQueryBuilderImpl self() {
            return this;
        }

        @java.lang.Override
        @java.lang.SuppressWarnings("all")
        @lombok.Generated
        public MenuViewQuery build() {
            return new MenuViewQuery(this);
        }
    }

    @java.lang.SuppressWarnings("all")
    @lombok.Generated
    protected MenuViewQuery(final MenuViewQuery.MenuViewQueryBuilder b) {
        super(b);
        this.withParent = b.withParent;
        this.withChildren = b.withChildren;
    }

    @java.lang.SuppressWarnings("all")
    @lombok.Generated
    public static MenuViewQuery.MenuViewQueryBuilder builder() {
        return new MenuViewQuery.MenuViewQueryBuilderImpl();
    }

    @java.lang.SuppressWarnings("all")
    @lombok.Generated
    public MenuQuery getWithParent() {
        return this.withParent;
    }

    @java.lang.SuppressWarnings("all")
    @lombok.Generated
    public MenuQuery getWithChildren() {
        return this.withChildren;
    }

    @java.lang.SuppressWarnings("all")
    @lombok.Generated
    public void setWithParent(final MenuQuery withParent) {
        this.withParent = withParent;
    }

    @java.lang.SuppressWarnings("all")
    @lombok.Generated
    public void setWithChildren(final MenuQuery withChildren) {
        this.withChildren = withChildren;
    }

    @java.lang.SuppressWarnings("all")
    @lombok.Generated
    public MenuViewQuery() {
    }

    @java.lang.SuppressWarnings("all")
    @lombok.Generated
    public MenuViewQuery(final MenuQuery withParent, final MenuQuery withChildren) {
        this.withParent = withParent;
        this.withChildren = withChildren;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy