NAME

UMMF::UML::XForm - Base class for UML Model transformations.

SYNOPSIS

use base qw(UMMF::UML::XForm);

DESCRIPTION

USAGE

PATTERNS

EXPORT

None exported.

AUTHOR

Kurt Stephens, ks.perl@kurtstephens.com 2003/05/05

SEE ALSO

UMMF::UML::MetaMetaModel

VERSION

$Revision: 1.8 $

METHODS

apply_Model

$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.

copy_Classifier_Feature

$xform->copy_Classifier_Feature($to_cls, $from_cls, [ $features ]);

Copies cloned features (Attributes and Operations) from $from_cls to $to_cls.

If $features is defined, only those features are copied.

copy_Classifier_AssociationEnd

$xform->copy_Classifier_AssociationEnd($to_cls, $from_cls, [ $assocs ]);

Copies cloned AssociationEnds from $from_cls to $to_cls.

If $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.