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


UMMF documentation  | view source Contained in the UMMF distribution.

Index


NAME

Top

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

SYNOPSIS

Top

  use base qw(UMMF::XForm);




DESCRIPTION

Top

USAGE

Top

PATTERNS

Top

EXPORT

Top

None exported.

AUTHOR

Top

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

SEE ALSO

Top

UMMF::UML::MetaMetaModel

VERSION

Top

$Revision: 1.9 $

METHODS

Top

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.


UMMF documentation  | view source Contained in the UMMF distribution.