Refine search
@SuppressWarnings("all") public QAddress(Path<? extends Address> path) { this((Class)path.getType(), path.getMetadata(), path.getMetadata().isRoot() ? INITS : PathInits.DEFAULT); }
@SuppressWarnings("all") public QEmailAddress(Path<? extends EmailAddress> path) { super((Class)path.getType(), path.getMetadata()); }
private Set<Path<?>> getRootPaths(Collection<Expression<?>> exprs) { Set<Path<?>> paths = Sets.newHashSet(); for (Expression<?> e : exprs) { Path<?> path = e.accept(PathExtractor.DEFAULT, null); if (path != null && !path.getMetadata().isRoot()) { paths.add(path.getMetadata().getRoot()); } } return paths; }
@SuppressWarnings("all") public QAddress(Path<? extends Address> path) { this((Class)path.getType(), path.getMetadata(), path.getMetadata().isRoot() ? INITS : PathInits.DEFAULT); }
@SuppressWarnings("all") public QProduct(Path<? extends Product> path) { super((Class)path.getType(), path.getMetadata()); }
@Override public Set<RelationalPath<?>> visit(Path<?> expr, Set<RelationalPath<?>> known) { if (expr.getMetadata().isRoot()) { if (expr instanceof RelationalPath) { known = add(known, (RelationalPath<?>)expr); } } else { known = expr.getMetadata().getParent().accept(this, known); } return known; }
@SuppressWarnings("all") public QCustomer(Path<? extends Customer> path) { this((Class)path.getType(), path.getMetadata(), path.getMetadata().isRoot() ? INITS : PathInits.DEFAULT); }
@SuppressWarnings("all") public QProduct(Path<? extends Product> path) { super((Class)path.getType(), path.getMetadata()); }
@SuppressWarnings("all") public QLineItem(Path<? extends LineItem> path) { this((Class)path.getType(), path.getMetadata(), path.getMetadata().isRoot() ? INITS : PathInits.DEFAULT); }
@SuppressWarnings("all") public QAbstractDocument(Path<? extends AbstractDocument> path) { super((Class)path.getType(), path.getMetadata()); }
@SuppressWarnings("all") public QCustomer(Path<? extends Customer> path) { this((Class)path.getType(), path.getMetadata(), path.getMetadata().isRoot() ? INITS : PathInits.DEFAULT); }
@SuppressWarnings("all") public QProduct(Path<? extends Product> path) { super((Class)path.getType(), path.getMetadata()); }
@SuppressWarnings("all") public QOrder(Path<? extends Order> path) { this((Class)path.getType(), path.getMetadata(), path.getMetadata().isRoot() ? INITS : PathInits.DEFAULT); }
@SuppressWarnings("all") public QEmailAddress(Path<? extends EmailAddress> path) { super((Class)path.getType(), path.getMetadata()); }
@SuppressWarnings("all") public QCustomer(Path<? extends Customer> path) { this((Class)path.getType(), path.getMetadata(), path.getMetadata().isRoot() ? INITS : PathInits.DEFAULT); }
@SuppressWarnings("all") public QAbstractEntity(Path<? extends AbstractEntity> path) { super((Class)path.getType(), path.getMetadata()); }
@SuppressWarnings("all") public QOrder(Path<? extends Order> path) { this((Class)path.getType(), path.getMetadata(), path.getMetadata().isRoot() ? INITS : PathInits.DEFAULT); }
@SuppressWarnings("all") public QCustomer(Path<? extends QCustomer> path) { super((Class)path.getType(), path.getMetadata(), "PUBLIC", "CUSTOMER"); }
@SuppressWarnings("all") public QLineItem(Path<? extends LineItem> path) { this((Class)path.getType(), path.getMetadata(), path.getMetadata().isRoot() ? INITS : PathInits.DEFAULT); }
@SuppressWarnings("all") public QAbstractEntity(Path<? extends AbstractEntity> path) { super((Class)path.getType(), path.getMetadata()); }