Package be.ehealth.businessconnector.hubv3.util

# Class RequestTypeBuilder

java.lang.Object
be.ehealth.businessconnector.hubv3.util.RequestTypeBuilder

public class RequestTypeBuilder extends Object

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `static final String`
  `PROJECT_NAME`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `RequestTypeBuilder`
  `addAuthorWithEncryptionInformation()`
  `RequestTypeBuilder`
  `addBreakTheGlass(String breakTheGlass)`
  `RequestTypeBuilder`
  `addGenericAuthor()`
  `RequestTypeBuilder`
  `addMaxRows(Integer maxRows)`
  `RequestType`
  `build()`
  `static RequestTypeBuilder`
  `init()`
  creates a new RequestTypeBuilder.

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

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

- ## Field Details

  - ### PROJECT_NAME

    public static final String PROJECT_NAME
    See Also:
      - Constant Field Values

- ## Method Details

  - ### init

    public static RequestTypeBuilder init() throws TechnicalConnectorException
    creates a new RequestTypeBuilder. will initialize id ( with HcPartyUtil.createKmehrId , see kmehrcommons javadoc for configuration options ) , date and time ( current time )
    Returns:
      RequestTypeBuilder
    Throws:
      `TechnicalConnectorException`

  - ### addGenericAuthor

    public RequestTypeBuilder addGenericAuthor() throws TechnicalConnectorException
    Throws:
      `TechnicalConnectorException`

  - ### addAuthorWithEncryptionInformation

    public RequestTypeBuilder addAuthorWithEncryptionInformation() throws TechnicalConnectorException
    Throws:
      `TechnicalConnectorException`

  - ### addBreakTheGlass

    public RequestTypeBuilder addBreakTheGlass(String breakTheGlass)

  - ### addMaxRows

    public RequestTypeBuilder addMaxRows(Integer maxRows)

  - ### build

    public RequestType build()