Class 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 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.
        Overrides:
        toString in class Object
        Returns:
        list of properties and their values.
      • equals

        public boolean equals​(Object objectToCompare)
        Equals method that returns true if containing properties are the same.
        Overrides:
        equals in class Object
        Parameters:
        objectToCompare - object to compare
        Returns:
        boolean result of comparison
      • hashCode

        public int hashCode()
        Return hash code for this object
        Overrides:
        hashCode in class Object
        Returns:
        int hash code