UpperToLowerCamelCaseTransform class

A transform that converts its rename targets from UpperCamelCase to lowerCamelCase.

Inheritance Hierarchy

UpperToLowerCamelCaseTransform RenamingTransform PackagedElementTransform

Operations

NameReturnsDescription
constructor(targets)

UpperToLowerCamelCaseTransform.constructor

X

Constructor. Creates a new UpperToLowerCamelCaseTransform with the specified targets.

Parameters
NameTypeDescription
targetsRenameTargets [0..1]Optional: indicates which elements to rename. The default is RenameTargets.all.
Return value
Type: UpperToLowerCamelCaseTransform 
UpperToLowerCamelCaseTransform Constructor. Creates a new UpperToLowerCamelCaseTransform with the specified targets.  
rename(name, target)

UpperToLowerCamelCaseTransform.rename

X

Parameters
NameTypeDescription
namestring 
targetElement 
Return value
Type: string 
string  
transform(pack)

UpperToLowerCamelCaseTransform.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)

UpperToLowerCamelCaseTransform.transformElement

X

Parameters
NameTypeDescription
elementPackageableElement 
Return value
void
void  Inherited from RenamingTransform.