Java tutorial
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package com.siapa.model.managedbean.crud.converter; import javax.faces.component.UIComponent; import javax.faces.context.FacesContext; import javax.faces.convert.Converter; import org.springframework.stereotype.Component; /** * * @author Joao */ @Component(value = "detalleCompraAlimentoConverter") public class DetalleCompraAlimentoConverter implements Converter { @Override public Object getAsObject(FacesContext fc, UIComponent uic, String string) { throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates. } @Override public String getAsString(FacesContext fc, UIComponent uic, Object o) { throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates. } }