private void generateCollectionSetter( final JCodeModel cm, final ClassOutline c, final CPropertyInfo p )
{
final JFieldVar field = c.implClass.fields().get( p.getName( false ) );
final JMethod setter = c.implClass.method( JMod.PUBLIC, cm.VOID, "set" + p.getName( true ) );
final JVar valueParam = setter.param( JMod.FINAL, field.type(), "value" );
final JBlock body = setter.body();
body.directStatement( "// " + getMessage( "title" ) );
body.assign( JExpr._this().ref( field ), valueParam );
setter.javadoc().append( "Sets the value of the " + p.getName( false ) + " property." );