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