@Test public void create() { FormulaArgument argument = FormulaArgument.create( "TEST_FIELD" ); String actualFormulaString = argument.getFormula(); assertEquals( "=[TEST_FIELD]", actualFormulaString ); }
public static FormulaArgument create( final String reportField ) { return new FormulaArgument( '=' + FormulaUtil.quoteReference( reportField ) ); }
FormulaArgument implements Serializable { public static FormulaArgument create( final String reportField ) { return new FormulaArgument( '=' + FormulaUtil.quoteReference( reportField ) ); } }
FormulaArgument implements Serializable { public static FormulaArgument create( final String reportField ) { return new FormulaArgument( '=' + FormulaUtil.quoteReference( reportField ) ); } FormulaArgument( final String formula ); }
FormulaArgument implements Serializable { public static FormulaArgument create( final String reportField ) { return new FormulaArgument( '=' + FormulaUtil.quoteReference( reportField ) ); } FormulaArgument( final String formula ); String getFormula(); static FormulaArgument create( final String reportField ); static FormulaArgument[] convert( final String[] definedArgumentNames ); static String[] convert( final FormulaArgument[] args ); String[] getReferencedFields(); Object compute( final FormulaContext formulaContext ); boolean equals( final Object o ); int hashCode(); }
FormulaArgument implements Serializable { public static FormulaArgument create( final String reportField ) { return new FormulaArgument( '=' + FormulaUtil.quoteReference( reportField ) ); } FormulaArgument( final String formula ); String getFormula(); static FormulaArgument create( final String reportField ); static FormulaArgument[] convert( final String[] definedArgumentNames ); static String[] convert( final FormulaArgument[] args ); String[] getReferencedFields(); Object compute( final FormulaContext formulaContext ); boolean equals( final Object o ); int hashCode();  }