getModelElementsAsString

Fills up the supplied StringBuilder carrying a string representation of the model element and its child model elements Useful for realizing the model element hierarchy.

getClass().getSimpleName() <\type> getName() <\name> child elements here, etc.

Parameters

sb

to hold the model element as a string

n

The starting level of indentation for the model elements