Subversion Repositories Integrator Subversion

Rev

Blame | Last modification | View Log | Download | RSS feed

package br.gov.al.saude.srv.web.converters;

import br.gov.al.saude.framework.web.converters.ConversorGeneric;
import br.gov.al.saude.srv.model.CursoEstagio;

public class ConverterCursoEstagio extends ConversorGeneric {
       
        protected static final String key = "jsf.EntityConverter.CursoEstagio";
       
        protected String getID(Object value) {
                if (value == null) {
                        return "";
                }
                return ((CursoEstagio) value).getCodigo().toString();
        }

        @Override
        protected String getKey() {
                return key;
        }

}