Package 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
  Description
  `DomainBlobMapper()`
  default constructor : utility class, but needed for ModuleBootstrapHook.

- ## Method Summary

  Modifier and Type
  Method
  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 Details

  - ### DomainBlobMapper

    public DomainBlobMapper()
    default constructor : utility class, but needed for ModuleBootstrapHook.

- ## Method Details

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