if (CollectionUtils.isNotEmpty(notificationMessageDefinition.getMessageHeaderDefinitions())) for (MessageHeaderDefinition messageHeaderDefinition : notificationMessageDefinition.getMessageHeaderDefinitions())
if (CollectionUtils.isNotEmpty(notificationMessageDefinition.getMessageHeaderDefinitions())) for (MessageHeaderDefinition messageHeaderDefinition : notificationMessageDefinition.getMessageHeaderDefinitions())
public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy2 strategy) { { String theMessageType; theMessageType = this.getMessageType(); strategy.appendField(locator, this, "messageType", buffer, theMessageType, (this.messageType!= null)); } { String theMessageDestination; theMessageDestination = this.getMessageDestination(); strategy.appendField(locator, this, "messageDestination", buffer, theMessageDestination, (this.messageDestination!= null)); } { String theMessageVelocityTemplate; theMessageVelocityTemplate = this.getMessageVelocityTemplate(); strategy.appendField(locator, this, "messageVelocityTemplate", buffer, theMessageVelocityTemplate, (this.messageVelocityTemplate!= null)); } { List<MessageHeaderDefinition> theMessageHeaderDefinitions; theMessageHeaderDefinitions = ((this.messageHeaderDefinitions!= null)?this.getMessageHeaderDefinitions():null); strategy.appendField(locator, this, "messageHeaderDefinitions", buffer, theMessageHeaderDefinitions, (this.messageHeaderDefinitions!= null)); } return buffer; }
public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy2 strategy) { { String theMessageType; theMessageType = this.getMessageType(); strategy.appendField(locator, this, "messageType", buffer, theMessageType, (this.messageType!= null)); } { String theMessageDestination; theMessageDestination = this.getMessageDestination(); strategy.appendField(locator, this, "messageDestination", buffer, theMessageDestination, (this.messageDestination!= null)); } { String theMessageVelocityTemplate; theMessageVelocityTemplate = this.getMessageVelocityTemplate(); strategy.appendField(locator, this, "messageVelocityTemplate", buffer, theMessageVelocityTemplate, (this.messageVelocityTemplate!= null)); } { List<MessageHeaderDefinition> theMessageHeaderDefinitions; theMessageHeaderDefinitions = ((this.messageHeaderDefinitions!= null)?this.getMessageHeaderDefinitions():null); strategy.appendField(locator, this, "messageHeaderDefinitions", buffer, theMessageHeaderDefinitions, (this.messageHeaderDefinitions!= null)); } return buffer; }
public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy2 strategy) { { String theMessageType; theMessageType = this.getMessageType(); strategy.appendField(locator, this, "messageType", buffer, theMessageType, (this.messageType!= null)); } { String theMessageDestination; theMessageDestination = this.getMessageDestination(); strategy.appendField(locator, this, "messageDestination", buffer, theMessageDestination, (this.messageDestination!= null)); } { String theMessageVelocityTemplate; theMessageVelocityTemplate = this.getMessageVelocityTemplate(); strategy.appendField(locator, this, "messageVelocityTemplate", buffer, theMessageVelocityTemplate, (this.messageVelocityTemplate!= null)); } { List<MessageHeaderDefinition> theMessageHeaderDefinitions; theMessageHeaderDefinitions = ((this.messageHeaderDefinitions!= null)?this.getMessageHeaderDefinitions():null); strategy.appendField(locator, this, "messageHeaderDefinitions", buffer, theMessageHeaderDefinitions, (this.messageHeaderDefinitions!= null)); } return buffer; }
lhsMessageHeaderDefinitions = ((this.messageHeaderDefinitions!= null)?this.getMessageHeaderDefinitions():null); List<MessageHeaderDefinition> rhsMessageHeaderDefinitions; rhsMessageHeaderDefinitions = ((that.messageHeaderDefinitions!= null)?that.getMessageHeaderDefinitions():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "messageHeaderDefinitions", lhsMessageHeaderDefinitions), LocatorUtils.property(thatLocator, "messageHeaderDefinitions", rhsMessageHeaderDefinitions), lhsMessageHeaderDefinitions, rhsMessageHeaderDefinitions, (this.messageHeaderDefinitions!= null), (that.messageHeaderDefinitions!= null))) { return false;
lhsMessageHeaderDefinitions = ((this.messageHeaderDefinitions!= null)?this.getMessageHeaderDefinitions():null); List<MessageHeaderDefinition> rhsMessageHeaderDefinitions; rhsMessageHeaderDefinitions = ((that.messageHeaderDefinitions!= null)?that.getMessageHeaderDefinitions():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "messageHeaderDefinitions", lhsMessageHeaderDefinitions), LocatorUtils.property(thatLocator, "messageHeaderDefinitions", rhsMessageHeaderDefinitions), lhsMessageHeaderDefinitions, rhsMessageHeaderDefinitions, (this.messageHeaderDefinitions!= null), (that.messageHeaderDefinitions!= null))) { return false;
lhsMessageHeaderDefinitions = ((this.messageHeaderDefinitions!= null)?this.getMessageHeaderDefinitions():null); List<MessageHeaderDefinition> rhsMessageHeaderDefinitions; rhsMessageHeaderDefinitions = ((that.messageHeaderDefinitions!= null)?that.getMessageHeaderDefinitions():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "messageHeaderDefinitions", lhsMessageHeaderDefinitions), LocatorUtils.property(thatLocator, "messageHeaderDefinitions", rhsMessageHeaderDefinitions), lhsMessageHeaderDefinitions, rhsMessageHeaderDefinitions, (this.messageHeaderDefinitions!= null), (that.messageHeaderDefinitions!= null))) { return false;
public int hashCode(ObjectLocator locator, HashCodeStrategy2 strategy) { int currentHashCode = 1; { String theMessageType; theMessageType = this.getMessageType(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "messageType", theMessageType), currentHashCode, theMessageType, (this.messageType!= null)); } { String theMessageDestination; theMessageDestination = this.getMessageDestination(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "messageDestination", theMessageDestination), currentHashCode, theMessageDestination, (this.messageDestination!= null)); } { String theMessageVelocityTemplate; theMessageVelocityTemplate = this.getMessageVelocityTemplate(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "messageVelocityTemplate", theMessageVelocityTemplate), currentHashCode, theMessageVelocityTemplate, (this.messageVelocityTemplate!= null)); } { List<MessageHeaderDefinition> theMessageHeaderDefinitions; theMessageHeaderDefinitions = ((this.messageHeaderDefinitions!= null)?this.getMessageHeaderDefinitions():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "messageHeaderDefinitions", theMessageHeaderDefinitions), currentHashCode, theMessageHeaderDefinitions, (this.messageHeaderDefinitions!= null)); } return currentHashCode; }
public int hashCode(ObjectLocator locator, HashCodeStrategy2 strategy) { int currentHashCode = 1; { String theMessageType; theMessageType = this.getMessageType(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "messageType", theMessageType), currentHashCode, theMessageType, (this.messageType!= null)); } { String theMessageDestination; theMessageDestination = this.getMessageDestination(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "messageDestination", theMessageDestination), currentHashCode, theMessageDestination, (this.messageDestination!= null)); } { String theMessageVelocityTemplate; theMessageVelocityTemplate = this.getMessageVelocityTemplate(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "messageVelocityTemplate", theMessageVelocityTemplate), currentHashCode, theMessageVelocityTemplate, (this.messageVelocityTemplate!= null)); } { List<MessageHeaderDefinition> theMessageHeaderDefinitions; theMessageHeaderDefinitions = ((this.messageHeaderDefinitions!= null)?this.getMessageHeaderDefinitions():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "messageHeaderDefinitions", theMessageHeaderDefinitions), currentHashCode, theMessageHeaderDefinitions, (this.messageHeaderDefinitions!= null)); } return currentHashCode; }
public int hashCode(ObjectLocator locator, HashCodeStrategy2 strategy) { int currentHashCode = 1; { String theMessageType; theMessageType = this.getMessageType(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "messageType", theMessageType), currentHashCode, theMessageType, (this.messageType!= null)); } { String theMessageDestination; theMessageDestination = this.getMessageDestination(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "messageDestination", theMessageDestination), currentHashCode, theMessageDestination, (this.messageDestination!= null)); } { String theMessageVelocityTemplate; theMessageVelocityTemplate = this.getMessageVelocityTemplate(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "messageVelocityTemplate", theMessageVelocityTemplate), currentHashCode, theMessageVelocityTemplate, (this.messageVelocityTemplate!= null)); } { List<MessageHeaderDefinition> theMessageHeaderDefinitions; theMessageHeaderDefinitions = ((this.messageHeaderDefinitions!= null)?this.getMessageHeaderDefinitions():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "messageHeaderDefinitions", theMessageHeaderDefinitions), currentHashCode, theMessageHeaderDefinitions, (this.messageHeaderDefinitions!= null)); } return currentHashCode; }
if (messageHeaderDefinitionsShouldBeCopiedAndSet == Boolean.TRUE) { List<MessageHeaderDefinition> sourceMessageHeaderDefinitions; sourceMessageHeaderDefinitions = ((this.messageHeaderDefinitions!= null)?this.getMessageHeaderDefinitions():null); @SuppressWarnings("unchecked") List<MessageHeaderDefinition> copyMessageHeaderDefinitions = ((List<MessageHeaderDefinition> ) strategy.copy(LocatorUtils.property(locator, "messageHeaderDefinitions", sourceMessageHeaderDefinitions), sourceMessageHeaderDefinitions, (this.messageHeaderDefinitions!= null)));
if (messageHeaderDefinitionsShouldBeCopiedAndSet == Boolean.TRUE) { List<MessageHeaderDefinition> sourceMessageHeaderDefinitions; sourceMessageHeaderDefinitions = ((this.messageHeaderDefinitions!= null)?this.getMessageHeaderDefinitions():null); @SuppressWarnings("unchecked") List<MessageHeaderDefinition> copyMessageHeaderDefinitions = ((List<MessageHeaderDefinition> ) strategy.copy(LocatorUtils.property(locator, "messageHeaderDefinitions", sourceMessageHeaderDefinitions), sourceMessageHeaderDefinitions, (this.messageHeaderDefinitions!= null)));
if (messageHeaderDefinitionsShouldBeCopiedAndSet == Boolean.TRUE) { List<MessageHeaderDefinition> sourceMessageHeaderDefinitions; sourceMessageHeaderDefinitions = ((this.messageHeaderDefinitions!= null)?this.getMessageHeaderDefinitions():null); @SuppressWarnings("unchecked") List<MessageHeaderDefinition> copyMessageHeaderDefinitions = ((List<MessageHeaderDefinition> ) strategy.copy(LocatorUtils.property(locator, "messageHeaderDefinitions", sourceMessageHeaderDefinitions), sourceMessageHeaderDefinitions, (this.messageHeaderDefinitions!= null)));