Beber eh bom, "Jackess nao sei que codigo que mexi ontem"... isso nao eh maravilhoso, voce da continuidade no trabalho, feliz porque as merda de ontem foram feitas ontem.
package org.nanotek.cms.domain.lucene;
import org.nanotek.util.Base;
@SuppressWarnings("serial")
public class IndexDescription implements Base<Long> {
private Long id;
private String description; // as the name say you store the description of the index on DB, index with no store on lucene.
public IndexDescription() {
}
@Override
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
}