How to use the ember-flexberry-data.Projection.hasMany 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-stage.js View on Github external
referenceCount: Projection.attr(''),
      nameStr: Projection.attr('')
    }),
    inheritances: Projection.hasMany('fd-inheritance', '', {
      referenceCount: Projection.attr(''),
      name: Projection.attr(''),
      parent: Projection.belongsTo('fd-class', '', {

      }),
      child: Projection.belongsTo('fd-class', '', {

      })
    })
  });
  modelClass.defineProjection('InheritanceCyclesCheckView', 'fd-stage', {
    inheritances: Projection.hasMany('fd-inheritance', '', {
      referenceCount: Projection.attr(''),
      name: Projection.attr(''),
      parent: Projection.belongsTo('fd-class', '', {

      }),
      child: Projection.belongsTo('fd-class', '', {

      })
    })
  });
  modelClass.defineProjection('NameOnly', 'fd-stage', {
    name: Projection.attr('')
  });
  modelClass.defineProjection('PathSearchView', 'fd-stage', {
    name: Projection.attr(''),
    configuration: Projection.belongsTo('fd-configuration', '', {
github Flexberry / ember-flexberry-designer / addon / mixins / regenerated / models / fd-dev-system.js View on Github external
createDate: Projection.attr('CreateDate', { hidden: true }),
    changeUser: Projection.attr('ChangeUser', { hidden: true }),
    changeDate: Projection.attr('ChangeDate', { hidden: true }),
    name: Projection.attr('Name', { hidden: true }),
    description: Projection.attr('Description', { hidden: true }),
    nameStr: Projection.attr('NameStr', { hidden: true }),
    diagrams: Projection.hasMany('fd-diagram', '', {
      primitivesStreamString: Projection.attr(''),
      caseObjectsString: Projection.attr(''),
      name: Projection.attr(''),
      createDate: Projection.attr(''),
      createUser: Projection.attr(''),
      changeDate: Projection.attr(''),
      changeUser: Projection.attr('')
    }),
    filelinks: Projection.hasMany('fd-filelink', '', {
      name: Projection.attr('Название'),
      description: Projection.attr('Описание')
    })
  });
  modelClass.defineProjection('EditFormView', 'fd-dev-system', {
    name: Projection.attr('Name'),
    description: Projection.attr('Description')
  });
  modelClass.defineProjection('ListFormView', 'fd-dev-system', {
    name: Projection.attr('Name'),
    description: Projection.attr('Description'),
    changeUser: Projection.attr('Change user'),
    changeDate: Projection.attr('Change date'),
    createUser: Projection.attr('Create user'),
    createDate: Projection.attr('Create date')
  });
github Flexberry / ember-flexberry-designer / addon / mixins / regenerated / models / fd-dev-stage.js View on Github external
defaultDetailArrayClass: Projection.attr(''),
    connectionString: Projection.attr(''),
    oracleConnectionString: Projection.attr(''),
    postgreConnectionString: Projection.attr(''),
    additionalPluginsSettingsStr: Projection.attr(''),
    defaultEditScriptName: Projection.attr(''),
    defaultListScriptName: Projection.attr(''),
    sourceAzStoragePath: Projection.attr(''),
    operationsEnumPacket: Projection.attr(''),
    operationsEnumNamespace: Projection.attr(''),
    signAssemblies: Projection.attr(''),
    auditEnabled: Projection.attr(''),
    isAuditDatabaseLocal: Projection.attr(''),
    defaultWriteMode: Projection.attr(''),
    isReportDatabaseLocal: Projection.attr(''),
    typeDefinitions: Projection.hasMany('fd-dev-type-definition', '', {
      name: Projection.attr(''),
      caption: Projection.attr(''),
      mapTypeName: Projection.attr(''),
      mapTypeAssemblyName: Projection.attr(''),
      formatAttribute: Projection.attr('')
    }),
    controlTypes: Projection.hasMany('fd-dev-control-type', '', {
      name: Projection.attr('Имя'),
      designerHtmlTemplate: Projection.attr('Шаблон'),
      designerMetadataXml: Projection.attr('Метаданные дизайна'),
      editedType: Projection.belongsTo('fd-dev-type-definition', '', {
        name: Projection.attr('', { hidden: true })
      })
    }),
    moduleSettings: Projection.hasMany('fd-dev-module-setting', '', {
      moduleSettingType: Projection.belongsTo('fd-dev-module-setting-type', 'ModuleSettingTyp', {
github Flexberry / ember-flexberry-designer / addon / mixins / regenerated / models / fd-generation.js View on Github external
export let defineProjections = function (modelClass) {
  modelClass.defineProjection('EditFormView', 'fd-generation', {
    startTime: Projection.attr('StartTime', { hidden: true }),
    endTime: Projection.attr('EndTime', { hidden: true }),
    state: Projection.attr('State', { hidden: true }),
    generationReason: Projection.attr('GenerationReason', { hidden: true }),
    userName: Projection.attr('UserName', { hidden: true }),
    isRunning: Projection.attr('IsRunning', { hidden: true }),
    percentComplete: Projection.attr('PercentComplete', { hidden: true }),
    stepLogs: Projection.hasMany('fd-generation-step-log', '', {
      time: Projection.attr(''),
      thisIsError: Projection.attr(''),
      isWarn: Projection.attr(''),
      text: Projection.attr('')
    })
  });
  modelClass.defineProjection('ListFormView', 'fd-generation', {
    userName: Projection.attr('Пользователь'),
    state: Projection.attr('Состояние'),
    startTime: Projection.attr('Время старта'),
    percentComplete: Projection.attr('% выполнения'),
    endTime: Projection.attr('Время окончания'),
    stage: Projection.belongsTo('fd-dev-stage', 'Имя стадии', {
      name: Projection.attr('Имя стадии')
    }, { hidden: true }),
    generationReason: Projection.attr('Действие')
github Flexberry / ember-flexberry-designer / addon / mixins / regenerated / models / fd-stage.js View on Github external
nameStr: Projection.attr('')
    })
  });
  modelClass.defineProjection('Import', 'fd-stage', {
    associations: Projection.hasMany('fd-base-association', '', {
      startRole: Projection.attr(''),
      endRole: Projection.attr(''),
      referenceCount: Projection.attr(''),
      startClass: Projection.belongsTo('fd-class', '', {

      }),
      endClass: Projection.belongsTo('fd-class', '', {

      })
    }),
    classes: Projection.hasMany('fd-class', '', {
      referenceCount: Projection.attr(''),
      nameStr: Projection.attr('')
    }),
    inheritances: Projection.hasMany('fd-inheritance', '', {
      referenceCount: Projection.attr(''),
      name: Projection.attr(''),
      parent: Projection.belongsTo('fd-class', '', {

      }),
      child: Projection.belongsTo('fd-class', '', {

      })
    })
  });
  modelClass.defineProjection('InheritanceCyclesCheckView', 'fd-stage', {
    inheritances: Projection.hasMany('fd-inheritance', '', {
github Flexberry / ember-flexberry-designer / addon / mixins / regenerated / models / fd-subsystem.js View on Github external
export let defineProjections = function (modelClass) {
  modelClass.defineProjection('Convert', 'fd-subsystem', {
    createUser: Projection.attr('CreateUser'),
    createDate: Projection.attr('CreateDate'),
    changeUser: Projection.attr('ChangeUser'),
    changeDate: Projection.attr('ChangeDate'),
    name: Projection.attr('Name'),
    description: Projection.attr('Description'),
    nameStr: Projection.attr('NameStr'),
    diagramLinks: Projection.hasMany('fd-diagram-link', '', {
      name: Projection.attr('Название'),
      description: Projection.attr('Описание')
    }),
    diagrams: Projection.hasMany('fd-diagram', '', {
      primitivesStreamString: Projection.attr(''),
      caseObjectsString: Projection.attr(''),
      name: Projection.attr(''),
      createDate: Projection.attr(''),
      createUser: Projection.attr(''),
      changeDate: Projection.attr(''),
      changeUser: Projection.attr('')
    }),
    filelinks: Projection.hasMany('fd-filelink', '', {
      name: Projection.attr('Название'),
      description: Projection.attr('Описание')
    })
  });
  modelClass.defineProjection('PathSearchView', 'fd-subsystem', {
    name: Projection.attr(''),
    stage: Projection.belongsTo('fd-stage', '', {
github Flexberry / ember-flexberry-designer / addon / mixins / regenerated / models / fd-stage.js View on Github external
export let defineProjections = function (modelClass) {
  modelClass.defineProjection('Convert', 'fd-stage', {
    systems: Projection.hasMany('fd-subsystem', '', {
      createUser: Projection.attr('CreateUser'),
      createDate: Projection.attr('CreateDate'),
      changeUser: Projection.attr('ChangeUser'),
      changeDate: Projection.attr('ChangeDate'),
      name: Projection.attr('Name'),
      description: Projection.attr('Description'),
      nameStr: Projection.attr('NameStr'),
      diagramLinks: Projection.hasMany('fd-diagram-link', '', {
        name: Projection.attr('Название'),
        description: Projection.attr('Описание')
      }),
      diagrams: Projection.hasMany('fd-diagram', '', {
        primitivesStreamString: Projection.attr(''),
        caseObjectsString: Projection.attr(''),
        name: Projection.attr(''),
        createDate: Projection.attr(''),
github Flexberry / ember-flexberry-designer / addon / mixins / regenerated / models / fd-stage.js View on Github external
}),
      filelinks: Projection.hasMany('fd-filelink', '', {
        name: Projection.attr('Название'),
        description: Projection.attr('Описание')
      })
    })
  });
  modelClass.defineProjection('DependensiesSearchView', 'fd-stage', {
    classes: Projection.hasMany('fd-class', '', {
      name: Projection.attr(''),
      stereotype: Projection.attr(''),
      nameStr: Projection.attr('')
    })
  });
  modelClass.defineProjection('Import', 'fd-stage', {
    associations: Projection.hasMany('fd-base-association', '', {
      startRole: Projection.attr(''),
      endRole: Projection.attr(''),
      referenceCount: Projection.attr(''),
      startClass: Projection.belongsTo('fd-class', '', {

      }),
      endClass: Projection.belongsTo('fd-class', '', {

      })
    }),
    classes: Projection.hasMany('fd-class', '', {
      referenceCount: Projection.attr(''),
      nameStr: Projection.attr('')
    }),
    inheritances: Projection.hasMany('fd-inheritance', '', {
      referenceCount: Projection.attr(''),
github Flexberry / ember-flexberry-designer / addon / mixins / regenerated / models / fd-stage.js View on Github external
export let defineProjections = function (modelClass) {
  modelClass.defineProjection('Convert', 'fd-stage', {
    systems: Projection.hasMany('fd-subsystem', '', {
      createUser: Projection.attr('CreateUser'),
      createDate: Projection.attr('CreateDate'),
      changeUser: Projection.attr('ChangeUser'),
      changeDate: Projection.attr('ChangeDate'),
      name: Projection.attr('Name'),
      description: Projection.attr('Description'),
      nameStr: Projection.attr('NameStr'),
      diagramLinks: Projection.hasMany('fd-diagram-link', '', {
        name: Projection.attr('Название'),
        description: Projection.attr('Описание')
      }),
      diagrams: Projection.hasMany('fd-diagram', '', {
        primitivesStreamString: Projection.attr(''),
        caseObjectsString: Projection.attr(''),
        name: Projection.attr(''),
        createDate: Projection.attr(''),
        createUser: Projection.attr(''),
        changeDate: Projection.attr(''),
        changeUser: Projection.attr('')
      }),
      filelinks: Projection.hasMany('fd-filelink', '', {
        name: Projection.attr('Название'),
        description: Projection.attr('Описание')
      })
github Flexberry / ember-flexberry-designer / addon / mixins / regenerated / models / fd-stage.js View on Github external
description: Projection.attr('Description'),
      nameStr: Projection.attr('NameStr'),
      diagramLinks: Projection.hasMany('fd-diagram-link', '', {
        name: Projection.attr('Название'),
        description: Projection.attr('Описание')
      }),
      diagrams: Projection.hasMany('fd-diagram', '', {
        primitivesStreamString: Projection.attr(''),
        caseObjectsString: Projection.attr(''),
        name: Projection.attr(''),
        createDate: Projection.attr(''),
        createUser: Projection.attr(''),
        changeDate: Projection.attr(''),
        changeUser: Projection.attr('')
      }),
      filelinks: Projection.hasMany('fd-filelink', '', {
        name: Projection.attr('Название'),
        description: Projection.attr('Описание')
      })
    })
  });
  modelClass.defineProjection('DependensiesSearchView', 'fd-stage', {
    classes: Projection.hasMany('fd-class', '', {
      name: Projection.attr(''),
      stereotype: Projection.attr(''),
      nameStr: Projection.attr('')
    })
  });
  modelClass.defineProjection('Import', 'fd-stage', {
    associations: Projection.hasMany('fd-base-association', '', {
      startRole: Projection.attr(''),
      endRole: Projection.attr(''),