/** * Create an instance of {@link NotificationMessageDefinition } * */ public NotificationMessageDefinition createNotificationMessageDefinition() { return new NotificationMessageDefinition(); }
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 String toString() { final ToStringStrategy2 strategy = JAXBToStringStrategy.INSTANCE; final StringBuilder buffer = new StringBuilder(); append(null, buffer, strategy); return buffer.toString(); }
public Object clone() { return copyTo(createNewInstance()); }
public Object copyTo(ObjectLocator locator, Object target, CopyStrategy2 strategy) { final Object draftCopy = ((target == null)?createNewInstance():target); if (draftCopy instanceof NotificationMessageDefinition) { final NotificationMessageDefinition copy = ((NotificationMessageDefinition) draftCopy); 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); } else { if (messageTypeShouldBeCopiedAndSet == Boolean.FALSE) { if (messageDestinationShouldBeCopiedAndSet == Boolean.TRUE) { String sourceMessageDestination; sourceMessageDestination = this.getMessageDestination(); String copyMessageDestination = ((String) strategy.copy(LocatorUtils.property(locator, "messageDestination", sourceMessageDestination), sourceMessageDestination, (this.messageDestination!= null))); copy.setMessageDestination(copyMessageDestination); } else { if (messageDestinationShouldBeCopiedAndSet == Boolean.FALSE) { 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); } else { if (messageVelocityTemplateShouldBeCopiedAndSet == Boolean.FALSE) { if (messageHeaderDefinitionsShouldBeCopiedAndSet == Boolean.TRUE) {
public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy2 strategy) { strategy.appendStart(locator, this, buffer); appendFields(locator, buffer, strategy); strategy.appendEnd(locator, this, buffer); return buffer; }
public boolean equals(Object object) { final EqualsStrategy2 strategy = JAXBEqualsStrategy.INSTANCE; return equals(null, null, object, strategy); }
public Object copyTo(Object target) { final CopyStrategy2 strategy = JAXBCopyStrategy.INSTANCE; return copyTo(null, target, strategy); }
public Object copyTo(ObjectLocator locator, Object target, CopyStrategy2 strategy) { final Object draftCopy = ((target == null)?createNewInstance():target); if (draftCopy instanceof NotificationMessageDefinition) { final NotificationMessageDefinition copy = ((NotificationMessageDefinition) draftCopy); 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); } else { if (messageTypeShouldBeCopiedAndSet == Boolean.FALSE) { if (messageDestinationShouldBeCopiedAndSet == Boolean.TRUE) { String sourceMessageDestination; sourceMessageDestination = this.getMessageDestination(); String copyMessageDestination = ((String) strategy.copy(LocatorUtils.property(locator, "messageDestination", sourceMessageDestination), sourceMessageDestination, (this.messageDestination!= null))); copy.setMessageDestination(copyMessageDestination); } else { if (messageDestinationShouldBeCopiedAndSet == Boolean.FALSE) { 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); } else { if (messageVelocityTemplateShouldBeCopiedAndSet == Boolean.FALSE) { if (messageHeaderDefinitionsShouldBeCopiedAndSet == Boolean.TRUE) {
public Object clone() { return copyTo(createNewInstance()); }
public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy2 strategy) { strategy.appendStart(locator, this, buffer); appendFields(locator, buffer, strategy); strategy.appendEnd(locator, this, buffer); return buffer; }
public boolean equals(Object object) { final EqualsStrategy2 strategy = JAXBEqualsStrategy.INSTANCE; return equals(null, null, object, strategy); }
public Object copyTo(Object target) { final CopyStrategy2 strategy = JAXBCopyStrategy.INSTANCE; return copyTo(null, target, strategy); }
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 Object copyTo(ObjectLocator locator, Object target, CopyStrategy2 strategy) { final Object draftCopy = ((target == null)?createNewInstance():target); if (draftCopy instanceof NotificationMessageDefinition) { final NotificationMessageDefinition copy = ((NotificationMessageDefinition) draftCopy); 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); } else { if (messageTypeShouldBeCopiedAndSet == Boolean.FALSE) { if (messageDestinationShouldBeCopiedAndSet == Boolean.TRUE) { String sourceMessageDestination; sourceMessageDestination = this.getMessageDestination(); String copyMessageDestination = ((String) strategy.copy(LocatorUtils.property(locator, "messageDestination", sourceMessageDestination), sourceMessageDestination, (this.messageDestination!= null))); copy.setMessageDestination(copyMessageDestination); } else { if (messageDestinationShouldBeCopiedAndSet == Boolean.FALSE) { 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); } else { if (messageVelocityTemplateShouldBeCopiedAndSet == Boolean.FALSE) { if (messageHeaderDefinitionsShouldBeCopiedAndSet == Boolean.TRUE) {
/** * Create an instance of {@link NotificationMessageDefinition } * */ public NotificationMessageDefinition createNotificationMessageDefinition() { return new NotificationMessageDefinition(); }
public Object clone() { return copyTo(createNewInstance()); }
public String toString() { final ToStringStrategy2 strategy = JAXBToStringStrategy.INSTANCE; final StringBuilder buffer = new StringBuilder(); append(null, buffer, strategy); return buffer.toString(); }
public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy2 strategy) { strategy.appendStart(locator, this, buffer); appendFields(locator, buffer, strategy); strategy.appendEnd(locator, this, buffer); return buffer; }
public boolean equals(Object object) { final EqualsStrategy2 strategy = JAXBEqualsStrategy.INSTANCE; return equals(null, null, object, strategy); }