Class DigitalServiceEvent

  • All Implemented Interfaces:
    java.io.Serializable

    public class DigitalServiceEvent
    extends DigitalServiceEventHeader
    DigitalServiceEvent describes the structure of the events emitted by the Digital Service OMAS.
    See Also:
    Serialized Form
    • Constructor Detail

      • DigitalServiceEvent

        public DigitalServiceEvent()
        Default constructor
      • DigitalServiceEvent

        public DigitalServiceEvent​(DigitalServiceEvent template)
        Copy/clone constructor
        Parameters:
        template - object to copy
    • Method Detail

      • setEventType

        public void setEventType​(DigitalServiceEventType eventType)
        Set up the type of event.
        Parameters:
        eventType - - event type enum
      • getOriginalDigitalService

        public DigitalService getOriginalDigitalService()
        Return the original digital service description.
        Returns:
        properties about the digitalService
      • setOriginalDigitalService

        public void setOriginalDigitalService​(DigitalService originalDigitalService)
        Set up the original digital service description.
        Parameters:
        originalDigitalService - - properties about the digitalService.
      • getDigitalService

        public DigitalService getDigitalService()
        Return the digital service description.
        Returns:
        properties about the digitalService
      • setDigitalService

        public void setDigitalService​(DigitalService digitalService)
        Set up the digital service description.
        Parameters:
        digitalService - - properties about the digitalService.
      • equals

        public boolean equals​(java.lang.Object objectToCompare)
        Return comparison result based on the content of the properties. Return comparison result based on the content of the properties.
        Overrides:
        equals in class DigitalServiceEventHeader