The EcoreUtil::Copier can copy a collection of objects. Copy the Port
and its applied stereotypes (using Element::getStereotypeApplications()
API or some such; I forget the exact name) in one copy operation. The
copier will ensure that the stereotype copies correctly link to the port
On 09/08/10 01:10 PM, 123star wrote:
> I'd like to copy a Port and all its stereotypes; i tried with
> EcoreUtil.Copier but it copies only the port and not its stereotypes.
> How can I do this?
> Thanks in advance, 123star