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 boolean
equals(Object obj)
Long
getId()
String
getName()
Date
getNextAppointment()
MedicalRecord
getRecord()
int
hashCode()
void
setId(Long id)
void
setName(String name)
void
setNextAppointment(Date nextAppointment)
void
setRecord(MedicalRecord record)
String
toString()
-
-
-
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)
-
-