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;
 }
Пример #2
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;
 }
Пример #4
0
 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 QScope(Class<? extends Scope> type, PathMetadata<?> metadata, PathInits inits) {
   super(type, metadata, inits);
   this._super = new QBaseModel(type, metadata, inits);
   this.collectorId =
       inits.isInitialized("collectorId")
           ? new org.bson.types.QObjectId(forProperty("collectorId"))
           : null;
   this.id = _super.id;
 }
Пример #6
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;
 }