businessObjectFormat.setBusinessObjectFormatFileType(businessObjectFormatEntity.getFileType().getCode()); businessObjectFormat.setBusinessObjectFormatVersion(businessObjectFormatEntity.getBusinessObjectFormatVersion()); businessObjectFormat.setLatestVersion(businessObjectFormatEntity.getLatestVersion()); businessObjectFormat.setPartitionKey(businessObjectFormatEntity.getPartitionKey()); businessObjectFormat.setDescription(businessObjectFormatEntity.getDescription());
businessObjectFormat.setBusinessObjectFormatFileType(businessObjectFormatEntity.getFileType().getCode()); businessObjectFormat.setBusinessObjectFormatVersion(businessObjectFormatEntity.getBusinessObjectFormatVersion()); businessObjectFormat.setLatestVersion(businessObjectFormatEntity.getLatestVersion()); businessObjectFormat.setPartitionKey(businessObjectFormatEntity.getPartitionKey()); businessObjectFormat.setDescription(businessObjectFormatEntity.getDescription());
expectedBusinessObjectFormat.setBusinessObjectFormatFileType(FileTypeEntity.RELATIONAL_TABLE_FILE_TYPE); expectedBusinessObjectFormat.setBusinessObjectFormatVersion(INITIAL_FORMAT_VERSION); expectedBusinessObjectFormat.setLatestVersion(LATEST_VERSION_FLAG_SET); expectedBusinessObjectFormat.setPartitionKey(BusinessObjectDataServiceImpl.NO_PARTITIONING_PARTITION_KEY); expectedBusinessObjectFormat.setBusinessObjectFormatParents(new ArrayList<>());
expectedBusinessObjectFormat.setBusinessObjectFormatFileType(FileTypeEntity.RELATIONAL_TABLE_FILE_TYPE); expectedBusinessObjectFormat.setBusinessObjectFormatVersion(INITIAL_FORMAT_VERSION); expectedBusinessObjectFormat.setLatestVersion(LATEST_VERSION_FLAG_SET); expectedBusinessObjectFormat.setPartitionKey(BusinessObjectDataServiceImpl.NO_PARTITIONING_PARTITION_KEY); expectedBusinessObjectFormat.setBusinessObjectFormatParents(new ArrayList<>());
sourceLatestVersion = this.isLatestVersion(); boolean copyLatestVersion = strategy.copy(LocatorUtils.property(locator, "latestVersion", sourceLatestVersion), sourceLatestVersion, true); copy.setLatestVersion(copyLatestVersion); } else { if (latestVersionShouldBeCopiedAndSet == Boolean.FALSE) {
sourceLatestVersion = this.isLatestVersion(); boolean copyLatestVersion = strategy.copy(LocatorUtils.property(locator, "latestVersion", sourceLatestVersion), sourceLatestVersion, true); copy.setLatestVersion(copyLatestVersion); } else { if (latestVersionShouldBeCopiedAndSet == Boolean.FALSE) {
sourceLatestVersion = this.isLatestVersion(); boolean copyLatestVersion = strategy.copy(LocatorUtils.property(locator, "latestVersion", sourceLatestVersion), sourceLatestVersion, true); copy.setLatestVersion(copyLatestVersion); } else { if (latestVersionShouldBeCopiedAndSet == Boolean.FALSE) {