@Test public void testClone() { CrosstabOtherGroupBody body = new CrosstabOtherGroupBody(); CrosstabOtherGroupBody result = body.clone(); assertThat( result, is( notNullValue() ) ); assertThat( result, is( not( equalTo( body ) ) ) ); assertThat( result.getGroup(), is( not( equalTo( body.getGroup() ) ) ) ); }
public CrosstabOtherGroupBody clone() { final CrosstabOtherGroupBody o = (CrosstabOtherGroupBody) super.clone(); o.group = (CrosstabOtherGroup) group.clone(); o.registerAsChild( o.group ); return o; }
CrosstabOtherGroupBody extends GroupBody { public CrosstabOtherGroupBody clone() { final CrosstabOtherGroupBody o = (CrosstabOtherGroupBody) super.clone(); o.group = (CrosstabOtherGroup) group.clone(); o.registerAsChild( o.group ); return o; } }
CrosstabOtherGroupBody extends GroupBody { public CrosstabOtherGroupBody clone() { final CrosstabOtherGroupBody o = (CrosstabOtherGroupBody) super.clone(); o.group = (CrosstabOtherGroup) group.clone(); o.registerAsChild( o.group ); return o; } CrosstabOtherGroupBody();  CrosstabOtherGroupBody( final CrosstabOtherGroup group ); }
CrosstabOtherGroupBody extends GroupBody { public CrosstabOtherGroupBody clone() { final CrosstabOtherGroupBody o = (CrosstabOtherGroupBody) super.clone(); o.group = (CrosstabOtherGroup) group.clone(); o.registerAsChild( o.group ); return o; } CrosstabOtherGroupBody();  CrosstabOtherGroupBody( final CrosstabOtherGroup group ); CrosstabOtherGroup getGroup(); void setGroup( final CrosstabOtherGroup group ); void setElementAt( final int position, final Element element ); int getElementCount(); Element getElement( final int index ); CrosstabOtherGroupBody clone(); CrosstabOtherGroupBody derive( final boolean preserveElementInstanceIds ); }
CrosstabOtherGroupBody extends GroupBody { public CrosstabOtherGroupBody clone() { final CrosstabOtherGroupBody o = (CrosstabOtherGroupBody) super.clone(); o.group = (CrosstabOtherGroup) group.clone(); o.registerAsChild( o.group ); return o; } CrosstabOtherGroupBody();  CrosstabOtherGroupBody( final CrosstabOtherGroup group ); CrosstabOtherGroup getGroup(); void setGroup( final CrosstabOtherGroup group ); void setElementAt( final int position, final Element element ); int getElementCount(); Element getElement( final int index ); CrosstabOtherGroupBody clone(); CrosstabOtherGroupBody derive( final boolean preserveElementInstanceIds );  }