/// <summary> /// Updates a(n) ASCC to match the given <paramref name="specification"/>. /// <param name="ascc">A(n) ASCC.</param> /// <param name="specification">A new specification for the given ASCC.</param> /// <returns>The updated ASCC. Depending on the implementation, this might be the same updated instance or a new instance!</returns> /// </summary> public IAscc UpdateAscc(IAscc ascc, AsccSpec specification) { return(new UpccAscc(UmlClass.UpdateAssociation(((UpccAscc)ascc).UmlAssociation, AsccSpecConverter.Convert(specification, Name)), this)); }
/// <summary> /// Updates a(n) ASBIE to match the given <paramref name="specification"/>. /// <param name="asbie">A(n) ASBIE.</param> /// <param name="specification">A new specification for the given ASBIE.</param> /// <returns>The updated ASBIE. Depending on the implementation, this might be the same updated instance or a new instance!</returns> /// </summary> public IAsbie UpdateAsbie(IAsbie asbie, AsbieSpec specification) { return(new UpccAsbie(UmlClass.UpdateAssociation(((UpccAsbie)asbie).UmlAssociation, AsbieSpecConverter.Convert(specification, Name)), this)); }
/// <summary> /// Updates a(n) ASMA to match the given <paramref name="specification"/>. /// <param name="asma">A(n) ASMA.</param> /// <param name="specification">A new specification for the given ASMA.</param> /// <returns>The updated ASMA. Depending on the implementation, this might be the same updated instance or a new instance!</returns> /// </summary> public IAsma UpdateAsma(IAsma asma, AsmaSpec specification) { return(new UpccAsma(UmlClass.UpdateAssociation(((UpccAsma)asma).UmlAssociation, AsmaSpecConverter.Convert(specification, Name)), this)); }