Class RequestSourceElement

  • All Implemented Interfaces:
    java.io.Serializable

    public class RequestSourceElement
    extends java.lang.Object
    implements java.io.Serializable
    RequestSourceElement describes the element that triggered the request to the governance action service.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object objectToCompare)
      Compare the values of the supplied object with those stored in the current object.
      java.lang.String getOriginGovernanceEngine()
      Return the governance engine that created this governance action (if any).
      java.lang.String getOriginGovernanceService()
      Return the governance service that created this governance action (if any).
      OpenMetadataElement getRequestSourceElement()
      Return the specific element that caused the governance action service to be started.
      java.lang.String getRequestSourceName()
      Return the assigned to this request source.
      int hashCode()
      Create a hash code for this element type.
      void setOriginGovernanceEngine​(java.lang.String originGovernanceEngine)
      Set up the governance engine that created this governance action (if any).
      void setOriginGovernanceService​(java.lang.String originGovernanceService)
      Set up the governance service that created this governance action (if any).
      void setRequestSourceElement​(OpenMetadataElement requestSourceElement)
      Set up the specific element that caused the governance action service to be started.
      void setRequestSourceName​(java.lang.String requestSourceName)
      Set up the assigned to this request source.
      java.lang.String toString()
      Standard toString method.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • RequestSourceElement

        public RequestSourceElement()
        Typical Constructor
      • RequestSourceElement

        public RequestSourceElement​(RequestSourceElement template)
        Copy/clone Constructor the resulting object will return true if tested with this.equals(template) as long as the template object is not null;
        Parameters:
        template - object being copied
    • Method Detail

      • getRequestSourceName

        public java.lang.String getRequestSourceName()
        Return the assigned to this request source. This name heps to guide the governance service in its processing.
        Returns:
        string name
      • setRequestSourceName

        public void setRequestSourceName​(java.lang.String requestSourceName)
        Set up the assigned to this request source. This name heps to guide the governance service in its processing.
        Parameters:
        requestSourceName - string name
      • getRequestSourceElement

        public OpenMetadataElement getRequestSourceElement()
        Return the specific element that caused the governance action service to be started.
        Returns:
        metadata element
      • setRequestSourceElement

        public void setRequestSourceElement​(OpenMetadataElement requestSourceElement)
        Set up the specific element that caused the governance action service to be started.
        Parameters:
        requestSourceElement - metadata element
      • getOriginGovernanceService

        public java.lang.String getOriginGovernanceService()
        Return the governance service that created this governance action (if any).
        Returns:
        string name
      • setOriginGovernanceService

        public void setOriginGovernanceService​(java.lang.String originGovernanceService)
        Set up the governance service that created this governance action (if any).
        Parameters:
        originGovernanceService - string name
      • getOriginGovernanceEngine

        public java.lang.String getOriginGovernanceEngine()
        Return the governance engine that created this governance action (if any).
        Returns:
        string name
      • setOriginGovernanceEngine

        public void setOriginGovernanceEngine​(java.lang.String originGovernanceEngine)
        Set up the governance engine that created this governance action (if any).
        Parameters:
        originGovernanceEngine - string name
      • toString

        public java.lang.String toString()
        Standard toString method.
        Overrides:
        toString in class java.lang.Object
        Returns:
        print out of variables in a JSON-style
      • equals

        public boolean equals​(java.lang.Object objectToCompare)
        Compare the values of the supplied object with those stored in the current object.
        Overrides:
        equals in class java.lang.Object
        Parameters:
        objectToCompare - supplied object
        Returns:
        boolean result of comparison
      • hashCode

        public int hashCode()
        Create a hash code for this element type.
        Overrides:
        hashCode in class java.lang.Object
        Returns:
        int hash code