{
if (parentElement instanceof ModelObject)
{
ModelObject modelObject = (ModelObject)parentElement;
IModelClass modelClass = modelObject.getModelClass();
IModelProperty[] properties = modelClass.getProperties();
Object[] children = new Object[properties.length];
for (int i = 0; i < properties.length; i++)
{