UMMF::XForm - Base class for UML Model transformations.
use base qw(UMMF::XForm);
Kurt Stephens, firstname.lastname@example.org 2003/05/05
$Revision: 1.9 $
$model = $xform->apply_Model($model);
Apply transformation to the model. The $xform may mutate the $model to achieve the transform.
Subclasses must implement this behavior.
$xform->copy_Classifier_Feature($to_cls, $from_cls, [ $features ]);
Copies cloned features (Attributes and Operations) from
$features is defined, only those features are copied.
$xform->copy_Classifier_AssociationEnd($to_cls, $from_cls, [ $assocs ]);
Copies cloned AssociationEnds from
$assoc is defined, only those AssociationEnds are copied, otherwise all the AssociationEnds attached to
$from_cls are copied.
This actually clones new Associations to resolve sharing issues.