@Test public void create() { FormulaParameter formulaParameter = FormulaParameter.create( "TEST_REPORT_FIELD_NAME", "TEST_TRANS_PARAM_NAME" ); assertEquals( "=[TEST_REPORT_FIELD_NAME]", formulaParameter.getFormula() ); }
public static FormulaParameter create( final String reportFieldName, final String transformationParameterName ) { String formula = '=' + FormulaUtil.quoteReference( reportFieldName ); return new FormulaParameter( transformationParameterName, formula ); }
FormulaParameter implements Serializable { public static FormulaParameter create( final String reportFieldName, final String transformationParameterName ) { String formula = '=' + FormulaUtil.quoteReference( reportFieldName ); return new FormulaParameter( transformationParameterName, formula ); } }
FormulaParameter implements Serializable { public static FormulaParameter create( final String reportFieldName, final String transformationParameterName ) { String formula = '=' + FormulaUtil.quoteReference( reportFieldName ); return new FormulaParameter( transformationParameterName, formula ); } FormulaParameter( final String name, final String formula ); }
FormulaParameter implements Serializable { public static FormulaParameter create( final String reportFieldName, final String transformationParameterName ) { String formula = '=' + FormulaUtil.quoteReference( reportFieldName ); return new FormulaParameter( transformationParameterName, formula ); } FormulaParameter( final String name, final String formula ); String getName(); String getFormula(); static FormulaParameter[] convert( final ParameterMapping[] definedVariableNames ); static FormulaParameter create( final String reportFieldName, final String transformationParameterName ); static ParameterMapping[] convert( final FormulaParameter[] args ); boolean equals( final Object o ); int hashCode(); String[] getReferencedFields(); Object compute( final FormulaContext formulaContext ); }
FormulaParameter implements Serializable { public static FormulaParameter create( final String reportFieldName, final String transformationParameterName ) { String formula = '=' + FormulaUtil.quoteReference( reportFieldName ); return new FormulaParameter( transformationParameterName, formula ); } FormulaParameter( final String name, final String formula ); String getName(); String getFormula(); static FormulaParameter[] convert( final ParameterMapping[] definedVariableNames ); static FormulaParameter create( final String reportFieldName, final String transformationParameterName ); static ParameterMapping[] convert( final FormulaParameter[] args ); boolean equals( final Object o ); int hashCode(); String[] getReferencedFields(); Object compute( final FormulaContext formulaContext );  }