Blame |
Last modification |
View Log
| Download
| RSS feed
package br.com.ec.controller.converters;
import br.com.ec.domain.model.SubtipoProduto;
import br.com.ec.web.converters.ConversorGeneric;
public class ConverterSubtipoProduto
extends ConversorGeneric
{
protected static final String key =
"jsf.EntityConverter.SubtipoProduto";
protected String getID
(Object value
) {
if (value ==
null) {
return "";
}
return ((SubtipoProduto
) value
).
getSequencial().
toString();
}
@
Override
protected String getKey
() {
return key
;
}
}