cascadeProperty( action, cascadePoint,
cascadeProperty( action, cascadePoint,
child = persister.getPropertyValue( parent, i ); cascadeProperty( action, cascadePoint,
private void cascadeComponent( final Object parent, final Object child, final CompositeType componentType, final String componentPropertyName, final Object anything) { componentPathStack.push( componentPropertyName ); Object[] children = componentType.getPropertyValues( child, eventSource ); Type[] types = componentType.getSubtypes(); for ( int i=0; i<types.length; i++ ) { final CascadeStyle componentPropertyStyle = componentType.getCascadeStyle(i); final String subPropertyName = componentType.getPropertyNames()[i]; if ( componentPropertyStyle.doCascade(action) ) { cascadeProperty( parent, children[i], types[i], componentPropertyStyle, subPropertyName, anything, false ); } } componentPathStack.pop(); }
private void cascadeComponent( final Object parent, final Object child, final CompositeType componentType, final String componentPropertyName, final Object anything) { componentPathStack.push( componentPropertyName ); Object[] children = componentType.getPropertyValues( child, eventSource ); Type[] types = componentType.getSubtypes(); for ( int i=0; i<types.length; i++ ) { final CascadeStyle componentPropertyStyle = componentType.getCascadeStyle(i); final String subPropertyName = componentType.getPropertyNames()[i]; if ( componentPropertyStyle.doCascade(action) ) { cascadeProperty( parent, children[i], types[i], componentPropertyStyle, subPropertyName, anything, false ); } } componentPathStack.pop(); }
cascadeProperty( action, cascadePoint,
cascadeProperty( action, cascadePoint,
cascadeProperty( parent, iter.next(),
cascadeProperty( parent, iter.next(),
cascadeProperty( parent, persister.getPropertyValue( parent, i ),
cascadeProperty( parent, persister.getPropertyValue( parent, i ),
child = descriptor.getPropertyValue( parent, i ); cascadeProperty( action, cascadePoint,