@Test public void testGetSortingConstraint() { group.addField( "field_value" ); List<SortConstraint> result = group.getSortingConstraint(); assertThat( result, is( notNullValue() ) ); assertThat( result.size(), is( equalTo( 1 ) ) ); assertThat( result.get( 0 ).getField(), is( equalTo( "field_value" ) ) ); }
public List<SortConstraint> getSortingConstraint() { return mapFields( getFields() ); }
RelationalGroup extends Group { public List<SortConstraint> getSortingConstraint() { return mapFields( getFields() ); } }
RelationalGroup extends Group { public List<SortConstraint> getSortingConstraint() { return mapFields( getFields() ); } RelationalGroup(); }
RelationalGroup extends Group { public List<SortConstraint> getSortingConstraint() { return mapFields( getFields() ); } RelationalGroup(); GroupHeader getHeader(); void setHeader( final GroupHeader header ); GroupFooter getFooter(); void setFooter( final GroupFooter footer ); void setFields( final List<String> c ); void clearFields(); int getElementCount(); void addField( final String name ); List<String> getFields(); void setFieldsArray( final String[] fields ); String[] getFieldsArray(); String toString(); void setBody( final GroupBody body ); boolean equals( final Object obj ); int hashCode(); boolean isGroupChange( final DataRow dataRow ); @Deprecated GroupDataBody findGroupDataBody(); RelationalGroup clone(); RelationalGroup derive( final boolean preserveElementInstanceIds ); Element getElement( final int index ); void setElementAt( final int index, final Element element ); List<SortConstraint> getSortingConstraint(); }
RelationalGroup extends Group { public List<SortConstraint> getSortingConstraint() { return mapFields( getFields() ); } RelationalGroup(); GroupHeader getHeader(); void setHeader( final GroupHeader header ); GroupFooter getFooter(); void setFooter( final GroupFooter footer ); void setFields( final List<String> c ); void clearFields(); int getElementCount(); void addField( final String name ); List<String> getFields(); void setFieldsArray( final String[] fields ); String[] getFieldsArray(); String toString(); void setBody( final GroupBody body ); boolean equals( final Object obj ); int hashCode(); boolean isGroupChange( final DataRow dataRow ); @Deprecated GroupDataBody findGroupDataBody(); RelationalGroup clone(); RelationalGroup derive( final boolean preserveElementInstanceIds ); Element getElement( final int index ); void setElementAt( final int index, final Element element ); List<SortConstraint> getSortingConstraint();  }