NO_FORMAT_DOCUMENT_SCHEMA, NO_ATTRIBUTES, NO_ATTRIBUTE_DEFINITIONS, NO_SCHEMA)); assertEquals(SECOND_FORMAT_VERSION, Integer.valueOf(createdBusinessObjectFormat.getBusinessObjectFormatVersion())); assertTrue(createdBusinessObjectFormat.isLatestVersion()); assertEquals(expectedBusinessObjectFormatExternalInterfaceKeys, createdBusinessObjectFormat.getBusinessObjectFormatExternalInterfaces()); new BusinessObjectFormatKey(NAMESPACE, BDEF_NAME, FORMAT_USAGE_CODE, FORMAT_FILE_TYPE_CODE, businessObjectFormatVersion)); assertEquals(businessObjectFormatVersion, Integer.valueOf(result.getBusinessObjectFormatVersion())); assertEquals(businessObjectFormatVersion.equals(SECOND_FORMAT_VERSION), result.isLatestVersion()); assertEquals(expectedBusinessObjectFormatExternalInterfaceKeys, result.getBusinessObjectFormatExternalInterfaces());
assertTrue(deletedBusinessObjectFormat.isLatestVersion()); assertEquals(expectedBusinessObjectFormatExternalInterfaceKeys, deletedBusinessObjectFormat.getBusinessObjectFormatExternalInterfaces()); assertTrue(initialBusinessObjectFormat.isLatestVersion()); assertEquals(expectedBusinessObjectFormatExternalInterfaceKeys, initialBusinessObjectFormat.getBusinessObjectFormatExternalInterfaces());
assertEquals(expectedBusinessObjectFormatFileType, actualBusinessObjectFormat.getBusinessObjectFormatFileType()); assertEquals(expectedBusinessObjectFormatVersion, Integer.valueOf(actualBusinessObjectFormat.getBusinessObjectFormatVersion())); assertEquals(expectedIsLatestVersion, actualBusinessObjectFormat.isLatestVersion()); assertEquals(expectedPartitionKey, actualBusinessObjectFormat.getPartitionKey()); assertEquals(expectedDocumentSchema, actualBusinessObjectFormat.getDocumentSchema());
lhsLatestVersion = this.isLatestVersion(); boolean rhsLatestVersion; rhsLatestVersion = that.isLatestVersion(); if (!strategy.equals(LocatorUtils.property(thisLocator, "latestVersion", lhsLatestVersion), LocatorUtils.property(thatLocator, "latestVersion", rhsLatestVersion), lhsLatestVersion, rhsLatestVersion, true, true)) { return false;
lhsLatestVersion = this.isLatestVersion(); boolean rhsLatestVersion; rhsLatestVersion = that.isLatestVersion(); if (!strategy.equals(LocatorUtils.property(thisLocator, "latestVersion", lhsLatestVersion), LocatorUtils.property(thatLocator, "latestVersion", rhsLatestVersion), lhsLatestVersion, rhsLatestVersion, true, true)) { return false;
lhsLatestVersion = this.isLatestVersion(); boolean rhsLatestVersion; rhsLatestVersion = that.isLatestVersion(); if (!strategy.equals(LocatorUtils.property(thisLocator, "latestVersion", lhsLatestVersion), LocatorUtils.property(thatLocator, "latestVersion", rhsLatestVersion), lhsLatestVersion, rhsLatestVersion, true, true)) { return false;
theLatestVersion = this.isLatestVersion(); strategy.appendField(locator, this, "latestVersion", buffer, theLatestVersion, true);
theLatestVersion = this.isLatestVersion(); strategy.appendField(locator, this, "latestVersion", buffer, theLatestVersion, true);
theLatestVersion = this.isLatestVersion(); strategy.appendField(locator, this, "latestVersion", buffer, theLatestVersion, true);
theLatestVersion = this.isLatestVersion(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "latestVersion", theLatestVersion), currentHashCode, theLatestVersion, true);
theLatestVersion = this.isLatestVersion(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "latestVersion", theLatestVersion), currentHashCode, theLatestVersion, true);
theLatestVersion = this.isLatestVersion(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "latestVersion", theLatestVersion), currentHashCode, theLatestVersion, true);
if (latestVersionShouldBeCopiedAndSet == Boolean.TRUE) { boolean sourceLatestVersion; sourceLatestVersion = this.isLatestVersion(); boolean copyLatestVersion = strategy.copy(LocatorUtils.property(locator, "latestVersion", sourceLatestVersion), sourceLatestVersion, true); copy.setLatestVersion(copyLatestVersion);
if (latestVersionShouldBeCopiedAndSet == Boolean.TRUE) { boolean sourceLatestVersion; sourceLatestVersion = this.isLatestVersion(); boolean copyLatestVersion = strategy.copy(LocatorUtils.property(locator, "latestVersion", sourceLatestVersion), sourceLatestVersion, true); copy.setLatestVersion(copyLatestVersion);
if (latestVersionShouldBeCopiedAndSet == Boolean.TRUE) { boolean sourceLatestVersion; sourceLatestVersion = this.isLatestVersion(); boolean copyLatestVersion = strategy.copy(LocatorUtils.property(locator, "latestVersion", sourceLatestVersion), sourceLatestVersion, true); copy.setLatestVersion(copyLatestVersion);