ObjectArrayEventType objectArrayEventType = (ObjectArrayEventType) selectFromType;
targetType = statementContext.getEventAdapterService().addNestableObjectArrayType(typeName, objectArrayEventType.getTypes(), null, false, false, false, true, false);
}
else if (selectFromType instanceof MapEventType)
{
MapEventType mapType = (MapEventType) selectFromType;
targetType = statementContext.getEventAdapterService().addNestableMapType(typeName, mapType.getTypes(), null, false, false, false, true, false);
}
else if (selectFromType instanceof BeanEventType)
{
BeanEventType beanType = (BeanEventType) selectFromType;
targetType = statementContext.getEventAdapterService().addBeanTypeByName(typeName, beanType.getUnderlyingType(), true);