if (StringUtils.isBlank(notificationMessageDefinition.getMessageType())) new NotificationMessage(notificationMessageDefinition.getMessageType(), notificationMessageDefinition.getMessageDestination(), messageText, messageHeaders));
if (StringUtils.isBlank(notificationMessageDefinition.getMessageType())) new NotificationMessage(notificationMessageDefinition.getMessageType(), notificationMessageDefinition.getMessageDestination(), messageText, messageHeaders));
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; }
lhsMessageType = this.getMessageType(); String rhsMessageType; rhsMessageType = that.getMessageType(); if (!strategy.equals(LocatorUtils.property(thisLocator, "messageType", lhsMessageType), LocatorUtils.property(thatLocator, "messageType", rhsMessageType), lhsMessageType, rhsMessageType, (this.messageType!= null), (that.messageType!= null))) { return false;
lhsMessageType = this.getMessageType(); String rhsMessageType; rhsMessageType = that.getMessageType(); if (!strategy.equals(LocatorUtils.property(thisLocator, "messageType", lhsMessageType), LocatorUtils.property(thatLocator, "messageType", rhsMessageType), lhsMessageType, rhsMessageType, (this.messageType!= null), (that.messageType!= null))) { return false;
lhsMessageType = this.getMessageType(); String rhsMessageType; rhsMessageType = that.getMessageType(); if (!strategy.equals(LocatorUtils.property(thisLocator, "messageType", lhsMessageType), LocatorUtils.property(thatLocator, "messageType", rhsMessageType), lhsMessageType, rhsMessageType, (this.messageType!= null), (that.messageType!= 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 (messageTypeShouldBeCopiedAndSet == Boolean.TRUE) { String sourceMessageType; sourceMessageType = this.getMessageType(); String copyMessageType = ((String) strategy.copy(LocatorUtils.property(locator, "messageType", sourceMessageType), sourceMessageType, (this.messageType!= null))); copy.setMessageType(copyMessageType);
if (messageTypeShouldBeCopiedAndSet == Boolean.TRUE) { String sourceMessageType; sourceMessageType = this.getMessageType(); String copyMessageType = ((String) strategy.copy(LocatorUtils.property(locator, "messageType", sourceMessageType), sourceMessageType, (this.messageType!= null))); copy.setMessageType(copyMessageType);
if (messageTypeShouldBeCopiedAndSet == Boolean.TRUE) { String sourceMessageType; sourceMessageType = this.getMessageType(); String copyMessageType = ((String) strategy.copy(LocatorUtils.property(locator, "messageType", sourceMessageType), sourceMessageType, (this.messageType!= null))); copy.setMessageType(copyMessageType);