@Test public void testGetField() { CrosstabOtherGroup crosstab = new CrosstabOtherGroup(); String result = crosstab.getField(); assertThat( result, is( nullValue() ) ); crosstab.setAttribute( AttributeNames.Core.NAMESPACE, AttributeNames.Core.FIELD, "field_value" ); result = crosstab.getField(); assertThat( result, is( equalTo( "field_value" ) ) ); }
public String getField() { final Object o = getAttribute( AttributeNames.Core.NAMESPACE, AttributeNames.Core.FIELD ); if ( o == null ) { return null; } return o.toString(); }
CrosstabOtherGroup extends Group { public String getField() { final Object o = getAttribute( AttributeNames.Core.NAMESPACE, AttributeNames.Core.FIELD ); if ( o == null ) { return null; } return o.toString(); } }
CrosstabOtherGroup extends Group { public String getField() { final Object o = getAttribute( AttributeNames.Core.NAMESPACE, AttributeNames.Core.FIELD ); if ( o == null ) { return null; } return o.toString(); } CrosstabOtherGroup();  CrosstabOtherGroup( final GroupBody body );  CrosstabOtherGroup( final CrosstabCellBody body );  CrosstabOtherGroup( final CrosstabColumnGroupBody body ); }
CrosstabOtherGroup extends Group { public String getField() { final Object o = getAttribute( AttributeNames.Core.NAMESPACE, AttributeNames.Core.FIELD ); if ( o == null ) { return null; } return o.toString(); } CrosstabOtherGroup();  CrosstabOtherGroup( final GroupBody body );  CrosstabOtherGroup( final CrosstabCellBody body );  CrosstabOtherGroup( final CrosstabColumnGroupBody body ); GroupHeader getHeader(); void setHeader( final GroupHeader header ); GroupFooter getFooter(); void setFooter( final GroupFooter footer ); CrosstabOtherGroup clone(); CrosstabOtherGroup derive( final boolean preserveElementInstanceIds ); Element getElement( final int index ); int getElementCount(); void setElementAt( final int index, final Element element ); String getField(); void setField( final String field ); void setBody( final GroupBody body ); boolean isGroupChange( final DataRow dataRow ); List<SortConstraint> getSortingConstraint(); }
CrosstabOtherGroup extends Group { public String getField() { final Object o = getAttribute( AttributeNames.Core.NAMESPACE, AttributeNames.Core.FIELD ); if ( o == null ) { return null; } return o.toString(); } CrosstabOtherGroup();  CrosstabOtherGroup( final GroupBody body );  CrosstabOtherGroup( final CrosstabCellBody body );  CrosstabOtherGroup( final CrosstabColumnGroupBody body ); GroupHeader getHeader(); void setHeader( final GroupHeader header ); GroupFooter getFooter(); void setFooter( final GroupFooter footer ); CrosstabOtherGroup clone(); CrosstabOtherGroup derive( final boolean preserveElementInstanceIds ); Element getElement( final int index ); int getElementCount(); void setElementAt( final int index, final Element element ); String getField(); void setField( final String field ); void setBody( final GroupBody body ); boolean isGroupChange( final DataRow dataRow ); List<SortConstraint> getSortingConstraint();  }