class banquet{
banquet( /*int code,*/ String title){
//this.code = code;
this.title = title;
}
public String title;
//public int code;
}
Per quanto ne so di FreeMarker, per i "bean" accede alle "proprietà" .... non direttamente ai campi. Quindi metti pure title private e poi i getter/setter pubblici.