Class RequestSourceElement
- java.lang.Object
-
- org.odpi.openmetadata.frameworks.governanceaction.properties.RequestSourceElement
-
- All Implemented Interfaces:
Serializable
public class RequestSourceElement extends Object implements Serializable
RequestSourceElement describes the element that triggered the request to the governance action service.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RequestSourceElement()Typical 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Compare the values of the supplied object with those stored in the current object.StringgetOriginGovernanceEngine()Return the governance engine that created this governance action (if any).StringgetOriginGovernanceService()Return the governance service that created this governance action (if any).OpenMetadataElementgetRequestSourceElement()Return the specific element that caused the governance action service to be started.StringgetRequestSourceName()Return the assigned to this request source.inthashCode()Create a hash code for this element type.voidsetOriginGovernanceEngine(String originGovernanceEngine)Set up the governance engine that created this governance action (if any).voidsetOriginGovernanceService(String originGovernanceService)Set up the governance service that created this governance action (if any).voidsetRequestSourceElement(OpenMetadataElement requestSourceElement)Set up the specific element that caused the governance action service to be started.voidsetRequestSourceName(String requestSourceName)Set up the assigned to this request source.StringtoString()Standard toString method.
-
-
-
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 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 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 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.
-
equals
public boolean equals(Object objectToCompare)
Compare the values of the supplied object with those stored in the current object.
-
-