com.eurodyn.qlack.fuse.cm.model.QNode Maven / Gradle / Ivy
package com.eurodyn.qlack.fuse.cm.model;
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.core.types.dsl.PathInits;
/**
* QNode is a Querydsl query type for Node
*/
@Generated("com.querydsl.codegen.EntitySerializer")
public class QNode extends EntityPathBase {
private static final long serialVersionUID = -667503251L;
private static final PathInits INITS = PathInits.DIRECT2;
public static final QNode node = new QNode("node");
public final com.eurodyn.qlack.common.model.QQlackBaseModel _super = new com.eurodyn.qlack.common.model.QQlackBaseModel(this);
public final ListPath attributes = this.createList("attributes", NodeAttribute.class, QNodeAttribute.class, PathInits.DIRECT2);
public final ListPath children = this.createList("children", Node.class, QNode.class, PathInits.DIRECT2);
public final NumberPath createdOn = createNumber("createdOn", Long.class);
public final NumberPath dbversion = createNumber("dbversion", Long.class);
public final StringPath id = createString("id");
public final StringPath lockToken = createString("lockToken");
public final StringPath mimetype = createString("mimetype");
public final QNode parent;
public final NumberPath size = createNumber("size", Long.class);
public final EnumPath type = createEnum("type", com.eurodyn.qlack.fuse.cm.enums.NodeType.class);
public QNode(String variable) {
this(Node.class, forVariable(variable), INITS);
}
public QNode(Path extends Node> path) {
this(path.getType(), path.getMetadata(), PathInits.getFor(path.getMetadata(), INITS));
}
public QNode(PathMetadata metadata) {
this(metadata, PathInits.getFor(metadata, INITS));
}
public QNode(PathMetadata metadata, PathInits inits) {
this(Node.class, metadata, inits);
}
public QNode(Class extends Node> type, PathMetadata metadata, PathInits inits) {
super(type, metadata, inits);
this.parent = inits.isInitialized("parent") ? new QNode(forProperty("parent"), inits.get("parent")) : null;
}
}