Class DiscoveryServiceRegistrationRequestBody

  • All Implemented Interfaces:
    Serializable

    public class DiscoveryServiceRegistrationRequestBody
    extends ODFOMASAPIRequestBody
    DiscoveryServiceRegistrationRequestBody provides a structure for passing details of a discovery service that is to be registered with a discovery engine.
    See Also:
    Serialized Form
    • Constructor Detail

      • DiscoveryServiceRegistrationRequestBody

        public DiscoveryServiceRegistrationRequestBody()
        Default constructor
      • DiscoveryServiceRegistrationRequestBody

        public DiscoveryServiceRegistrationRequestBody​(DiscoveryServiceRegistrationRequestBody template)
        Copy/clone constructor
        Parameters:
        template - object to copy
    • Method Detail

      • getDiscoveryServiceGUID

        public String getDiscoveryServiceGUID()
        Return the unique identifier of the discovery service.
        Returns:
        guid
      • setDiscoveryServiceGUID

        public void setDiscoveryServiceGUID​(String discoveryServiceGUID)
        Set up the unique identifier of the discovery service.
        Parameters:
        discoveryServiceGUID - guid
      • getDiscoveryRequestType

        public String getDiscoveryRequestType()
        Return the new request that this discovery service supports.
        Returns:
        name of the request
      • setDiscoveryRequestType

        public void setDiscoveryRequestType​(String discoveryRequestType)
        Set up the new request that this discovery service supports.
        Parameters:
        discoveryRequestType - name of the request
      • getDefaultAnalysisParameters

        public Map<String,​String> getDefaultAnalysisParameters()
        Return the list of analysis parameters that are passed the the discovery service (via the discovery context). These values can be overridden on the actual discovery request.
        Returns:
        map of parameter name to parameter value
      • setDefaultAnalysisParameters

        public void setDefaultAnalysisParameters​(Map<String,​String> defaultAnalysisParameters)
        Set up the list of analysis parameters that are passed the the discovery service (via the discovery context). These values can be overridden on the actual discovery request.
        Parameters:
        defaultAnalysisParameters - map of parameter name to parameter value
      • 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