public class OMRSEventV1 extends OMRSEventBean
protocolVersionId| Constructor and Description |
|---|
OMRSEventV1()
Default constructor ensures the protocol version id is set in the superclass.
|
| Modifier and Type | Method and Description |
|---|---|
OMRSEventV1ErrorSection |
getErrorSection() |
OMRSEventCategory |
getEventCategory() |
OMRSEventV1InstanceSection |
getInstanceEventSection() |
OMRSEventOriginator |
getOriginator()
Return details about the event originator.
|
OMRSEventV1RegistrySection |
getRegistryEventSection() |
Date |
getTimestamp()
Return the timestamp for when the event was created.
|
OMRSEventV1TypeDefSection |
getTypeDefEventSection() |
void |
setErrorSection(OMRSEventV1ErrorSection errorSection) |
void |
setEventCategory(OMRSEventCategory eventCategory) |
void |
setInstanceEventSection(OMRSEventV1InstanceSection instanceEventSection) |
void |
setOriginator(OMRSEventOriginator originator) |
void |
setRegistryEventSection(OMRSEventV1RegistrySection registryEventSection) |
void |
setTimestamp(Date timestamp)
Set up the timestamp for when the event was created.
|
void |
setTypeDefEventSection(OMRSEventV1TypeDefSection typeDefEventSection) |
String |
toString()
JSON-style toString.
|
getProtocolVersionId, setProtocolVersionIdpublic OMRSEventV1()
public Date getTimestamp()
public void setTimestamp(Date timestamp)
timestamp - data/time for the event creationpublic OMRSEventOriginator getOriginator()
public void setOriginator(OMRSEventOriginator originator)
public OMRSEventCategory getEventCategory()
public void setEventCategory(OMRSEventCategory eventCategory)
public OMRSEventV1RegistrySection getRegistryEventSection()
public void setRegistryEventSection(OMRSEventV1RegistrySection registryEventSection)
public OMRSEventV1TypeDefSection getTypeDefEventSection()
public void setTypeDefEventSection(OMRSEventV1TypeDefSection typeDefEventSection)
public OMRSEventV1InstanceSection getInstanceEventSection()
public void setInstanceEventSection(OMRSEventV1InstanceSection instanceEventSection)
public OMRSEventV1ErrorSection getErrorSection()
public void setErrorSection(OMRSEventV1ErrorSection errorSection)
public String toString()
toString in class OMRSEventBeanCopyright © 2018–2021 LF AI & Data Foundation. All rights reserved.