@Entity
public class Ingreso
extends java.lang.Object
implements java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
private Cama |
cama |
private int |
causa |
private int |
consecutivo |
private int |
estado |
private java.time.LocalDateTime |
fechaIngreso |
private java.lang.Integer |
id |
private Paciente |
paciente |
private int |
tipoIngreso |
private int |
tipoRiesgo |
| Constructor and Description |
|---|
Ingreso() |
Ingreso(java.lang.Integer id,
int consecutivo,
int tipoIngreso,
int causa,
int tipoRiesgo,
Paciente paciente,
Cama cama,
java.time.LocalDateTime fechaIngreso,
int estado) |
| Modifier and Type | Method and Description |
|---|---|
void |
desvincularCama() |
Cama |
getCama() |
int |
getCausa() |
int |
getConsecutivo() |
int |
getEstado() |
java.time.LocalDateTime |
getFechaIngreso() |
java.lang.Integer |
getId() |
int |
getIdPaciente() |
Paciente |
getPaciente() |
int |
getTipoIngreso() |
int |
getTipoRiesgo() |
void |
ifCamaOcupadaLiberar() |
boolean |
isCamaVinculada() |
private void |
liberarCama() |
void |
realizarTraslado(Cama nuevaCama) |
void |
setCama(Cama cama) |
void |
setId(java.lang.Integer id) |
void |
setPaciente(Paciente paciente) |
java.lang.String |
toString() |
private java.lang.Integer id
private int consecutivo
private int tipoIngreso
private int causa
private int tipoRiesgo
private java.time.LocalDateTime fechaIngreso
private int estado
private Paciente paciente
private Cama cama
public void ifCamaOcupadaLiberar()
public void realizarTraslado(Cama nuevaCama)
public void desvincularCama()
public boolean isCamaVinculada()
private void liberarCama()
public int getIdPaciente()
public java.lang.Integer getId()
public void setId(java.lang.Integer id)
public int getConsecutivo()
public Paciente getPaciente()
public void setPaciente(Paciente paciente)
public Cama getCama()
public void setCama(Cama cama)
public java.time.LocalDateTime getFechaIngreso()
public int getEstado()
public int getTipoIngreso()
public int getCausa()
public int getTipoRiesgo()
public java.lang.String toString()
toString in class java.lang.Object