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

brainslug.jpa.table.QFlowInstance Maven / Gradle / Ivy

package brainslug.jpa.table;

import static com.mysema.query.types.PathMetadataFactory.*;

import com.mysema.query.types.path.*;

import com.mysema.query.types.PathMetadata;
import javax.annotation.Generated;
import com.mysema.query.types.Path;

import com.mysema.query.sql.ColumnMetadata;
import java.sql.Types;




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

    private static final long serialVersionUID = -1992847916;

    public static final QFlowInstance flowInstance = new QFlowInstance("FLOW_INSTANCE");

    public final NumberPath created = createNumber("created", Long.class);

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

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

    public final NumberPath version = createNumber("version", Long.class);

    public final com.mysema.query.sql.PrimaryKey constraintC = createPrimaryKey(id);

    public final com.mysema.query.sql.ForeignKey _constraint80 = createInvForeignKey(id, "FLOW_INSTANCE_ID");

    public final com.mysema.query.sql.ForeignKey _constraintA9 = createInvForeignKey(id, "INSTANCE_ID");

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

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

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

    public QFlowInstance(PathMetadata metadata) {
        super(QFlowInstance.class, metadata, "PUBLIC", "FLOW_INSTANCE");
        addMetadata();
    }

    public void addMetadata() {
        addMetadata(created, ColumnMetadata.named("CREATED").withIndex(3).ofType(Types.BIGINT).withSize(19).notNull());
        addMetadata(definitionId, ColumnMetadata.named("DEFINITION_ID").withIndex(2).ofType(Types.VARCHAR).withSize(40).notNull());
        addMetadata(id, ColumnMetadata.named("ID").withIndex(1).ofType(Types.VARCHAR).withSize(40).notNull());
        addMetadata(version, ColumnMetadata.named("VERSION").withIndex(4).ofType(Types.BIGINT).withSize(19).notNull());
    }

}





© 2015 - 2025 Weber Informatics LLC | Privacy Policy