java.lang.Object
org.odpi.openmetadata.accessservices.assetmanager.metadataelements.RequestSourceElement

public class RequestSourceElement extends Object
RequestSourceElement describes the element that triggered the request to the governance action service.
  • Constructor Details

    • 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 Details

    • getRequestSourceName

      public 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(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 ElementStub getRequestSourceElement()
      Return the specific element that caused the governance action service to be started.
      Returns:
      metadata element
    • setRequestSourceElement

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

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

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

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

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

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

      public boolean equals(Object objectToCompare)
      Compare the values of the supplied object with those stored in the current object.
      Overrides:
      equals in class 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 Object
      Returns:
      int hash code