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

com.serphacker.serposcope.querybuilder.QGroup Maven / Gradle / Ivy

The newest version!
package com.serphacker.serposcope.querybuilder;

import static com.querydsl.core.types.PathMetadataFactory.*;

import com.querydsl.core.types.dsl.*;

import com.querydsl.core.types.PathMetadata;
import javax.annotation.Generated;
import com.querydsl.core.types.Path;

import com.querydsl.sql.ColumnMetadata;
import java.sql.Types;




/**
 * QGroup is a Querydsl query type for QGroup
 */
@Generated("com.querydsl.sql.codegen.MetaDataSerializer")
public class QGroup extends com.querydsl.sql.RelationalPathBase {

    private static final long serialVersionUID = -2102428365;

    public static final QGroup group = new QGroup("GROUP");

    public final NumberPath id = createNumber("id", Integer.class);

    public final NumberPath moduleId = createNumber("moduleId", Integer.class);

    public final StringPath name = createString("name");

    public final com.querydsl.sql.PrimaryKey constraint4 = createPrimaryKey(id);

    public final com.querydsl.sql.ForeignKey _constraint6e222 = createInvForeignKey(id, "GROUP_ID");

    public final com.querydsl.sql.ForeignKey _constraint719 = createInvForeignKey(id, "GROUP_ID");

    public final com.querydsl.sql.ForeignKey _constraintC62 = createInvForeignKey(id, "GROUP_ID");

    public final com.querydsl.sql.ForeignKey _constraint41d = createInvForeignKey(id, "GROUP_ID");

    public final com.querydsl.sql.ForeignKey _constraint3f = createInvForeignKey(id, "GROUP_ID");

    public final com.querydsl.sql.ForeignKey _constraintB7 = createInvForeignKey(id, "GROUP_ID");

    public final com.querydsl.sql.ForeignKey _constraint135 = createInvForeignKey(id, "GROUP_ID");

    public QGroup(String variable) {
        super(QGroup.class, forVariable(variable), "PUBLIC", "GROUP");
        addMetadata();
    }

    public QGroup(String variable, String schema, String table) {
        super(QGroup.class, forVariable(variable), schema, table);
        addMetadata();
    }

    public QGroup(String variable, String schema) {
        super(QGroup.class, forVariable(variable), schema, "GROUP");
        addMetadata();
    }

    public QGroup(Path path) {
        super(path.getType(), path.getMetadata(), "PUBLIC", "GROUP");
        addMetadata();
    }

    public QGroup(PathMetadata metadata) {
        super(QGroup.class, metadata, "PUBLIC", "GROUP");
        addMetadata();
    }

    public void addMetadata() {
        addMetadata(id, ColumnMetadata.named("ID").withIndex(1).ofType(Types.INTEGER).withSize(10).notNull());
        addMetadata(moduleId, ColumnMetadata.named("MODULE_ID").withIndex(2).ofType(Types.INTEGER).withSize(10));
        addMetadata(name, ColumnMetadata.named("NAME").withIndex(3).ofType(Types.VARCHAR).withSize(255));
    }

}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy