Search in sources :

Example 1 with VersioningMapId

use of org.akaza.openclinica.domain.datamap.VersioningMapId in project OpenClinica by OpenClinica.

the class XformMetaDataService method createVersioningMap.

private void createVersioningMap(CrfVersion crfVersion, Item item, FormLayout formLayout, int itemOrderInForm) {
    VersioningMapId versioningMapId = new VersioningMapId();
    versioningMapId.setCrfVersionId(crfVersion.getCrfVersionId());
    versioningMapId.setItemId(item.getItemId());
    versioningMapId.setFormLayoutId(formLayout.getFormLayoutId());
    versioningMapId.setItemOrderInForm(itemOrderInForm);
    VersioningMap versioningMap = new VersioningMap();
    versioningMap.setVersionMapId(versioningMapId);
    versioningMapDao.saveOrUpdate(versioningMap);
}
Also used : VersioningMapId(org.akaza.openclinica.domain.datamap.VersioningMapId) VersioningMap(org.akaza.openclinica.domain.datamap.VersioningMap)

Aggregations

VersioningMap (org.akaza.openclinica.domain.datamap.VersioningMap)1 VersioningMapId (org.akaza.openclinica.domain.datamap.VersioningMapId)1