Ver Mensaje Individual
  #2  
Antiguo 14-03-2008
Fate Fate is offline
Invitado
 
Registrado: dic 2007
Posts: 108
Reputación: 0
Fate Va por buen camino
Ejemplo

public enum IdStatusFlow {
REGISTRO_RECLAMACION (0),
PAGO_REQUERIDO (1),
MEDIO_ENVIO_REQUERIDO (2),
ELEGIR_CORRECIONES (3),
CAPTURAR_CORRECIONES (4),
REVISION (5),
RECLAMACION_CANCELADA (6),
RECLAMACION_REGISTRADA (7);
}


Despues puedes en lugar de compara una variable digamos X con 0,1,2 o asi, pues mejor con su sinónimo, ej:

Código:
if(x == PAGO_REQUERIDO ){
algo
}
Responder Con Cita