@SuppressWarnings("unchecked")
protected Object initChildCollection( Object parent ) throws Exception {
if (parent == null) {
return null;
}
BeanWrapper wrapper = new BeanWrapperImpl (parent);
Object childCollection=null;
Class propertyType = wrapper.getPropertyType( this.childCollectionProperty );
if (List.class.isAssignableFrom( propertyType )) {
childCollection = new ArrayList();
} else if (Set.class.isAssignableFrom( propertyType )) {
childCollection = new HashSet();
} else if (Map.class.isAssignableFrom( propertyType )) {