Ec2OnDemandPricingKey ec2OnDemandPricingKey = ec2OnDemandPricing.getEc2OnDemandPricingKey();
public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy2 strategy) { { Ec2OnDemandPricingKey theEc2OnDemandPricingKey; theEc2OnDemandPricingKey = this.getEc2OnDemandPricingKey(); strategy.appendField(locator, this, "ec2OnDemandPricingKey", buffer, theEc2OnDemandPricingKey, (this.ec2OnDemandPricingKey!= null)); } { BigDecimal thePricePerHour; thePricePerHour = this.getPricePerHour(); strategy.appendField(locator, this, "pricePerHour", buffer, thePricePerHour, (this.pricePerHour!= null)); } { String theSku; theSku = this.getSku(); strategy.appendField(locator, this, "sku", buffer, theSku, (this.sku!= null)); } return buffer; }
Ec2OnDemandPricingKey ec2OnDemandPricingKey = ec2OnDemandPricing.getEc2OnDemandPricingKey();
Ec2OnDemandPricingKey ec2OnDemandPricingKey = ec2OnDemandPricing.getEc2OnDemandPricingKey();
Ec2OnDemandPricingKey ec2OnDemandPricingKey = ec2OnDemandPricing.getEc2OnDemandPricingKey();
lhsEc2OnDemandPricingKey = this.getEc2OnDemandPricingKey(); Ec2OnDemandPricingKey rhsEc2OnDemandPricingKey; rhsEc2OnDemandPricingKey = that.getEc2OnDemandPricingKey(); if (!strategy.equals(LocatorUtils.property(thisLocator, "ec2OnDemandPricingKey", lhsEc2OnDemandPricingKey), LocatorUtils.property(thatLocator, "ec2OnDemandPricingKey", rhsEc2OnDemandPricingKey), lhsEc2OnDemandPricingKey, rhsEc2OnDemandPricingKey, (this.ec2OnDemandPricingKey!= null), (that.ec2OnDemandPricingKey!= null))) { return false;
public int hashCode(ObjectLocator locator, HashCodeStrategy2 strategy) { int currentHashCode = 1; { Ec2OnDemandPricingKey theEc2OnDemandPricingKey; theEc2OnDemandPricingKey = this.getEc2OnDemandPricingKey(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "ec2OnDemandPricingKey", theEc2OnDemandPricingKey), currentHashCode, theEc2OnDemandPricingKey, (this.ec2OnDemandPricingKey!= null)); } { BigDecimal thePricePerHour; thePricePerHour = this.getPricePerHour(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "pricePerHour", thePricePerHour), currentHashCode, thePricePerHour, (this.pricePerHour!= null)); } { String theSku; theSku = this.getSku(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "sku", theSku), currentHashCode, theSku, (this.sku!= null)); } return currentHashCode; }
if (ec2OnDemandPricingKeyShouldBeCopiedAndSet == Boolean.TRUE) { Ec2OnDemandPricingKey sourceEc2OnDemandPricingKey; sourceEc2OnDemandPricingKey = this.getEc2OnDemandPricingKey(); Ec2OnDemandPricingKey copyEc2OnDemandPricingKey = ((Ec2OnDemandPricingKey) strategy.copy(LocatorUtils.property(locator, "ec2OnDemandPricingKey", sourceEc2OnDemandPricingKey), sourceEc2OnDemandPricingKey, (this.ec2OnDemandPricingKey!= null))); copy.setEc2OnDemandPricingKey(copyEc2OnDemandPricingKey);