Class RequestSourceElement
java.lang.Object
org.odpi.openmetadata.accessservices.assetmanager.metadataelements.RequestSourceElement
RequestSourceElement describes the element that triggered the request to the governance action service.
-
Constructor Summary
ConstructorDescriptionTypical ConstructorRequestSourceElement
(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; -
Method Summary
Modifier and TypeMethodDescriptionboolean
Compare the values of the supplied object with those stored in the current object.Return the governance engine that created this governance action (if any).Return the governance service that created this governance action (if any).Return the specific element that caused the governance action service to be started.Return the assigned to this request source.int
hashCode()
Create a hash code for this element type.void
setOriginGovernanceEngine
(String originGovernanceEngine) Set up the governance engine that created this governance action (if any).void
setOriginGovernanceService
(String originGovernanceService) Set up the governance service that created this governance action (if any).void
setRequestSourceElement
(ElementStub requestSourceElement) Set up the specific element that caused the governance action service to be started.void
setRequestSourceName
(String requestSourceName) Set up the assigned to this request source.toString()
Standard toString method.
-
Constructor Details
-
RequestSourceElement
public RequestSourceElement()Typical Constructor -
RequestSourceElement
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
Return the assigned to this request source. This name heps to guide the governance service in its processing.- Returns:
- string name
-
setRequestSourceName
Set up the assigned to this request source. This name heps to guide the governance service in its processing.- Parameters:
requestSourceName
- string name
-
getRequestSourceElement
Return the specific element that caused the governance action service to be started.- Returns:
- metadata element
-
setRequestSourceElement
Set up the specific element that caused the governance action service to be started.- Parameters:
requestSourceElement
- metadata element
-
getOriginGovernanceService
Return the governance service that created this governance action (if any).- Returns:
- string name
-
setOriginGovernanceService
Set up the governance service that created this governance action (if any).- Parameters:
originGovernanceService
- string name
-
getOriginGovernanceEngine
Return the governance engine that created this governance action (if any).- Returns:
- string name
-
setOriginGovernanceEngine
Set up the governance engine that created this governance action (if any).- Parameters:
originGovernanceEngine
- string name
-
toString
Standard toString method. -
equals
Compare the values of the supplied object with those stored in the current object. -
hashCode
public int hashCode()Create a hash code for this element type.
-