@Test public void testIdentifyColumnCorrectly() { LhsBuilder builder = new LhsBuilder( 9, 1, null ); assertFalse(builder.isMultipleConstraints()); builder = new LhsBuilder( 9, 1, "Foo" ); assertTrue(builder.isMultipleConstraints()); builder = new LhsBuilder( 9, 1, "f:Foo() eval " ); assertTrue(builder.isMultipleConstraints()); builder = new LhsBuilder( 9, 1, "f: Foo()" ); assertTrue(builder.isMultipleConstraints()); }
boolean isMultipleConstraints() { return multiple; }
LhsBuilder implements SourceBuilder { boolean isMultipleConstraints() { return multiple; } }
LhsBuilder implements SourceBuilder { boolean isMultipleConstraints() { return multiple; } LhsBuilder( int row,
                       int column,
                       String colDefinition ); }
LhsBuilder implements SourceBuilder { boolean isMultipleConstraints() { return multiple; } LhsBuilder( int row,
                       int column,
                       String colDefinition ); ActionType.Code getActionTypeCode(); void addTemplate( int row,
                             int column,
                             String content ); void clearValues(); void addCellValue( int row, int column, String value); void addCellValue( int row, int column, String value, boolean trim); String getResult(); FieldType calcFieldType( String content ); boolean hasValues(); int getColumn(); }
LhsBuilder implements SourceBuilder { boolean isMultipleConstraints() { return multiple; } LhsBuilder( int row,
                       int column,
                       String colDefinition ); ActionType.Code getActionTypeCode(); void addTemplate( int row,
                             int column,
                             String content ); void clearValues(); void addCellValue( int row, int column, String value); void addCellValue( int row, int column, String value, boolean trim); String getResult(); FieldType calcFieldType( String content ); boolean hasValues(); int getColumn();  }