Package fr.gouv.vitam.common.mapping.dip

# Class ObjectGroupMapper

java.lang.Object
fr.gouv.vitam.common.mapping.dip.ObjectGroupMapper

public class ObjectGroupMapper extends Object
Mapper that map ObjectGroupResponse(POJO Dslquery response) to a DataObjectPackage (JAXB elements)

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `ObjectGroupMapper()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `fr.gouv.culture.archivesdefrance.seda.v2.DataObjectPackageType`
  `map(ObjectGroupResponse objectGroupResponse)`
  Map the object objectGroupResponse generated from queryDsl Response To a jaxb object DataObjectPackageType This help convert DslQueryResponse to xml using jaxb

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

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

- ## Constructor Details

  - ### ObjectGroupMapper

    public ObjectGroupMapper()

- ## Method Details

  - ### map

    public fr.gouv.culture.archivesdefrance.seda.v2.DataObjectPackageType map(ObjectGroupResponse objectGroupResponse)
    Map the object objectGroupResponse generated from queryDsl Response To a jaxb object DataObjectPackageType This help convert DslQueryResponse to xml using jaxb
    Parameters:
      `objectGroupResponse` - the given queryDsl response for object Group
    Returns:
      jaxb DataObjectPackageType
    Throws:
      `InternalServerException`