Package be.ehealth.businessconnector.hub.util

# Class RequestTypeBuilder

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

public class RequestTypeBuilder extends Object

- ## Method Summary

  Modifier and Type
  Method
  Description
  `RequestTypeBuilder`
  `addAuthorWithEncryptionInformation()`
  `RequestTypeBuilder`
  `addGenericAuthor()`
  `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`

- ## 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`

  - ### build

    public RequestType build()