context.put("businessObjectFormatVersion", s3KeyPrefixFormat(String.valueOf(businessObjectFormat.getBusinessObjectFormatVersion()))); context.put("businessObjectDataVersion", s3KeyPrefixFormat(String.valueOf(businessObjectDataKey.getBusinessObjectDataVersion()))); context.put("businessObjectFormatPartitionKey", s3KeyPrefixFormat(s3KeyPrefixFormat(businessObjectFormat.getPartitionKey()))); context.put("businessObjectDataPartitionValue", businessObjectDataKey.getPartitionValue());
context.put("businessObjectFormatVersion", s3KeyPrefixFormat(String.valueOf(businessObjectFormat.getBusinessObjectFormatVersion()))); context.put("businessObjectDataVersion", s3KeyPrefixFormat(String.valueOf(businessObjectDataKey.getBusinessObjectDataVersion()))); context.put("businessObjectFormatPartitionKey", s3KeyPrefixFormat(s3KeyPrefixFormat(businessObjectFormat.getPartitionKey()))); context.put("businessObjectDataPartitionValue", businessObjectDataKey.getPartitionValue());
businessObjectFormatCreateRequest .setBusinessObjectFormatFileType(relationalTableRegistrationDto.getBusinessObjectFormat().getBusinessObjectFormatFileType()); businessObjectFormatCreateRequest.setPartitionKey(relationalTableRegistrationDto.getBusinessObjectFormat().getPartitionKey()); businessObjectFormatCreateRequest.setAttributes(relationalTableRegistrationDto.getBusinessObjectFormat().getAttributes()); businessObjectFormatCreateRequest.setSchema(new Schema(schemaColumns, null, "", null, null, null));
businessObjectFormatCreateRequest .setBusinessObjectFormatFileType(relationalTableRegistrationDto.getBusinessObjectFormat().getBusinessObjectFormatFileType()); businessObjectFormatCreateRequest.setPartitionKey(relationalTableRegistrationDto.getBusinessObjectFormat().getPartitionKey()); businessObjectFormatCreateRequest.setAttributes(relationalTableRegistrationDto.getBusinessObjectFormat().getAttributes()); businessObjectFormatCreateRequest.setSchema(new Schema(schemaColumns, null, "", null, null, null));
assertEquals(expectedBusinessObjectFormatVersion, Integer.valueOf(actualBusinessObjectFormat.getBusinessObjectFormatVersion())); assertEquals(expectedIsLatestVersion, actualBusinessObjectFormat.isLatestVersion()); assertEquals(expectedPartitionKey, actualBusinessObjectFormat.getPartitionKey()); assertEquals(expectedDocumentSchema, actualBusinessObjectFormat.getDocumentSchema()); AbstractServiceTest.assertEqualsIgnoreNullOrEmpty("description", expectedDescription, actualBusinessObjectFormat.getDescription());
lhsPartitionKey = this.getPartitionKey(); String rhsPartitionKey; rhsPartitionKey = that.getPartitionKey(); if (!strategy.equals(LocatorUtils.property(thisLocator, "partitionKey", lhsPartitionKey), LocatorUtils.property(thatLocator, "partitionKey", rhsPartitionKey), lhsPartitionKey, rhsPartitionKey, (this.partitionKey!= null), (that.partitionKey!= null))) { return false;
thePartitionKey = this.getPartitionKey(); strategy.appendField(locator, this, "partitionKey", buffer, thePartitionKey, (this.partitionKey!= null));
lhsPartitionKey = this.getPartitionKey(); String rhsPartitionKey; rhsPartitionKey = that.getPartitionKey(); if (!strategy.equals(LocatorUtils.property(thisLocator, "partitionKey", lhsPartitionKey), LocatorUtils.property(thatLocator, "partitionKey", rhsPartitionKey), lhsPartitionKey, rhsPartitionKey, (this.partitionKey!= null), (that.partitionKey!= null))) { return false;
lhsPartitionKey = this.getPartitionKey(); String rhsPartitionKey; rhsPartitionKey = that.getPartitionKey(); if (!strategy.equals(LocatorUtils.property(thisLocator, "partitionKey", lhsPartitionKey), LocatorUtils.property(thatLocator, "partitionKey", rhsPartitionKey), lhsPartitionKey, rhsPartitionKey, (this.partitionKey!= null), (that.partitionKey!= null))) { return false;
thePartitionKey = this.getPartitionKey(); strategy.appendField(locator, this, "partitionKey", buffer, thePartitionKey, (this.partitionKey!= null));
thePartitionKey = this.getPartitionKey(); strategy.appendField(locator, this, "partitionKey", buffer, thePartitionKey, (this.partitionKey!= null));
thePartitionKey = this.getPartitionKey(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "partitionKey", thePartitionKey), currentHashCode, thePartitionKey, (this.partitionKey!= null));
thePartitionKey = this.getPartitionKey(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "partitionKey", thePartitionKey), currentHashCode, thePartitionKey, (this.partitionKey!= null));
thePartitionKey = this.getPartitionKey(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "partitionKey", thePartitionKey), currentHashCode, thePartitionKey, (this.partitionKey!= null));
if (partitionKeyShouldBeCopiedAndSet == Boolean.TRUE) { String sourcePartitionKey; sourcePartitionKey = this.getPartitionKey(); String copyPartitionKey = ((String) strategy.copy(LocatorUtils.property(locator, "partitionKey", sourcePartitionKey), sourcePartitionKey, (this.partitionKey!= null))); copy.setPartitionKey(copyPartitionKey);
if (partitionKeyShouldBeCopiedAndSet == Boolean.TRUE) { String sourcePartitionKey; sourcePartitionKey = this.getPartitionKey(); String copyPartitionKey = ((String) strategy.copy(LocatorUtils.property(locator, "partitionKey", sourcePartitionKey), sourcePartitionKey, (this.partitionKey!= null))); copy.setPartitionKey(copyPartitionKey);
if (partitionKeyShouldBeCopiedAndSet == Boolean.TRUE) { String sourcePartitionKey; sourcePartitionKey = this.getPartitionKey(); String copyPartitionKey = ((String) strategy.copy(LocatorUtils.property(locator, "partitionKey", sourcePartitionKey), sourcePartitionKey, (this.partitionKey!= null))); copy.setPartitionKey(copyPartitionKey);