ElementTypeTransform class

Transforms packageable element elements of one element type to another element type. For example, this transform lets you transform all classes in a model or package to interfaces.

Inheritance Hierarchy

ElementTypeTransform PackagedElementTransform

Operations

NameReturnsDescription
transform(pack)

ElementTypeTransform.transform

X

Transforms the package and returns the transformation result.

Parameters
NameTypeDescription
packTSource The package or model to transform.
Return value
Type: Package 
Package Transforms the package and returns the transformation result. Inherited from PackagedElementTransform.
transformElement(element)

ElementTypeTransform.transformElement

X

Parameters
NameTypeDescription
elementPackageableElement 
Return value
void
void