package org.vaadin.viritin.fields;

public interface CaptionGenerator<T> {
	
	public String getCaption(T option);
	
}
package org.vaadin.viritin.fields;

import java.io.Serializable;

public interface CaptionGenerator<T> extends Serializable {
	
	public String getCaption(T option);
	
}
Make CaptionGenerator serializable