@Test public void testCreationHeader() { CrosstabOtherGroupBody body = new CrosstabOtherGroupBody(); assertThat( body.getElementType(), is( instanceOf( CrosstabOtherGroupBodyType.class ) ) ); assertThat( body.getGroup(), is( instanceOf( CrosstabOtherGroup.class ) ) ); assertThat( (CrosstabOtherGroupBody) body.getGroup().getParentSection(), is( equalTo( body ) ) ); CrosstabOtherGroup group = mock( CrosstabOtherGroup.class ); body = new CrosstabOtherGroupBody( group ); assertThat( body.getElementType(), is( instanceOf( CrosstabOtherGroupBodyType.class ) ) ); assertThat( body.getGroup(), is( equalTo( group ) ) ); assertThat( (CrosstabOtherGroupBody) body.getGroup().getParentSection(), is( equalTo( body ) ) ); }
public CrosstabOtherGroup getGroup() { return group; }
CrosstabOtherGroupBody extends GroupBody { public CrosstabOtherGroup getGroup() { return group; } }
CrosstabOtherGroupBody extends GroupBody { public CrosstabOtherGroup getGroup() { return group; } CrosstabOtherGroupBody();  CrosstabOtherGroupBody( final CrosstabOtherGroup group ); }
CrosstabOtherGroupBody extends GroupBody { public CrosstabOtherGroup getGroup() { return group; } 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 CrosstabOtherGroup getGroup() { return group; } 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 );  }