@Test( expected = NullPointerException.class ) public void testSetDetailsFooterException() { body.setDetailsFooter( null ); }
public void setDetailsFooter( final DetailsFooter detailsFooter ) { if ( detailsFooter == null ) { throw new NullPointerException( "The detailsFooter must not be null" ); } validateLooping( detailsFooter ); if ( unregisterParent( detailsFooter ) ) { return; } final DetailsFooter oldElement = this.detailsFooter; this.detailsFooter.setParent( null ); this.detailsFooter = detailsFooter; this.detailsFooter.setParent( this ); notifyNodeChildRemoved( oldElement ); notifyNodeChildAdded( this.detailsFooter ); }
GroupDataBody extends GroupBody { public void setDetailsFooter( final DetailsFooter detailsFooter ) { if ( detailsFooter == null ) { throw new NullPointerException( "The detailsFooter must not be null" ); } validateLooping( detailsFooter ); if ( unregisterParent( detailsFooter ) ) { return; } final DetailsFooter oldElement = this.detailsFooter; this.detailsFooter.setParent( null ); this.detailsFooter = detailsFooter; this.detailsFooter.setParent( this ); notifyNodeChildRemoved( oldElement ); notifyNodeChildAdded( this.detailsFooter ); } }
GroupDataBody extends GroupBody { public void setDetailsFooter( final DetailsFooter detailsFooter ) { if ( detailsFooter == null ) { throw new NullPointerException( "The detailsFooter must not be null" ); } validateLooping( detailsFooter ); if ( unregisterParent( detailsFooter ) ) { return; } final DetailsFooter oldElement = this.detailsFooter; this.detailsFooter.setParent( null ); this.detailsFooter = detailsFooter; this.detailsFooter.setParent( this ); notifyNodeChildRemoved( oldElement ); notifyNodeChildAdded( this.detailsFooter ); } GroupDataBody(); }
GroupDataBody extends GroupBody { public void setDetailsFooter( final DetailsFooter detailsFooter ) { if ( detailsFooter == null ) { throw new NullPointerException( "The detailsFooter must not be null" ); } validateLooping( detailsFooter ); if ( unregisterParent( detailsFooter ) ) { return; } final DetailsFooter oldElement = this.detailsFooter; this.detailsFooter.setParent( null ); this.detailsFooter = detailsFooter; this.detailsFooter.setParent( this ); notifyNodeChildRemoved( oldElement ); notifyNodeChildAdded( this.detailsFooter ); } GroupDataBody(); Group getGroup(); NoDataBand getNoDataBand(); void setNoDataBand( final NoDataBand noDataBand ); ItemBand getItemBand(); void setItemBand( final ItemBand itemBand ); DetailsHeader getDetailsHeader(); void setDetailsHeader( final DetailsHeader detailsHeader ); DetailsFooter getDetailsFooter(); void setDetailsFooter( final DetailsFooter detailsFooter ); int getElementCount(); Element getElement( final int index ); void setElementAt( final int position, final Element element ); GroupDataBody clone(); GroupDataBody derive( final boolean preserveElementInstanceIds ); }
GroupDataBody extends GroupBody { public void setDetailsFooter( final DetailsFooter detailsFooter ) { if ( detailsFooter == null ) { throw new NullPointerException( "The detailsFooter must not be null" ); } validateLooping( detailsFooter ); if ( unregisterParent( detailsFooter ) ) { return; } final DetailsFooter oldElement = this.detailsFooter; this.detailsFooter.setParent( null ); this.detailsFooter = detailsFooter; this.detailsFooter.setParent( this ); notifyNodeChildRemoved( oldElement ); notifyNodeChildAdded( this.detailsFooter ); } GroupDataBody(); Group getGroup(); NoDataBand getNoDataBand(); void setNoDataBand( final NoDataBand noDataBand ); ItemBand getItemBand(); void setItemBand( final ItemBand itemBand ); DetailsHeader getDetailsHeader(); void setDetailsHeader( final DetailsHeader detailsHeader ); DetailsFooter getDetailsFooter(); void setDetailsFooter( final DetailsFooter detailsFooter ); int getElementCount(); Element getElement( final int index ); void setElementAt( final int position, final Element element ); GroupDataBody clone(); GroupDataBody derive( final boolean preserveElementInstanceIds );  }