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

org.openwms.common.location.QLocation Maven / Gradle / Ivy

Go to download

Essential services on common resources like Locations, LocationGroups and TransportUnits

There is a newer version: 2.0.0
Show newest version
package org.openwms.common.location;

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

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

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


/**
 * QLocation is a Querydsl query type for Location
 */
@Generated("com.querydsl.codegen.DefaultEntitySerializer")
public class QLocation extends EntityPathBase {

    private static final long serialVersionUID = -123081168L;

    private static final PathInits INITS = PathInits.DIRECT2;

    public static final QLocation location = new QLocation("location");

    public final QTarget _super = new QTarget(this);

    protected org.openwms.common.account.QAccount account;

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

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

    public final BooleanPath consideredInAllocation = createBoolean("consideredInAllocation");

    public final BooleanPath countingActive = createBoolean("countingActive");

    //inherited
    public final DateTimePath createDt = _super.createDt;

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

    public final BooleanPath directBookingAllowed = createBoolean("directBookingAllowed");

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

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

    public final BooleanPath incomingActive = createBoolean("incomingActive");

    public final ListPath labels = this.createList("labels", String.class, StringPath.class, PathInits.DIRECT2);

    //inherited
    public final DateTimePath lastModifiedDt = _super.lastModifiedDt;

    public final DateTimePath lastMovement = createDateTime("lastMovement", java.util.Date.class);

    protected QLocationGroup locationGroup;

    public final BooleanPath locationGroupCountingActive = createBoolean("locationGroupCountingActive");

    protected QLocationPK locationId;

    protected QLocationType locationType;

    public final NumberPath maximumWeight = createNumber("maximumWeight", java.math.BigDecimal.class);

    public final SetPath messages = this.createSet("messages", Message.class, QMessage.class, PathInits.DIRECT2);

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

    //inherited
    public final NumberPath ol = _super.ol;

    public final BooleanPath outgoingActive = createBoolean("outgoingActive");

    //inherited
    public final NumberPath pk = _super.pk;

    //inherited
    public final StringPath pKey = _super.pKey;

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

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

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

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

    public QLocation(String variable) {
        this(Location.class, forVariable(variable), INITS);
    }

    public QLocation(Path path) {
        this(path.getType(), path.getMetadata(), PathInits.getFor(path.getMetadata(), INITS));
    }

    public QLocation(PathMetadata metadata) {
        this(metadata, PathInits.getFor(metadata, INITS));
    }

    public QLocation(PathMetadata metadata, PathInits inits) {
        this(Location.class, metadata, inits);
    }

    public QLocation(Class type, PathMetadata metadata, PathInits inits) {
        super(type, metadata, inits);
        this.account = inits.isInitialized("account") ? new org.openwms.common.account.QAccount(forProperty("account")) : null;
        this.locationGroup = inits.isInitialized("locationGroup") ? new QLocationGroup(forProperty("locationGroup"), inits.get("locationGroup")) : null;
        this.locationId = inits.isInitialized("locationId") ? new QLocationPK(forProperty("locationId")) : null;
        this.locationType = inits.isInitialized("locationType") ? new QLocationType(forProperty("locationType")) : null;
    }

    public org.openwms.common.account.QAccount account() {
        if (account == null) {
            account = new org.openwms.common.account.QAccount(forProperty("account"));
        }
        return account;
    }

    public StringPath labels(int index) {
        return labels.get(index);
    }

    public StringPath labels(com.querydsl.core.types.Expression index) {
        return labels.get(index);
    }

    public QLocationGroup locationGroup() {
        if (locationGroup == null) {
            locationGroup = new QLocationGroup(forProperty("locationGroup"));
        }
        return locationGroup;
    }

    public QLocationPK locationId() {
        if (locationId == null) {
            locationId = new QLocationPK(forProperty("locationId"));
        }
        return locationId;
    }

    public QLocationType locationType() {
        if (locationType == null) {
            locationType = new QLocationType(forProperty("locationType"));
        }
        return locationType;
    }

}





© 2015 - 2025 Weber Informatics LLC | Privacy Policy