Exemple #1
0
 /// <summary>
 /// Adds the given element to the collection
 /// </summary>
 /// <param name="item">The item to add</param>
 public override void Add(IModelElement item)
 {
     if ((this._parent.Str == null))
     {
         IACD strCasted = item.As <IACD>();
         if ((strCasted != null))
         {
             this._parent.Str = strCasted;
             return;
         }
     }
     if ((this._parent.Op == null))
     {
         IACT opCasted = item.As <IACT>();
         if ((opCasted != null))
         {
             this._parent.Op = opCasted;
             return;
         }
     }
     if ((this._parent.StrVal == null))
     {
         IASG strValCasted = item.As <IASG>();
         if ((strValCasted != null))
         {
             this._parent.StrVal = strValCasted;
             return;
         }
     }
 }
Exemple #2
0
 /// <summary>
 /// Adds the given element to the collection
 /// </summary>
 /// <param name="item">The item to add</param>
 public override void Add(IModelElement item)
 {
     if ((this._parent.Str == null))
     {
         IACD strCasted = item.As <IACD>();
         if ((strCasted != null))
         {
             this._parent.Str = strCasted;
             return;
         }
     }
     if ((this._parent.Op == null))
     {
         IACT opCasted = item.As <IACT>();
         if ((opCasted != null))
         {
             this._parent.Op = opCasted;
             return;
         }
     }
     if ((this._parent.RsDiTmms == null))
     {
         IING rsDiTmmsCasted = item.As <IING>();
         if ((rsDiTmmsCasted != null))
         {
             this._parent.RsDiTmms = rsDiTmmsCasted;
             return;
         }
     }
 }
Exemple #3
0
 /// <summary>
 /// Adds the given element to the collection
 /// </summary>
 /// <param name="item">The item to add</param>
 public override void Add(IModelElement item)
 {
     if ((this._parent.Str == null))
     {
         IACD strCasted = item.As <IACD>();
         if ((strCasted != null))
         {
             this._parent.Str = strCasted;
             return;
         }
     }
     if ((this._parent.Op == null))
     {
         IACT opCasted = item.As <IACT>();
         if ((opCasted != null))
         {
             this._parent.Op = opCasted;
             return;
         }
     }
     if ((this._parent.DirMod == null))
     {
         IING dirModCasted = item.As <IING>();
         if ((dirModCasted != null))
         {
             this._parent.DirMod = dirModCasted;
             return;
         }
     }
     if ((this._parent.StrVal == null))
     {
         IASG strValCasted = item.As <IASG>();
         if ((strValCasted != null))
         {
             this._parent.StrVal = strValCasted;
             return;
         }
     }
     if ((this._parent.OpDlTmms == null))
     {
         IING opDlTmmsCasted = item.As <IING>();
         if ((opDlTmmsCasted != null))
         {
             this._parent.OpDlTmms = opDlTmmsCasted;
             return;
         }
     }
     if ((this._parent.RsDlTmms == null))
     {
         IING rsDlTmmsCasted = item.As <IING>();
         if ((rsDlTmmsCasted != null))
         {
             this._parent.RsDlTmms = rsDlTmmsCasted;
             return;
         }
     }
 }
Exemple #4
0
 /// <summary>
 /// Adds the given element to the collection
 /// </summary>
 /// <param name="item">The item to add</param>
 public override void Add(IModelElement item)
 {
     if ((this._parent.Str == null))
     {
         IACD strCasted = item.As <IACD>();
         if ((strCasted != null))
         {
             this._parent.Str = strCasted;
             return;
         }
     }
     if ((this._parent.HaRst == null))
     {
         IING haRstCasted = item.As <IING>();
         if ((haRstCasted != null))
         {
             this._parent.HaRst = haRstCasted;
             return;
         }
     }
     if ((this._parent.PhStr == null))
     {
         IASG phStrCasted = item.As <IASG>();
         if ((phStrCasted != null))
         {
             this._parent.PhStr = phStrCasted;
             return;
         }
     }
     if ((this._parent.PhStop == null))
     {
         IASG phStopCasted = item.As <IASG>();
         if ((phStopCasted != null))
         {
             this._parent.PhStop = phStopCasted;
             return;
         }
     }
     if ((this._parent.OpDiTmms == null))
     {
         IING opDiTmmsCasted = item.As <IING>();
         if ((opDiTmmsCasted != null))
         {
             this._parent.OpDiTmms = opDiTmmsCasted;
             return;
         }
     }
     if ((this._parent.RsDiTmms == null))
     {
         IING rsDiTmmsCasted = item.As <IING>();
         if ((rsDiTmmsCasted != null))
         {
             this._parent.RsDiTmms = rsDiTmmsCasted;
             return;
         }
     }
 }
Exemple #5
0
 /// <summary>
 /// Adds the given element to the collection
 /// </summary>
 /// <param name="item">The item to add</param>
 public override void Add(IModelElement item)
 {
     if ((this._parent.Str == null))
     {
         IACD strCasted = item.As <IACD>();
         if ((strCasted != null))
         {
             this._parent.Str = strCasted;
             return;
         }
     }
     if ((this._parent.Op == null))
     {
         IACT opCasted = item.As <IACT>();
         if ((opCasted != null))
         {
             this._parent.Op = opCasted;
             return;
         }
     }
     if ((this._parent.SetA == null))
     {
         IASG setACasted = item.As <IASG>();
         if ((setACasted != null))
         {
             this._parent.SetA = setACasted;
             return;
         }
     }
     if ((this._parent.SetTms == null))
     {
         IING setTmsCasted = item.As <IING>();
         if ((setTmsCasted != null))
         {
             this._parent.SetTms = setTmsCasted;
             return;
         }
     }
     if ((this._parent.MotStr == null))
     {
         IASG motStrCasted = item.As <IASG>();
         if ((motStrCasted != null))
         {
             this._parent.MotStr = motStrCasted;
             return;
         }
     }
     if ((this._parent.LokRotTms == null))
     {
         IING lokRotTmsCasted = item.As <IING>();
         if ((lokRotTmsCasted != null))
         {
             this._parent.LokRotTms = lokRotTmsCasted;
             return;
         }
     }
 }
Exemple #6
0
 /// <summary>
 /// Adds the given element to the collection
 /// </summary>
 /// <param name="item">The item to add</param>
 public override void Add(IModelElement item)
 {
     if ((this._parent.Tr == null))
     {
         IACT trCasted = item.As <IACT>();
         if ((trCasted != null))
         {
             this._parent.Tr = trCasted;
             return;
         }
     }
     if ((this._parent.Op == null))
     {
         IACT opCasted = item.As <IACT>();
         if ((opCasted != null))
         {
             this._parent.Op = opCasted;
             return;
         }
     }
     if ((this._parent.Str == null))
     {
         IACD strCasted = item.As <IACD>();
         if ((strCasted != null))
         {
             this._parent.Str = strCasted;
             return;
         }
     }
     if ((this._parent.TrMod == null))
     {
         IING trModCasted = item.As <IING>();
         if ((trModCasted != null))
         {
             this._parent.TrMod = trModCasted;
             return;
         }
     }
     if ((this._parent.TrPlsTmms == null))
     {
         IING trPlsTmmsCasted = item.As <IING>();
         if ((trPlsTmmsCasted != null))
         {
             this._parent.TrPlsTmms = trPlsTmmsCasted;
             return;
         }
     }
 }
Exemple #7
0
 /// <summary>
 /// Adds the given element to the collection
 /// </summary>
 /// <param name="item">The item to add</param>
 public override void Add(IModelElement item)
 {
     if ((this._parent.Str == null))
     {
         IACD strCasted = item.As <IACD>();
         if ((strCasted != null))
         {
             this._parent.Str = strCasted;
             return;
         }
     }
     if ((this._parent.Op == null))
     {
         IACT opCasted = item.As <IACT>();
         if ((opCasted != null))
         {
             this._parent.Op = opCasted;
             return;
         }
     }
     if ((this._parent.GndStr == null))
     {
         IASG gndStrCasted = item.As <IASG>();
         if ((gndStrCasted != null))
         {
             this._parent.GndStr = gndStrCasted;
             return;
         }
     }
     if ((this._parent.DirMod == null))
     {
         IING dirModCasted = item.As <IING>();
         if ((dirModCasted != null))
         {
             this._parent.DirMod = dirModCasted;
             return;
         }
     }
 }
Exemple #8
0
 /// <summary>
 /// Adds the given element to the collection
 /// </summary>
 /// <param name="item">The item to add</param>
 public override void Add(IModelElement item)
 {
     if ((this._parent.Str == null))
     {
         IACD strCasted = item.As <IACD>();
         if ((strCasted != null))
         {
             this._parent.Str = strCasted;
             return;
         }
     }
     if ((this._parent.Op == null))
     {
         IACT opCasted = item.As <IACT>();
         if ((opCasted != null))
         {
             this._parent.Op = opCasted;
             return;
         }
     }
     if ((this._parent.BlkV == null))
     {
         ISPS blkVCasted = item.As <ISPS>();
         if ((blkVCasted != null))
         {
             this._parent.BlkV = blkVCasted;
             return;
         }
     }
     if ((this._parent.StrVal == null))
     {
         IASG strValCasted = item.As <IASG>();
         if ((strValCasted != null))
         {
             this._parent.StrVal = strValCasted;
             return;
         }
     }
     if ((this._parent.BlkVal == null))
     {
         IASG blkValCasted = item.As <IASG>();
         if ((blkValCasted != null))
         {
             this._parent.BlkVal = blkValCasted;
             return;
         }
     }
     if ((this._parent.OpDiTmms == null))
     {
         IING opDiTmmsCasted = item.As <IING>();
         if ((opDiTmmsCasted != null))
         {
             this._parent.OpDiTmms = opDiTmmsCasted;
             return;
         }
     }
     if ((this._parent.RsDiTmms == null))
     {
         IING rsDiTmmsCasted = item.As <IING>();
         if ((rsDiTmmsCasted != null))
         {
             this._parent.RsDiTmms = rsDiTmmsCasted;
             return;
         }
     }
 }
Exemple #9
0
 /// <summary>
 /// Adds the given element to the collection
 /// </summary>
 /// <param name="item">The item to add</param>
 public override void Add(IModelElement item)
 {
     if ((this._parent.Str == null))
     {
         IACD strCasted = item.As <IACD>();
         if ((strCasted != null))
         {
             this._parent.Str = strCasted;
             return;
         }
     }
     if ((this._parent.Op == null))
     {
         IACT opCasted = item.As <IACT>();
         if ((opCasted != null))
         {
             this._parent.Op = opCasted;
             return;
         }
     }
     if ((this._parent.AStr == null))
     {
         IASG aStrCasted = item.As <IASG>();
         if ((aStrCasted != null))
         {
             this._parent.AStr = aStrCasted;
             return;
         }
     }
     if ((this._parent.VStr == null))
     {
         IASG vStrCasted = item.As <IASG>();
         if ((vStrCasted != null))
         {
             this._parent.VStr = vStrCasted;
             return;
         }
     }
     if ((this._parent.HVStr == null))
     {
         IASG hVStrCasted = item.As <IASG>();
         if ((hVStrCasted != null))
         {
             this._parent.HVStr = hVStrCasted;
             return;
         }
     }
     if ((this._parent.OpDlTmms == null))
     {
         IING opDlTmmsCasted = item.As <IING>();
         if ((opDlTmmsCasted != null))
         {
             this._parent.OpDlTmms = opDlTmmsCasted;
             return;
         }
     }
     if ((this._parent.RsDlTmms == null))
     {
         IING rsDlTmmsCasted = item.As <IING>();
         if ((rsDlTmmsCasted != null))
         {
             this._parent.RsDlTmms = rsDlTmmsCasted;
             return;
         }
     }
 }