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

win.doyto.query.test.user.UserLevelQuery Maven / Gradle / Ivy

// 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.user;

import win.doyto.query.core.AggregationQuery;
import win.doyto.query.core.PageQuery;

/**
 * UserLevelQuery
 *
 * @author f0rb on 2022-03-26
 */
public class UserLevelQuery extends PageQuery implements AggregationQuery {
    private UserLevelHaving having;
    private Boolean valid;


    @java.lang.SuppressWarnings("all")
    @lombok.Generated
    public static abstract class UserLevelQueryBuilder> extends PageQuery.PageQueryBuilder {
        @java.lang.SuppressWarnings("all")
        @lombok.Generated
        private UserLevelHaving having;
        @java.lang.SuppressWarnings("all")
        @lombok.Generated
        private Boolean valid;

        @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 having(final UserLevelHaving having) {
            this.having = having;
            return self();
        }

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

        @java.lang.Override
        @java.lang.SuppressWarnings("all")
        @lombok.Generated
        public java.lang.String toString() {
            return "UserLevelQuery.UserLevelQueryBuilder(super=" + super.toString() + ", having=" + this.having + ", valid=" + this.valid + ")";
        }
    }


    @java.lang.SuppressWarnings("all")
    @lombok.Generated
    private static final class UserLevelQueryBuilderImpl extends UserLevelQuery.UserLevelQueryBuilder {
        @java.lang.SuppressWarnings("all")
        @lombok.Generated
        private UserLevelQueryBuilderImpl() {
        }

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

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

    @java.lang.SuppressWarnings("all")
    @lombok.Generated
    protected UserLevelQuery(final UserLevelQuery.UserLevelQueryBuilder b) {
        super(b);
        this.having = b.having;
        this.valid = b.valid;
    }

    @java.lang.SuppressWarnings("all")
    @lombok.Generated
    public static UserLevelQuery.UserLevelQueryBuilder builder() {
        return new UserLevelQuery.UserLevelQueryBuilderImpl();
    }

    @java.lang.SuppressWarnings("all")
    @lombok.Generated
    public UserLevelHaving getHaving() {
        return this.having;
    }

    @java.lang.SuppressWarnings("all")
    @lombok.Generated
    public Boolean getValid() {
        return this.valid;
    }

    @java.lang.SuppressWarnings("all")
    @lombok.Generated
    public void setHaving(final UserLevelHaving having) {
        this.having = having;
    }

    @java.lang.SuppressWarnings("all")
    @lombok.Generated
    public void setValid(final Boolean valid) {
        this.valid = valid;
    }

    @java.lang.SuppressWarnings("all")
    @lombok.Generated
    public UserLevelQuery(final UserLevelHaving having, final Boolean valid) {
        this.having = having;
        this.valid = valid;
    }

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy