Package be.ehealth.businessconnector.therlink.mappers

# Class HcPartyMapper

java.lang.Object
be.ehealth.businessconnector.therlink.mappers.HcPartyMapper

public class HcPartyMapper extends Object
maps between `HcParty` and `HcpartyType` objects. Factory : `MapperFactory`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `HcPartyMapper()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static HcParty`
  `mapHcParty(HcpartyType hcpartyType)`
  `static HCPartyIdType`
  `mapHcPartyIdType(HcParty hcp)`
  `static HcpartyType`
  `mapToHcpartyType(HcParty hcp)`

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

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

- ## Constructor Details

  - ### HcPartyMapper

    public HcPartyMapper()

- ## Method Details

  - ### mapHcParty

    public static HcParty mapHcParty(HcpartyType hcpartyType)

  - ### mapHcPartyIdType

    public static HCPartyIdType mapHcPartyIdType(HcParty hcp) throws TherLinkBusinessConnectorException
    Parameters:
      `familyName` -
      `firstName` -
      `inss` -
      `nihii` -
      `hcpType` -
      `cbe` -
    Returns:
    Throws:
      `TherLinkBusinessConnectorException`

  - ### mapToHcpartyType

    public static HcpartyType mapToHcpartyType(HcParty hcp) throws TherLinkBusinessConnectorException
    Parameters:
      `hcp` -
    Returns:
    Throws:
      `TherLinkBusinessConnectorException`