How to use the ember-flexberry-data/utils/attributes.belongsTo function in ember-flexberry-data

To help you get started, we’ve selected a few ember-flexberry-data examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github Flexberry / ember-flexberry-designer / addon / mixins / regenerated / models / fd-dev-form-view.js View on Github external
hierarchicalMaster: attr('HierarchicalMaster', { hidden: true }),
    listFormOperations: attr('ListFormOperations', { hidden: true }),
    listFormOperationsStr: attr('ListFormOperationsStr', { hidden: true }),
    orderNum: attr('OrderNum', { hidden: true }),
    propertyLookup: attr('PropertyLookup', { hidden: true }),
    propertyLookupStr: attr('PropertyLookupStr', { hidden: true }),
    viewForForm: attr('ViewForForm', { hidden: true }),
    name: attr('Name', { hidden: true }),
    description: attr('Description', { hidden: true }),
    nameStr: attr('NameStr', { hidden: true }),
    controls: hasMany('fd-dev-form-control', '', {
      name: attr(''),
      propertyPath: attr(''),
      settingsXml: attr(''),
      order: attr(''),
      controlType: belongsTo('fd-dev-control-type', '', {
        name: attr('')
      }),
      propertyType: belongsTo('fd-dev-type-definition', '', {
        name: attr('')
      }),
      formView: belongsTo('fd-dev-form-view', '', {
        view: belongsTo('fd-dev-view', '', {

        })
      })
    })
  });
  modelClass.defineProjection('GetDataObjectByFormView', 'fd-dev-form-view', {
    view: belongsTo('fd-dev-view', '', {
      class: belongsTo('fd-dev-class', '', {
        name: attr(''),
github Flexberry / ember-flexberry-designer / addon / mixins / regenerated / models / fd-dev-stage.js View on Github external
project: belongsTo('fd-project', '', {
        repository: belongsTo('fd-repository', '', {

        }, { hidden: true })
      }, { hidden: true })
    }, { hidden: true })
  });
  modelClass.defineProjection('Generations', 'fd-dev-stage', {
    name: attr(''),
    generations: hasMany('fd-generation', '', {
      userName: attr('Пользователь'),
      state: attr('Состояние'),
      startTime: attr('Время старта'),
      percentComplete: attr('% выполнения'),
      endTime: attr('Время окончания'),
      stage: belongsTo('fd-dev-stage', 'Имя стадии', {
        name: attr('Имя стадии')
      }),
      generationReason: attr('Действие')
    })
  });
  modelClass.defineProjection('Generator', 'fd-dev-stage', {
    name: attr(''),
    description: attr(''),
    company: attr(''),
    product: attr(''),
    copyright: attr(''),
    version: attr(''),
    dataObjectNameSpace: attr(''),
    sourceCodeCSPath: attr(''),
    sourceCodeVBPath: attr(''),
    sQLPath: attr(''),
github Flexberry / ember-flexberry-designer / addon / mixins / regenerated / models / fd-dev-form-view.js View on Github external
name: attr('')
      }),
      formView: belongsTo('fd-dev-form-view', '', {
        view: belongsTo('fd-dev-view', '', {

        })
      })
    })
  });
  modelClass.defineProjection('GetDataObjectByFormView', 'fd-dev-form-view', {
    view: belongsTo('fd-dev-view', '', {
      class: belongsTo('fd-dev-class', '', {
        name: attr(''),
        stereotype: attr(''),
        caption: attr(''),
        stage: belongsTo('fd-stage', '', {

        })
      })
    }),
    class: belongsTo('fd-dev-class', '', {
      stage: belongsTo('fd-stage', '', {

      })
    })
  });
  modelClass.defineProjection('GetFormControlsByFormView', 'fd-dev-form-view', {
    view: belongsTo('fd-dev-view', '', {

    }),
    class: belongsTo('fd-dev-class', '', {
github Flexberry / ember-flexberry-designer / addon / mixins / regenerated / models / fd-configuration.js View on Github external
project: belongsTo('fd-project', '', {
      repository: belongsTo('fd-repository', '', {

      }, { hidden: true })
    }, { hidden: true })
  });
  modelClass.defineProjection('ListFormView', 'fd-configuration', {
    name: attr('Name'),
    changeUser: attr('Change user'),
    changeDate: attr('Change date'),
    createUser: attr('Create user'),
    createDate: attr('Create date')
  });
  modelClass.defineProjection('PathSearchView', 'fd-configuration', {
    name: attr(''),
    project: belongsTo('fd-project', '', {
      name: attr(''),
      repository: belongsTo('fd-repository', '', {

      })
    })
  });
  modelClass.defineProjection('SearchRepObjView', 'fd-configuration', {
    name: attr('')
  });
  modelClass.defineProjection('TestStageName', 'fd-configuration', {
    name: attr('')
  });
  modelClass.defineProjection('LoadDataNode', 'fd-configuration', {
    name: attr(''),
    description: attr(''),
    project: belongsTo('fd-project', '', {
github Flexberry / ember-flexberry-designer / addon / mixins / regenerated / models / fd-diagram.js View on Github external
name: attr(''),
    createDate: attr(''),
    createUser: attr(''),
    changeDate: attr(''),
    changeUser: attr(''),
    subsystem: belongsTo('fd-subsystem', '', {
      stage: belongsTo('fd-stage', '', {

      })
    }, { hidden: true })
  });
  modelClass.defineProjection('PrintDiagram', 'fd-diagram', {
    primitivesStreamString: attr(''),
    caseObjectsString: attr(''),
    name: attr(''),    
    subsystem: belongsTo('fd-subsystem', '', {
      stage: belongsTo('fd-stage', '', {

      })
    }, { hidden: true })
  });
  modelClass.defineProjection('DiagramWithSystem', 'fd-diagram', {
    primitivesStreamString: attr(''),
    caseObjectsString: attr(''),
    name: attr(''),
    createDate: attr(''),
    createUser: attr(''),
    changeDate: attr(''),
    changeUser: attr(''),
    subsystem: belongsTo('fd-subsystem', '', {

    })
github Flexberry / ember-flexberry-designer / addon / mixins / regenerated / models / fd-dev-stage.js View on Github external
product: attr(''),
    configuration: belongsTo('fd-configuration', '', {
      project: belongsTo('fd-project', '', {
        repository: belongsTo('fd-repository', '', {

        }, { hidden: true })
      }, { hidden: true })
    }, { hidden: true })
  });
  modelClass.defineProjection('FormDesigner_ProjectL', 'fd-dev-stage', {
    name: attr('Название'),
    description: attr('Описание'),
    product: attr('', { hidden: true }),
    configuration: belongsTo('fd-configuration', '', {
      project: belongsTo('fd-project', '', {
        repository: belongsTo('fd-repository', '', {

        }, { hidden: true })
      }, { hidden: true })
    }, { hidden: true })
  });
  modelClass.defineProjection('Generations', 'fd-dev-stage', {
    name: attr(''),
    generations: hasMany('fd-generation', '', {
      userName: attr('Пользователь'),
      state: attr('Состояние'),
      startTime: attr('Время старта'),
      percentComplete: attr('% выполнения'),
      endTime: attr('Время окончания'),
      stage: belongsTo('fd-dev-stage', 'Имя стадии', {
        name: attr('Имя стадии')
      }),
github Flexberry / ember-flexberry-designer / addon / mixins / regenerated / models / fd-dev-stage.js View on Github external
auditEnabled: attr(''),
    isAuditDatabaseLocal: attr(''),
    defaultWriteMode: attr(''),
    isReportDatabaseLocal: attr(''),
    typeDefinitions: hasMany('fd-dev-type-definition', '', {
      name: attr(''),
      caption: attr(''),
      mapTypeName: attr(''),
      mapTypeAssemblyName: attr(''),
      formatAttribute: attr('')
    }),
    controlTypes: hasMany('fd-dev-control-type', '', {
      name: attr('Имя'),
      designerHtmlTemplate: attr('Шаблон'),
      designerMetadataXml: attr('Метаданные дизайна'),
      editedType: belongsTo('fd-dev-type-definition', '', {
        name: attr('', { hidden: true })
      })
    }),
    moduleSettings: hasMany('fd-dev-module-setting', '', {
      moduleSettingType: belongsTo('fd-dev-module-setting-type', 'ModuleSettingTyp', {
        name: attr('Name ModuleSettingType')
      }, { hidden: true }),
      valueXML: attr('ValueXML'),
      moduleSettingTypeName: attr(''),
      stage: belongsTo('fd-dev-stage', 'Stage', {

      }, { hidden: true })
    })
  });
  modelClass.defineProjection('IntelliSearchPluginIndexing', 'fd-dev-stage', {
    name: attr(''),
github Flexberry / ember-flexberry-designer / addon / mixins / regenerated / models / fd-dev-aggregation.js View on Github external
storage: attr(''),
    startRolePublishName: attr(''),
    endRolePublishName: attr(''),
    endMultiplicity: attr(''),
    endRole: attr(''),
    endRoleAccessModifier: attr(''),
    endRoleStored: attr(''),
    endRoleStr: attr(''),
    startMultiplicity: attr(''),
    startRole: attr(''),
    startRoleAccessModifier: attr(''),
    startRoleStr: attr(''),
    referenceCount: attr(''),
    name: attr(''),
    description: attr(''),
    stage: belongsTo('fd-stage', '', {
      name: attr('')
    }),
    endClass: belongsTo('fd-class', '', {
      name: attr('')
    }),
    startClass: belongsTo('fd-class', '', {
      name: attr('')
    })
  });
  modelClass.defineProjection('Gen', 'fd-dev-aggregation', {
    pBAggregatorCustomAttributes: attr(''),
    pBAggregatorGetEnd: attr(''),
    pBAggregatorGetStart: attr(''),
    pBAggregatorSetEnd: attr(''),
    pBAggregatorSetStart: attr(''),
    pBDetailCustomAttributes: attr(''),
github Flexberry / ember-flexberry-designer / addon / mixins / regenerated / models / fd-dev-aggregation.js View on Github external
endRoleStored: attr(''),
    endRoleStr: attr(''),
    startMultiplicity: attr(''),
    startRole: attr(''),
    startRoleAccessModifier: attr(''),
    startRoleStr: attr(''),
    referenceCount: attr(''),
    name: attr(''),
    description: attr(''),
    stage: belongsTo('fd-stage', '', {
      name: attr('')
    }),
    endClass: belongsTo('fd-class', '', {
      name: attr('')
    }),
    startClass: belongsTo('fd-class', '', {
      name: attr('')
    })
  });
  modelClass.defineProjection('Gen', 'fd-dev-aggregation', {
    pBAggregatorCustomAttributes: attr(''),
    pBAggregatorGetEnd: attr(''),
    pBAggregatorGetStart: attr(''),
    pBAggregatorSetEnd: attr(''),
    pBAggregatorSetStart: attr(''),
    pBDetailCustomAttributes: attr(''),
    pBDetailGetEnd: attr(''),
    pBDetailGetStart: attr(''),
    pBDetailSetEnd: attr(''),
    pBDetailSetStart: attr(''),
    pBMasterCustomAttributes: attr(''),
    pBMasterGetEnd: attr(''),
github Flexberry / ember-flexberry-designer / addon / mixins / regenerated / models / fd-dev-aggregation.js View on Github external
endMultiplicity: attr(''),
    endRole: attr(''),
    endRoleAccessModifier: attr(''),
    endRoleStored: attr(''),
    endRoleStr: attr(''),
    startMultiplicity: attr(''),
    startRole: attr(''),
    startRoleAccessModifier: attr(''),
    startRoleStr: attr(''),
    referenceCount: attr(''),
    name: attr(''),
    description: attr(''),
    stage: belongsTo('fd-stage', '', {
      name: attr('')
    }),
    endClass: belongsTo('fd-class', '', {
      name: attr('')
    }),
    startClass: belongsTo('fd-class', '', {
      name: attr('')
    })
  });
  modelClass.defineProjection('Gen', 'fd-dev-aggregation', {
    pBAggregatorCustomAttributes: attr(''),
    pBAggregatorGetEnd: attr(''),
    pBAggregatorGetStart: attr(''),
    pBAggregatorSetEnd: attr(''),
    pBAggregatorSetStart: attr(''),
    pBDetailCustomAttributes: attr(''),
    pBDetailGetEnd: attr(''),
    pBDetailGetStart: attr(''),
    pBDetailSetEnd: attr(''),