be.ehealth.business.mycarenetdomaincommons.mapper

## Class DomainBlobMapper

- java.lang.Object
- - be.ehealth.business.mycarenetdomaincommons.mapper.DomainBlobMapper

-     public final class DomainBlobMapper
      extends Object

  Mapper form a type to another type

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `DomainBlobMapper()` default constructor : utility class, but needed for ModuleBootstrapHook.

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static Base64Binary` | `mapB64fromByte(byte[] param)` Creates a `Base64Binary` from a byte[]
    `static Blob` | `mapBlobToCinBlob(Blob blob)` Creates be.cin.types.v1.Blob with a Blob.
    `static Blob` | `mapToBlob(Blob blob)`

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

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

- - ### Constructor Detail

    - #### DomainBlobMapper

          public DomainBlobMapper()

      default constructor : utility class, but needed for ModuleBootstrapHook.

  - ### Method Detail

    - #### mapToBlob

          public static Blob mapToBlob(Blob blob)
                                throws TechnicalConnectorException

      Parameters:
        `blob` -
      Returns:
      Throws:
        `TechnicalConnectorException`

    - #### mapBlobToCinBlob

          public static Blob mapBlobToCinBlob(Blob blob)

      Creates be.cin.types.v1.Blob with a Blob.
      Parameters:
        `blob` -
      Returns:
        Blob

    - #### mapB64fromByte

          public static Base64Binary mapB64fromByte(byte[] param)

      Creates a `Base64Binary` from a byte[]
      Parameters:
        `param` -
      Returns:
        Base64Binary

Connector Packaging PERSAUDIOLOGIST 4.2.0 API
Copyright © {inceptionYear}-2022 eHealth. All Rights Reserved.