/// <summary> /// Updates a BDT to match the given <paramref name="specification"/>. /// <param name="bdt">A BDT.</param> /// <param name="specification">A new specification for the given BDT.</param> /// <returns>The updated BDT. Depending on the implementation, this might be the same updated instance or a new instance!</returns> /// </summary> public IBdt UpdateBdt(IBdt bdt, BdtSpec specification) { return(new UpccBdt(UmlPackage.UpdateClass(((UpccBdt)bdt).UmlClass, BdtSpecConverter.Convert(specification)))); }
/// <summary> /// Updates a ABIE to match the given <paramref name="specification"/>. /// <param name="abie">A ABIE.</param> /// <param name="specification">A new specification for the given ABIE.</param> /// <returns>The updated ABIE. Depending on the implementation, this might be the same updated instance or a new instance!</returns> /// </summary> public IAbie UpdateAbie(IAbie abie, AbieSpec specification) { return(new UpccAbie(UmlPackage.UpdateClass(((UpccAbie)abie).UmlClass, AbieSpecConverter.Convert(specification)))); }
/// <summary> /// Updates a ACC to match the given <paramref name="specification"/>. /// <param name="acc">A ACC.</param> /// <param name="specification">A new specification for the given ACC.</param> /// <returns>The updated ACC. Depending on the implementation, this might be the same updated instance or a new instance!</returns> /// </summary> public IAcc UpdateAcc(IAcc acc, AccSpec specification) { return(new UpccAcc(UmlPackage.UpdateClass(((UpccAcc)acc).UmlClass, AccSpecConverter.Convert(specification)))); }
/// <summary> /// Updates a CDT to match the given <paramref name="specification"/>. /// <param name="cdt">A CDT.</param> /// <param name="specification">A new specification for the given CDT.</param> /// <returns>The updated CDT. Depending on the implementation, this might be the same updated instance or a new instance!</returns> /// </summary> public ICdt UpdateCdt(ICdt cdt, CdtSpec specification) { return(new UpccCdt(UmlPackage.UpdateClass(((UpccCdt)cdt).UmlClass, CdtSpecConverter.Convert(specification)))); }
/// <summary> /// Updates a MA to match the given <paramref name="specification"/>. /// <param name="ma">A MA.</param> /// <param name="specification">A new specification for the given MA.</param> /// <returns>The updated MA. Depending on the implementation, this might be the same updated instance or a new instance!</returns> /// </summary> public IMa UpdateMa(IMa ma, MaSpec specification) { return(new UpccMa(UmlPackage.UpdateClass(((UpccMa)ma).UmlClass, MaSpecConverter.Convert(specification)))); }