| Constructor and Description |
|---|
Builder(String eventId,
Patient patient)
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Event.Builder |
activeStatus(String activeStatus)
Sets the active status property of the event being built.
|
Event |
build()
Builds and returns the event
|
Event.Builder |
endDate(Date endDate)
Sets the end date of the event being built.
|
Event.Builder |
inOut(String inOut)
Sets the in-out property of the event being built.
|
Event.Builder |
location(String location)
Sets the location of the event being built.
|
Event.Builder |
startDate(Date startDate)
Sets the start date of the event being built.
|
public Event.Builder startDate(Date startDate)
startDate - the start date of the eventpublic Event.Builder endDate(Date endDate)
endDate - the end date of the eventpublic Event.Builder inOut(String inOut)
inOut - the in-out property of the eventpublic Event.Builder location(String location)
location - the location of the eventpublic Event.Builder activeStatus(String activeStatus)
activeStatus - the active status of the eventCopyright © 2015 Emory University. All rights reserved.