String messageText = evaluateVelocityTemplate(notificationMessageDefinition.getMessageVelocityTemplate(), velocityContextMap, notificationEvent.getClass().getCanonicalName());
String messageText = evaluateVelocityTemplate(notificationMessageDefinition.getMessageVelocityTemplate(), velocityContextMap, notificationEvent.getClass().getCanonicalName());
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; }
lhsMessageVelocityTemplate = this.getMessageVelocityTemplate(); String rhsMessageVelocityTemplate; rhsMessageVelocityTemplate = that.getMessageVelocityTemplate(); if (!strategy.equals(LocatorUtils.property(thisLocator, "messageVelocityTemplate", lhsMessageVelocityTemplate), LocatorUtils.property(thatLocator, "messageVelocityTemplate", rhsMessageVelocityTemplate), lhsMessageVelocityTemplate, rhsMessageVelocityTemplate, (this.messageVelocityTemplate!= null), (that.messageVelocityTemplate!= null))) { return false;
lhsMessageVelocityTemplate = this.getMessageVelocityTemplate(); String rhsMessageVelocityTemplate; rhsMessageVelocityTemplate = that.getMessageVelocityTemplate(); if (!strategy.equals(LocatorUtils.property(thisLocator, "messageVelocityTemplate", lhsMessageVelocityTemplate), LocatorUtils.property(thatLocator, "messageVelocityTemplate", rhsMessageVelocityTemplate), lhsMessageVelocityTemplate, rhsMessageVelocityTemplate, (this.messageVelocityTemplate!= null), (that.messageVelocityTemplate!= null))) { return false;
lhsMessageVelocityTemplate = this.getMessageVelocityTemplate(); String rhsMessageVelocityTemplate; rhsMessageVelocityTemplate = that.getMessageVelocityTemplate(); if (!strategy.equals(LocatorUtils.property(thisLocator, "messageVelocityTemplate", lhsMessageVelocityTemplate), LocatorUtils.property(thatLocator, "messageVelocityTemplate", rhsMessageVelocityTemplate), lhsMessageVelocityTemplate, rhsMessageVelocityTemplate, (this.messageVelocityTemplate!= null), (that.messageVelocityTemplate!= 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 (messageVelocityTemplateShouldBeCopiedAndSet == Boolean.TRUE) { String sourceMessageVelocityTemplate; sourceMessageVelocityTemplate = this.getMessageVelocityTemplate(); String copyMessageVelocityTemplate = ((String) strategy.copy(LocatorUtils.property(locator, "messageVelocityTemplate", sourceMessageVelocityTemplate), sourceMessageVelocityTemplate, (this.messageVelocityTemplate!= null))); copy.setMessageVelocityTemplate(copyMessageVelocityTemplate);
if (messageVelocityTemplateShouldBeCopiedAndSet == Boolean.TRUE) { String sourceMessageVelocityTemplate; sourceMessageVelocityTemplate = this.getMessageVelocityTemplate(); String copyMessageVelocityTemplate = ((String) strategy.copy(LocatorUtils.property(locator, "messageVelocityTemplate", sourceMessageVelocityTemplate), sourceMessageVelocityTemplate, (this.messageVelocityTemplate!= null))); copy.setMessageVelocityTemplate(copyMessageVelocityTemplate);
if (messageVelocityTemplateShouldBeCopiedAndSet == Boolean.TRUE) { String sourceMessageVelocityTemplate; sourceMessageVelocityTemplate = this.getMessageVelocityTemplate(); String copyMessageVelocityTemplate = ((String) strategy.copy(LocatorUtils.property(locator, "messageVelocityTemplate", sourceMessageVelocityTemplate), sourceMessageVelocityTemplate, (this.messageVelocityTemplate!= null))); copy.setMessageVelocityTemplate(copyMessageVelocityTemplate);