Quintiq file version 2.0 
 | 
#parent: #root 
 | 
Method Update ( 
 | 
  Boolean has_estimated_completiondate, 
 | 
  Date estimated_completiondate, 
 | 
  Boolean duedate_hasmanual, 
 | 
  Date duedate, 
 | 
  String name, 
 | 
  SWF_AuthorizationBase assigned_authorization, 
 | 
  SWF_Step parent 
 | 
) 
 | 
{ 
 | 
  Description: 'Update my state' 
 | 
  TextBody: 
 | 
  [* 
 | 
    this.DueDateHasManual( duedate_hasmanual ); 
 | 
    this.DueDateManual( duedate ); 
 | 
    this.HasExpectedCompletionDateManual( has_estimated_completiondate ); 
 | 
    this.ExpectedCompletionDateManual( estimated_completiondate ); 
 | 
    this.Name( name ); 
 | 
    this.AssignedAuthorization( relset, assigned_authorization ); 
 | 
    this.ParentStep( relset, parent ); 
 | 
  *] 
 | 
} 
 |