*/
public class QueryModelPropertyGetterSetter implements Visitor {
public Object visitTemplateElement(TemplateElement element) {
ModuleConfModel moduleConf = element.getModuleConf();
String domainFields[] = ((ExtendConfModel)moduleConf.getMapExtends().get("queryModelForDomainFields")).getValues();
String domainFieldsTypes[] = ((ExtendConfModel)moduleConf.getMapExtends().get("queryModelForDomainFieldsTypes")).getValues();
StringBuffer buffer = new StringBuffer("");
for(int i = 0; i < domainFields.length; i++) {
if(domainFields[i] != null && domainFields[i].trim().length() != 0) {
buffer.append((new StringBuilder("public void set")).append(domainFields[i].substring(0, 1).toUpperCase()).append(domainFields[i].substring(1)).append("(").append(domainFieldsTypes[i]).append(" obj) {\n\t\t").toString());