private void makeWorkItemParameterDRL( PortableParameterDefinition ppd, String wiImplName ) { boolean makeParameter = true; //Only add bound parameters if their binding exists (i.e. the corresponding column has a value or - for Limited Entry - is true) if ( ppd instanceof HasBinding ) { HasBinding hb = (HasBinding) ppd; if ( hb.isBound() ) { String binding = hb.getBinding(); makeParameter = isBindingValid( binding ); } } if ( makeParameter ) { buf.append( indentation ); buf.append( wiImplName ); buf.append( ".getParameters().put( \"" ); buf.append( ppd.getName() ); buf.append( "\", " ); buf.append( ppd.asString() ); buf.append( " );\n" ); } }
private void makeWorkItemParameterDRL( PortableParameterDefinition ppd, String wiImplName ) { boolean makeParameter = true; //Only add bound parameters if their binding exists (i.e. the corresponding column has a value or - for Limited Entry - is true) if ( ppd instanceof HasBinding ) { HasBinding hb = (HasBinding) ppd; if ( hb.isBound() ) { String binding = hb.getBinding(); makeParameter = isBindingValid( binding ); } } if ( makeParameter ) { buf.append( indentation ); buf.append( wiImplName ); buf.append( ".getParameters().put( \"" ); buf.append( ppd.getName() ); buf.append( "\", " ); buf.append( ppd.asString() ); buf.append( " );\n" ); } }