public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy2 strategy) { { String theAvailabilityZone; theAvailabilityZone = this.getAvailabilityZone(); strategy.appendField(locator, this, "availabilityZone", buffer, theAvailabilityZone, (this.availabilityZone!= null)); } { Ec2PriceDto theMasterPrice; theMasterPrice = this.getMasterPrice(); strategy.appendField(locator, this, "masterPrice", buffer, theMasterPrice, (this.masterPrice!= null)); } { Ec2PriceDto theCorePrice; theCorePrice = this.getCorePrice(); strategy.appendField(locator, this, "corePrice", buffer, theCorePrice, (this.corePrice!= null)); } { Ec2PriceDto theTaskPrice; theTaskPrice = this.getTaskPrice(); strategy.appendField(locator, this, "taskPrice", buffer, theTaskPrice, (this.taskPrice!= null)); } return buffer; }
lhsTaskPrice = this.getTaskPrice(); Ec2PriceDto rhsTaskPrice; rhsTaskPrice = that.getTaskPrice(); if (!strategy.equals(LocatorUtils.property(thisLocator, "taskPrice", lhsTaskPrice), LocatorUtils.property(thatLocator, "taskPrice", rhsTaskPrice), lhsTaskPrice, rhsTaskPrice, (this.taskPrice!= null), (that.taskPrice!= null))) { return false;
public int hashCode(ObjectLocator locator, HashCodeStrategy2 strategy) { int currentHashCode = 1; { String theAvailabilityZone; theAvailabilityZone = this.getAvailabilityZone(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "availabilityZone", theAvailabilityZone), currentHashCode, theAvailabilityZone, (this.availabilityZone!= null)); } { Ec2PriceDto theMasterPrice; theMasterPrice = this.getMasterPrice(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "masterPrice", theMasterPrice), currentHashCode, theMasterPrice, (this.masterPrice!= null)); } { Ec2PriceDto theCorePrice; theCorePrice = this.getCorePrice(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "corePrice", theCorePrice), currentHashCode, theCorePrice, (this.corePrice!= null)); } { Ec2PriceDto theTaskPrice; theTaskPrice = this.getTaskPrice(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "taskPrice", theTaskPrice), currentHashCode, theTaskPrice, (this.taskPrice!= null)); } return currentHashCode; }
if (taskPriceShouldBeCopiedAndSet == Boolean.TRUE) { Ec2PriceDto sourceTaskPrice; sourceTaskPrice = this.getTaskPrice(); Ec2PriceDto copyTaskPrice = ((Ec2PriceDto) strategy.copy(LocatorUtils.property(locator, "taskPrice", sourceTaskPrice), sourceTaskPrice, (this.taskPrice!= null))); copy.setTaskPrice(copyTaskPrice);