public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy2 strategy) { { NotificationRegistrationKey theNotificationRegistrationKey; theNotificationRegistrationKey = this.getNotificationRegistrationKey(); strategy.appendField(locator, this, "notificationRegistrationKey", buffer, theNotificationRegistrationKey, (this.notificationRegistrationKey!= null)); } { String theNotificationRegistrationStatus; theNotificationRegistrationStatus = this.getNotificationRegistrationStatus(); strategy.appendField(locator, this, "notificationRegistrationStatus", buffer, theNotificationRegistrationStatus, (this.notificationRegistrationStatus!= null)); } return buffer; }
public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy2 strategy) { { NotificationRegistrationKey theNotificationRegistrationKey; theNotificationRegistrationKey = this.getNotificationRegistrationKey(); strategy.appendField(locator, this, "notificationRegistrationKey", buffer, theNotificationRegistrationKey, (this.notificationRegistrationKey!= null)); } { String theNotificationRegistrationStatus; theNotificationRegistrationStatus = this.getNotificationRegistrationStatus(); strategy.appendField(locator, this, "notificationRegistrationStatus", buffer, theNotificationRegistrationStatus, (this.notificationRegistrationStatus!= null)); } return buffer; }
public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy2 strategy) { { NotificationRegistrationKey theNotificationRegistrationKey; theNotificationRegistrationKey = this.getNotificationRegistrationKey(); strategy.appendField(locator, this, "notificationRegistrationKey", buffer, theNotificationRegistrationKey, (this.notificationRegistrationKey!= null)); } { String theNotificationRegistrationStatus; theNotificationRegistrationStatus = this.getNotificationRegistrationStatus(); strategy.appendField(locator, this, "notificationRegistrationStatus", buffer, theNotificationRegistrationStatus, (this.notificationRegistrationStatus!= null)); } return buffer; }
public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy2 strategy) { if ((object == null)||(this.getClass()!= object.getClass())) { return false; } if (this == object) { return true; } final NotificationRegistrationStatusUpdateResponse that = ((NotificationRegistrationStatusUpdateResponse) object); { NotificationRegistrationKey lhsNotificationRegistrationKey; lhsNotificationRegistrationKey = this.getNotificationRegistrationKey(); NotificationRegistrationKey rhsNotificationRegistrationKey; rhsNotificationRegistrationKey = that.getNotificationRegistrationKey(); if (!strategy.equals(LocatorUtils.property(thisLocator, "notificationRegistrationKey", lhsNotificationRegistrationKey), LocatorUtils.property(thatLocator, "notificationRegistrationKey", rhsNotificationRegistrationKey), lhsNotificationRegistrationKey, rhsNotificationRegistrationKey, (this.notificationRegistrationKey!= null), (that.notificationRegistrationKey!= null))) { return false; } } { String lhsNotificationRegistrationStatus; lhsNotificationRegistrationStatus = this.getNotificationRegistrationStatus(); String rhsNotificationRegistrationStatus; rhsNotificationRegistrationStatus = that.getNotificationRegistrationStatus(); if (!strategy.equals(LocatorUtils.property(thisLocator, "notificationRegistrationStatus", lhsNotificationRegistrationStatus), LocatorUtils.property(thatLocator, "notificationRegistrationStatus", rhsNotificationRegistrationStatus), lhsNotificationRegistrationStatus, rhsNotificationRegistrationStatus, (this.notificationRegistrationStatus!= null), (that.notificationRegistrationStatus!= null))) { return false; } } return true; }
public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy2 strategy) { if ((object == null)||(this.getClass()!= object.getClass())) { return false; } if (this == object) { return true; } final NotificationRegistrationStatusUpdateResponse that = ((NotificationRegistrationStatusUpdateResponse) object); { NotificationRegistrationKey lhsNotificationRegistrationKey; lhsNotificationRegistrationKey = this.getNotificationRegistrationKey(); NotificationRegistrationKey rhsNotificationRegistrationKey; rhsNotificationRegistrationKey = that.getNotificationRegistrationKey(); if (!strategy.equals(LocatorUtils.property(thisLocator, "notificationRegistrationKey", lhsNotificationRegistrationKey), LocatorUtils.property(thatLocator, "notificationRegistrationKey", rhsNotificationRegistrationKey), lhsNotificationRegistrationKey, rhsNotificationRegistrationKey, (this.notificationRegistrationKey!= null), (that.notificationRegistrationKey!= null))) { return false; } } { String lhsNotificationRegistrationStatus; lhsNotificationRegistrationStatus = this.getNotificationRegistrationStatus(); String rhsNotificationRegistrationStatus; rhsNotificationRegistrationStatus = that.getNotificationRegistrationStatus(); if (!strategy.equals(LocatorUtils.property(thisLocator, "notificationRegistrationStatus", lhsNotificationRegistrationStatus), LocatorUtils.property(thatLocator, "notificationRegistrationStatus", rhsNotificationRegistrationStatus), lhsNotificationRegistrationStatus, rhsNotificationRegistrationStatus, (this.notificationRegistrationStatus!= null), (that.notificationRegistrationStatus!= null))) { return false; } } return true; }
public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy2 strategy) { if ((object == null)||(this.getClass()!= object.getClass())) { return false; } if (this == object) { return true; } final NotificationRegistrationStatusUpdateResponse that = ((NotificationRegistrationStatusUpdateResponse) object); { NotificationRegistrationKey lhsNotificationRegistrationKey; lhsNotificationRegistrationKey = this.getNotificationRegistrationKey(); NotificationRegistrationKey rhsNotificationRegistrationKey; rhsNotificationRegistrationKey = that.getNotificationRegistrationKey(); if (!strategy.equals(LocatorUtils.property(thisLocator, "notificationRegistrationKey", lhsNotificationRegistrationKey), LocatorUtils.property(thatLocator, "notificationRegistrationKey", rhsNotificationRegistrationKey), lhsNotificationRegistrationKey, rhsNotificationRegistrationKey, (this.notificationRegistrationKey!= null), (that.notificationRegistrationKey!= null))) { return false; } } { String lhsNotificationRegistrationStatus; lhsNotificationRegistrationStatus = this.getNotificationRegistrationStatus(); String rhsNotificationRegistrationStatus; rhsNotificationRegistrationStatus = that.getNotificationRegistrationStatus(); if (!strategy.equals(LocatorUtils.property(thisLocator, "notificationRegistrationStatus", lhsNotificationRegistrationStatus), LocatorUtils.property(thatLocator, "notificationRegistrationStatus", rhsNotificationRegistrationStatus), lhsNotificationRegistrationStatus, rhsNotificationRegistrationStatus, (this.notificationRegistrationStatus!= null), (that.notificationRegistrationStatus!= null))) { return false; } } return true; }
public int hashCode(ObjectLocator locator, HashCodeStrategy2 strategy) { int currentHashCode = 1; { NotificationRegistrationKey theNotificationRegistrationKey; theNotificationRegistrationKey = this.getNotificationRegistrationKey(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "notificationRegistrationKey", theNotificationRegistrationKey), currentHashCode, theNotificationRegistrationKey, (this.notificationRegistrationKey!= null)); } { String theNotificationRegistrationStatus; theNotificationRegistrationStatus = this.getNotificationRegistrationStatus(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "notificationRegistrationStatus", theNotificationRegistrationStatus), currentHashCode, theNotificationRegistrationStatus, (this.notificationRegistrationStatus!= null)); } return currentHashCode; }
public int hashCode(ObjectLocator locator, HashCodeStrategy2 strategy) { int currentHashCode = 1; { NotificationRegistrationKey theNotificationRegistrationKey; theNotificationRegistrationKey = this.getNotificationRegistrationKey(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "notificationRegistrationKey", theNotificationRegistrationKey), currentHashCode, theNotificationRegistrationKey, (this.notificationRegistrationKey!= null)); } { String theNotificationRegistrationStatus; theNotificationRegistrationStatus = this.getNotificationRegistrationStatus(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "notificationRegistrationStatus", theNotificationRegistrationStatus), currentHashCode, theNotificationRegistrationStatus, (this.notificationRegistrationStatus!= null)); } return currentHashCode; }
public int hashCode(ObjectLocator locator, HashCodeStrategy2 strategy) { int currentHashCode = 1; { NotificationRegistrationKey theNotificationRegistrationKey; theNotificationRegistrationKey = this.getNotificationRegistrationKey(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "notificationRegistrationKey", theNotificationRegistrationKey), currentHashCode, theNotificationRegistrationKey, (this.notificationRegistrationKey!= null)); } { String theNotificationRegistrationStatus; theNotificationRegistrationStatus = this.getNotificationRegistrationStatus(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "notificationRegistrationStatus", theNotificationRegistrationStatus), currentHashCode, theNotificationRegistrationStatus, (this.notificationRegistrationStatus!= null)); } return currentHashCode; }
if (notificationRegistrationStatusShouldBeCopiedAndSet == Boolean.TRUE) { String sourceNotificationRegistrationStatus; sourceNotificationRegistrationStatus = this.getNotificationRegistrationStatus(); String copyNotificationRegistrationStatus = ((String) strategy.copy(LocatorUtils.property(locator, "notificationRegistrationStatus", sourceNotificationRegistrationStatus), sourceNotificationRegistrationStatus, (this.notificationRegistrationStatus!= null))); copy.setNotificationRegistrationStatus(copyNotificationRegistrationStatus);
if (notificationRegistrationStatusShouldBeCopiedAndSet == Boolean.TRUE) { String sourceNotificationRegistrationStatus; sourceNotificationRegistrationStatus = this.getNotificationRegistrationStatus(); String copyNotificationRegistrationStatus = ((String) strategy.copy(LocatorUtils.property(locator, "notificationRegistrationStatus", sourceNotificationRegistrationStatus), sourceNotificationRegistrationStatus, (this.notificationRegistrationStatus!= null))); copy.setNotificationRegistrationStatus(copyNotificationRegistrationStatus);
if (notificationRegistrationStatusShouldBeCopiedAndSet == Boolean.TRUE) { String sourceNotificationRegistrationStatus; sourceNotificationRegistrationStatus = this.getNotificationRegistrationStatus(); String copyNotificationRegistrationStatus = ((String) strategy.copy(LocatorUtils.property(locator, "notificationRegistrationStatus", sourceNotificationRegistrationStatus), sourceNotificationRegistrationStatus, (this.notificationRegistrationStatus!= null))); copy.setNotificationRegistrationStatus(copyNotificationRegistrationStatus);