ServiceIdentification rhsServiceIdentification; rhsServiceIdentification = that.getServiceIdentification(); if (!strategy.equals(LocatorUtils.property(thisLocator, "serviceIdentification", lhsServiceIdentification), LocatorUtils.property(thatLocator, "serviceIdentification", rhsServiceIdentification), lhsServiceIdentification, rhsServiceIdentification, this.isSetServiceIdentification(), that.isSetServiceIdentification())) { return false;
public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy2 strategy) { { ServiceIdentification theServiceIdentification; theServiceIdentification = this.getServiceIdentification(); strategy.appendField(locator, this, "serviceIdentification", buffer, theServiceIdentification, this.isSetServiceIdentification()); } { ServiceProvider theServiceProvider; theServiceProvider = this.getServiceProvider(); strategy.appendField(locator, this, "serviceProvider", buffer, theServiceProvider, this.isSetServiceProvider()); } { OperationsMetadata theOperationsMetadata; theOperationsMetadata = this.getOperationsMetadata(); strategy.appendField(locator, this, "operationsMetadata", buffer, theOperationsMetadata, this.isSetOperationsMetadata()); } { String theVersion; theVersion = this.getVersion(); strategy.appendField(locator, this, "version", buffer, theVersion, this.isSetVersion()); } { String theUpdateSequence; theUpdateSequence = this.getUpdateSequence(); strategy.appendField(locator, this, "updateSequence", buffer, theUpdateSequence, this.isSetUpdateSequence()); } return buffer; }
final CapabilitiesBaseType rightObject = ((CapabilitiesBaseType) right); Boolean serviceIdentificationShouldBeMergedAndSet = strategy.shouldBeMergedAndSet(leftLocator, rightLocator, leftObject.isSetServiceIdentification(), rightObject.isSetServiceIdentification()); if (serviceIdentificationShouldBeMergedAndSet == Boolean.TRUE) { ServiceIdentification lhsServiceIdentification; ServiceIdentification rhsServiceIdentification; rhsServiceIdentification = rightObject.getServiceIdentification(); ServiceIdentification mergedServiceIdentification = ((ServiceIdentification) strategy.merge(LocatorUtils.property(leftLocator, "serviceIdentification", lhsServiceIdentification), LocatorUtils.property(rightLocator, "serviceIdentification", rhsServiceIdentification), lhsServiceIdentification, rhsServiceIdentification, leftObject.isSetServiceIdentification(), rightObject.isSetServiceIdentification())); target.setServiceIdentification(mergedServiceIdentification); } else {
public int hashCode(ObjectLocator locator, HashCodeStrategy2 strategy) { int currentHashCode = 1; { ServiceIdentification theServiceIdentification; theServiceIdentification = this.getServiceIdentification(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "serviceIdentification", theServiceIdentification), currentHashCode, theServiceIdentification, this.isSetServiceIdentification()); } { ServiceProvider theServiceProvider; theServiceProvider = this.getServiceProvider(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "serviceProvider", theServiceProvider), currentHashCode, theServiceProvider, this.isSetServiceProvider()); } { OperationsMetadata theOperationsMetadata; theOperationsMetadata = this.getOperationsMetadata(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "operationsMetadata", theOperationsMetadata), currentHashCode, theOperationsMetadata, this.isSetOperationsMetadata()); } { String theVersion; theVersion = this.getVersion(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "version", theVersion), currentHashCode, theVersion, this.isSetVersion()); } { String theUpdateSequence; theUpdateSequence = this.getUpdateSequence(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "updateSequence", theUpdateSequence), currentHashCode, theUpdateSequence, this.isSetUpdateSequence()); } return currentHashCode; }
final CapabilitiesBaseType copy = ((CapabilitiesBaseType) draftCopy); Boolean serviceIdentificationShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, this.isSetServiceIdentification()); if (serviceIdentificationShouldBeCopiedAndSet == Boolean.TRUE) { ServiceIdentification sourceServiceIdentification; sourceServiceIdentification = this.getServiceIdentification(); ServiceIdentification copyServiceIdentification = ((ServiceIdentification) strategy.copy(LocatorUtils.property(locator, "serviceIdentification", sourceServiceIdentification), sourceServiceIdentification, this.isSetServiceIdentification())); copy.setServiceIdentification(copyServiceIdentification); } else {