Class DataManagerOutboundEvent

  • All Implemented Interfaces:
    java.io.Serializable

    public class DataManagerOutboundEvent
    extends DataManagerEventHeader
    DataManagerOutboundEvent describes the structure of the events emitted by the Data Manager OMAS.
    See Also:
    Serialized Form
    • Constructor Detail

      • DataManagerOutboundEvent

        public DataManagerOutboundEvent()
        Default constructor
      • DataManagerOutboundEvent

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

      • setEventType

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

        public ElementStub getPrincipleElement()
        Return the element that is the subject of the event.
        Returns:
        element identifiers
      • setPrincipleElement

        public void setPrincipleElement​(ElementStub principleElement)
        Set up the element that is the subject of the event.
        Parameters:
        principleElement - element identifiers
      • getClassificationName

        public java.lang.String getClassificationName()
        Return the name of the classification that has changed. Only set up for classify, reclassify and declassify events.
        Returns:
        string name
      • setClassificationName

        public void setClassificationName​(java.lang.String classificationName)
        Set up the name of the classification that has changed. Only set up for classify, reclassify and declassify events.
        Parameters:
        classificationName - string name
      • getEndOneElement

        public ElementStub getEndOneElement()
        Return the element at end one of the relationship that is described in the principleElement. This is only set up on relationship events.
        Returns:
        element stub of entity at end 1
      • setEndOneElement

        public void setEndOneElement​(ElementStub endOneElement)
        Set up the element at end one of the relationship that is described in the principleElement. This is only set up on relationship events.
        Parameters:
        endOneElement - element stub of entity at end 1
      • getEndTwoElement

        public ElementStub getEndTwoElement()
        Return the element at end two of the relationship that is described in the principleElement. This is only set up on relationship events.
        Returns:
        element stub of entity at end 2
      • setEndTwoElement

        public void setEndTwoElement​(ElementStub endTwoElement)
        Set up the element at end two of the relationship that is described in the principleElement. This is only set up on relationship events.
        Parameters:
        endTwoElement - element stub of entity at end 2
      • toString

        public java.lang.String toString()
        JSON-style toString
        Overrides:
        toString in class DataManagerEventHeader
        Returns:
        return string containing the property names and values
      • equals

        public boolean equals​(java.lang.Object objectToCompare)
        Return comparison result based on the content of the properties.
        Overrides:
        equals in class DataManagerEventHeader
        Parameters:
        objectToCompare - test object
        Returns:
        result of comparison