Class RegisteredGovernanceServiceProperties
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.governanceengine.properties.RegisteredGovernanceServiceProperties
-
- All Implemented Interfaces:
Serializable
public class RegisteredGovernanceServiceProperties extends Object implements Serializable
RegisteredGovernanceServiceProperties provides a structure for carrying the properties for a SupportedGovernanceService relationship.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RegisteredGovernanceServiceProperties()Default constructorRegisteredGovernanceServiceProperties(RegisteredGovernanceServiceProperties template)Copy/clone constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Equals method that returns true if containing properties are the same.Map<String,String>getRequestParameters()Return the parameters to pass onto the governance service.StringgetServiceRequestType()Return the request type that this governance service supports.inthashCode()Return hash code for this objectvoidsetRequestParameters(Map<String,String> requestParameters)Set up the parameters to pass onto the governance service.voidsetServiceRequestType(String requestType)Set up the request type that this governance service supports.StringtoString()JSON-style toString.
-
-
-
Constructor Detail
-
RegisteredGovernanceServiceProperties
public RegisteredGovernanceServiceProperties()
Default constructor
-
RegisteredGovernanceServiceProperties
public RegisteredGovernanceServiceProperties(RegisteredGovernanceServiceProperties template)
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Detail
-
getServiceRequestType
public String getServiceRequestType()
Return the request type that this governance service supports. The requestType from the caller is mapped to this value if not null. This enables meaningful request types to be set up in a governance engine that then maps to a request type that the governance service understands.- Returns:
- name of the request type passed to the governance service (request type used if null)
-
setServiceRequestType
public void setServiceRequestType(String requestType)
Set up the request type that this governance service supports. The requestType from the caller is mapped to this value if not null. This enables meaningful request types to be set up in a governance engine that then maps to a request type that the governance service understands.- Parameters:
requestType- name of the request type passed to the governance service (request type used if null)
-
getRequestParameters
public Map<String,String> getRequestParameters()
Return the parameters to pass onto the governance service.- Returns:
- map of properties
-
setRequestParameters
public void setRequestParameters(Map<String,String> requestParameters)
Set up the parameters to pass onto the governance service.- Parameters:
requestParameters- map of properties
-
toString
public String toString()
JSON-style toString.
-
equals
public boolean equals(Object objectToCompare)
Equals method that returns true if containing properties are the same.
-
-