public class Event extends BaseDataObject
Event is a logical happening or experience of BaseEntity with the system as
defined by the program workflow. The difference of an Event and other activities in
system is that the data of Event is meaningful for business clients of system and also
the data links back with international standard dictionaries. An Event in system is
recorded via a form filled by data Provider. The form data is represented by
FormSubmission| Constructor and Description |
|---|
Event() |
Event(String baseEntityId,
String eventType,
org.joda.time.DateTime eventDate,
String entityType,
String providerId,
String locationId,
String formSubmissionId) |
getCreator, getDateCreated, getDateEdited, getDateVoided, getEditor, getVoided, getVoider, getVoidReason, setCreator, setDateCreated, setDateEdited, setDateVoided, setEditor, setVoided, setVoider, setVoidReason, withCreator, withDateCreated, withDateEdited, withDateVoided, withEditor, withVoided, withVoider, withVoidReasonpublic void addObs(Obs observation)
public String getBaseEntityId()
public void setBaseEntityId(String baseEntityId)
public String getIdentifierMatchingRegex(String regex)
regex - public void removeIdentifier(String identifierType)
public String getLocationId()
public void setLocationId(String locationId)
public org.joda.time.DateTime getEventDate()
public void setEventDate(org.joda.time.DateTime eventDate)
public String getEventType()
public void setEventType(String eventType)
public String getFormSubmissionId()
public void setFormSubmissionId(String formSubmissionId)
public String getProviderId()
public void setProviderId(String providerId)
public String getEntityType()
public void setEntityType(String entityType)
public long getVersion()
public void setVersion(long version)
public Event withIdentifiers(Map<String,String> identifiers)
identifiers - public Event withEventDate(org.joda.time.DateTime eventDate)
public Event withObs(List<Obs> obs)
obs - public String toString()
toString in class BaseDataObjectCopyright © 2018. All rights reserved.