* @see javax.faces.convert.Converter#getAsObject(javax.faces.context.FacesContext,
* javax.faces.component.UIComponent, java.lang.String)
*/
@SuppressWarnings("unchecked")
public Object getAsObject(FacesContext facesContext, UIComponent component, String value) {
BaseEntity entity;
if (value == null || "".equals(value)) {
entity = null;
} else {
String[] idAndClass = value.split("_");