{
private ComputedValueModel<String, T> model;
public WatermarkFormatBuilder(Collection<Metadata> allMetadata, ValueModel<T> model)
{
this.model= new ComputedValueModel<String, T>(model, new ToStringFunction());
for (Metadata metadata : allMetadata)
{
metadata.setWatermarkModel(this.model);
}
}