exponenta event banner

добавить

Класс: slreq. Оправдание
Пакет: slreq

Добавление привязки потомка

Синтаксис

childJustification = add(jt, 'PropertyName', PropertyValue)

Описание

childJustification = add(jt, 'PropertyName', PropertyValue) добавление привязки потомка childJustification к объекту привязки jt с дополнительными свойствами, указанными PropertyName и PropertyValue.

Входные аргументы

развернуть все

Выравнивание, указанное как slreq.Justification объект.

Выходные аргументы

развернуть все

Добавленное выравнивание потомка, возвращенное как slreq.Justification объект.

Примеры

Добавление привязки потомка к родительской привязке

% Load a requirement set file
rs = slreq.load('C:\MATLAB\My_Requirements_Set_1.slreqx');

% Add a justification object to the requirement set
just1 = addJustification(rs, 'Id', 'J1', ...
'Summary', 'Non-functional requirement justification');

% Add a child justification to the justification just1
childJust1 = add(just1, 'Id', 'J1.1', ...
'Summary', 'Justification for non-functional requirement')

childJust1 = 

  Justification with properties:

              Id: 'J1.1'
         Summary: 'Justification for non-functional requirement'
     Description: ''
        Keywords: [0×0 char]
       Rationale: ''
       CreatedOn: 25-Aug-2017 11:21:29
       CreatedBy: 'John Doe'
      ModifiedBy: 'Jane Doe'
             SID: 11
    FileRevision: 2
      ModifiedOn: 25-Aug-2017 14:00:29
           Dirty: 0
        Comments: [0×0 struct]

См. также

|

Представлен в R2018b