/// <summary> /// Updates a(n) BBIE to match the given <paramref name="specification"/>. /// <param name="bbie">A(n) BBIE.</param> /// <param name="specification">A new specification for the given BBIE.</param> /// <returns>The updated BBIE. Depending on the implementation, this might be the same updated instance or a new instance!</returns> /// </summary> public IBbie UpdateBbie(IBbie bbie, BbieSpec specification) { return(new UpccBbie(UmlClass.UpdateAttribute(((UpccBbie)bbie).UmlAttribute, BbieSpecConverter.Convert(specification, Name)), this)); }
/// <summary> /// Updates a(n) SUP to match the given <paramref name="specification"/>. /// <param name="cdtSup">A(n) SUP.</param> /// <param name="specification">A new specification for the given SUP.</param> /// <returns>The updated SUP. Depending on the implementation, this might be the same updated instance or a new instance!</returns> /// </summary> public ICdtSup UpdateCdtSup(ICdtSup cdtSup, CdtSupSpec specification) { return(new UpccCdtSup(UmlClass.UpdateAttribute(((UpccCdtSup)cdtSup).UmlAttribute, CdtSupSpecConverter.Convert(specification, Name)), this)); }
/// <summary> /// Updates a(n) BCC to match the given <paramref name="specification"/>. /// <param name="bcc">A(n) BCC.</param> /// <param name="specification">A new specification for the given BCC.</param> /// <returns>The updated BCC. Depending on the implementation, this might be the same updated instance or a new instance!</returns> /// </summary> public IBcc UpdateBcc(IBcc bcc, BccSpec specification) { return(new UpccBcc(UmlClass.UpdateAttribute(((UpccBcc)bcc).UmlAttribute, BccSpecConverter.Convert(specification, Name)), this)); }
/// <summary> /// Updates a(n) SUP to match the given <paramref name="specification"/>. /// <param name="bdtSup">A(n) SUP.</param> /// <param name="specification">A new specification for the given SUP.</param> /// <returns>The updated SUP. Depending on the implementation, this might be the same updated instance or a new instance!</returns> /// </summary> public IBdtSup UpdateBdtSup(IBdtSup bdtSup, BdtSupSpec specification) { return(new UpccBdtSup(UmlClass.UpdateAttribute(((UpccBdtSup)bdtSup).UmlAttribute, BdtSupSpecConverter.Convert(specification, Name)), this)); }