Package org.jbpm.test.entity
Class Patient
- java.lang.Object
-
- org.jbpm.test.entity.Patient
-
- All Implemented Interfaces:
Serializable
@Entity public class Patient extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)LonggetId()StringgetName()DategetNextAppointment()MedicalRecordgetRecord()inthashCode()voidsetId(Long id)voidsetName(String name)voidsetNextAppointment(Date nextAppointment)voidsetRecord(MedicalRecord record)StringtoString()
-
-
-
Constructor Detail
-
Patient
public Patient()
-
Patient
public Patient(String name)
-
-
Method Detail
-
getId
public Long getId()
-
setId
public void setId(Long id)
-
getNextAppointment
public Date getNextAppointment()
-
setNextAppointment
public void setNextAppointment(Date nextAppointment)
-
getName
public String getName()
-
setName
public void setName(String name)
-
getRecord
public MedicalRecord getRecord()
-
setRecord
public void setRecord(MedicalRecord record)
-
-