Class OMRSEventV1

  • All Implemented Interfaces:
    Serializable

    public class OMRSEventV1
    extends OMRSEventBean
    OMRSEventV1 is the OMRSEvent payload for version 1 of the open metadata and governance message exchange. It has different sections for the different types of event.
    See Also:
    Serialized Form
    • Constructor Detail

      • OMRSEventV1

        public OMRSEventV1()
        Default constructor ensures the protocol version id is set in the superclass.
    • Method Detail

      • getTimestamp

        public Date getTimestamp()
        Return the timestamp for when the event was created.
        Returns:
        date and time
      • setTimestamp

        public void setTimestamp​(Date timestamp)
        Set up the timestamp for when the event was created.
        Parameters:
        timestamp - data/time for the event creation
      • getOriginator

        public OMRSEventOriginator getOriginator()
        Return details about the event originator. This is to help trace the source of errors or metadata.
        Returns:
        event originator object
      • setEventCategory

        public void setEventCategory​(OMRSEventCategory eventCategory)
      • toString

        public String toString()
        JSON-style toString.
        Overrides:
        toString in class OMRSEventBean
        Returns:
        list of properties and their values.