示例#1
0
 public QTaskHour(Class<? extends TaskHour> type, PathMetadata<?> metadata, PathInits inits) {
   super(type, metadata, inits);
   this.taskHoursTask =
       inits.isInitialized("taskHoursTask")
           ? new QTask(forProperty("taskHoursTask"), inits.get("taskHoursTask"))
           : null;
 }
 public QSalesOrder(Class<? extends SalesOrder> type, PathMetadata<?> metadata, PathInits inits) {
   super(type, metadata, inits);
   this.user =
       inits.isInitialized("customer")
           ? new org.jroche.app.fwk.dev.persistence.model.user.QCustomer(
               forProperty("customer"), inits.get("customer"))
           : null;
 }
 public QSalesOrderItems(
     Class<? extends SalesOrderItems> type, PathMetadata<?> metadata, PathInits inits) {
   super(type, metadata, inits);
   this.product =
       inits.isInitialized("product")
           ? new org.jroche.app.fwk.dev.persistence.model.product.QProduct(
               forProperty("product"), inits.get("product"))
           : null;
   this.so =
       inits.isInitialized("so") ? new QSalesOrder(forProperty("so"), inits.get("so")) : null;
 }
 public QProductAttribute(
     Class<? extends ProductAttribute> type, PathMetadata<?> metadata, PathInits inits) {
   super(type, metadata, inits);
   this.product =
       inits.isInitialized("product")
           ? new com.salesmanager.core.business.catalog.product.model.QProduct(
               forProperty("product"), inits.get("product"))
           : null;
   this.productOption =
       inits.isInitialized("productOption")
           ? new QProductOption(forProperty("productOption"), inits.get("productOption"))
           : null;
   this.productOptionValue =
       inits.isInitialized("productOptionValue")
           ? new QProductOptionValue(
               forProperty("productOptionValue"), inits.get("productOptionValue"))
           : null;
 }
示例#5
0
 public QRole(Class<? extends Role> type, PathMetadata<?> metadata, PathInits inits) {
   super(type, metadata, inits);
   this.user =
       inits.isInitialized("user") ? new QUser(forProperty("user"), inits.get("user")) : null;
 }
 public QProduct(Class<? extends Product> type, PathMetadata<?> metadata, PathInits inits) {
   super(type, metadata, inits);
   this.group = inits.isInitialized("group") ? new QProductGroup(forProperty("group")) : null;
 }