buf.append( action.getMethodName() );
buf.append( "( " );
boolean isFirst = true;
for ( int i = 0; i < fieldValues.length; i++ ) {
ActionFieldFunction valueFunction = (ActionFieldFunction) fieldValues[ i ];
if ( isFirst == true ) {
isFirst = false;
} else {
buf.append( ", " );
}
if ( valueFunction.isFormula() ) {
buf.append( valueFunction.getValue() );
} else if ( valueFunction.getNature() == FieldNatureType.TYPE_VARIABLE ) {
buf.append( valueFunction.getValue() );
} else {
buildDefaultFieldValue( valueFunction,
buf );
}
}