businessObjectFormat.setBusinessObjectFormatVersion(businessObjectFormatEntity.getBusinessObjectFormatVersion()); businessObjectFormat.setLatestVersion(businessObjectFormatEntity.getLatestVersion()); businessObjectFormat.setPartitionKey(businessObjectFormatEntity.getPartitionKey()); businessObjectFormat.setDescription(businessObjectFormatEntity.getDescription()); businessObjectFormat.setDocumentSchema(businessObjectFormatEntity.getDocumentSchema());
businessObjectFormat.setBusinessObjectFormatVersion(businessObjectFormatEntity.getBusinessObjectFormatVersion()); businessObjectFormat.setLatestVersion(businessObjectFormatEntity.getLatestVersion()); businessObjectFormat.setPartitionKey(businessObjectFormatEntity.getPartitionKey()); businessObjectFormat.setDescription(businessObjectFormatEntity.getDescription()); businessObjectFormat.setDocumentSchema(businessObjectFormatEntity.getDocumentSchema());
expectedBusinessObjectFormat.setBusinessObjectFormatVersion(INITIAL_FORMAT_VERSION); expectedBusinessObjectFormat.setLatestVersion(LATEST_VERSION_FLAG_SET); expectedBusinessObjectFormat.setPartitionKey(BusinessObjectDataServiceImpl.NO_PARTITIONING_PARTITION_KEY); expectedBusinessObjectFormat.setBusinessObjectFormatParents(new ArrayList<>()); expectedBusinessObjectFormat.setBusinessObjectFormatChildren(new ArrayList<>());
expectedBusinessObjectFormat.setBusinessObjectFormatVersion(INITIAL_FORMAT_VERSION); expectedBusinessObjectFormat.setLatestVersion(LATEST_VERSION_FLAG_SET); expectedBusinessObjectFormat.setPartitionKey(BusinessObjectDataServiceImpl.NO_PARTITIONING_PARTITION_KEY); expectedBusinessObjectFormat.setBusinessObjectFormatParents(new ArrayList<>()); expectedBusinessObjectFormat.setBusinessObjectFormatChildren(new ArrayList<>());
sourcePartitionKey = this.getPartitionKey(); String copyPartitionKey = ((String) strategy.copy(LocatorUtils.property(locator, "partitionKey", sourcePartitionKey), sourcePartitionKey, (this.partitionKey!= null))); copy.setPartitionKey(copyPartitionKey); } else { if (partitionKeyShouldBeCopiedAndSet == Boolean.FALSE) {
sourcePartitionKey = this.getPartitionKey(); String copyPartitionKey = ((String) strategy.copy(LocatorUtils.property(locator, "partitionKey", sourcePartitionKey), sourcePartitionKey, (this.partitionKey!= null))); copy.setPartitionKey(copyPartitionKey); } else { if (partitionKeyShouldBeCopiedAndSet == Boolean.FALSE) {
sourcePartitionKey = this.getPartitionKey(); String copyPartitionKey = ((String) strategy.copy(LocatorUtils.property(locator, "partitionKey", sourcePartitionKey), sourcePartitionKey, (this.partitionKey!= null))); copy.setPartitionKey(copyPartitionKey); } else { if (partitionKeyShouldBeCopiedAndSet == Boolean.FALSE) {