public String getAsString(FacesContext facesContext, UIComponent component, Object object) {
if (object == null) {
return null;
}
if (object instanceof EsProv) {
EsProv o = (EsProv) object;
return getStringKey(o.getEsProvId());
} else {
throw new IllegalArgumentException("object " + object + " is of type " + object.getClass().getName() + "; expected type: " + EsProv.class.getName());
}
}