Package be.ehealth.businessconnector.hub.builders

# Class BuilderFactory

java.lang.Object
be.ehealth.businessconnector.hub.builders.BuilderFactory

public final class BuilderFactory extends Object
A factory for `RequestBuilder`, `ResponseBuilder` and `RequestBuilderComplete`.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static BuilderFactory`
  `getInstance()`
  Singleton method.
  `RequestBuilder`
  `getRequestBuilder()`
  It creates a request builder object.
  `RequestBuilderComplete`
  `getRequestBuilderComplete()`
  It creates a request builder complete object
  `ResponseBuilder`
  `getResponseBuilder()`
  It creates a response builder object.

  ### Methods inherited from class java.lang.Object

  `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Method Details

  - ### getInstance

    public static BuilderFactory getInstance()
    Singleton method.
    Returns:
      the instance.

  - ### getResponseBuilder

    public ResponseBuilder getResponseBuilder()
    It creates a response builder object.
    Returns:
      the response builder object.

  - ### getRequestBuilder

    public RequestBuilder getRequestBuilder()
    It creates a request builder object.
    Returns:
      the request builder object.

  - ### getRequestBuilderComplete

    public RequestBuilderComplete getRequestBuilderComplete()
    It creates a request builder complete object
    Returns:
      the request builder complete object