1 package org.jbpm.bpel.data.def; 2 3 import javax.wsdl.Message; 4 import javax.xml.namespace.QName ; 5 6 import org.jbpm.bpel.data.exe.MessageVariableInstance; 7 import org.jbpm.bpel.data.exe.VariableInstance; 8 9 15 public class MessageTypeInfo extends VariableTypeInfo { 16 17 private Message message; 18 19 private static final long serialVersionUID = 1L; 20 21 public MessageTypeInfo() { 22 } 23 24 public MessageTypeInfo(Message message) { 25 this.message = message; 26 } 27 28 public QName getName() { 29 return message.getQName(); 30 } 31 32 public Message getMessage() { 33 return message; 34 } 35 36 public void setMessage(Message message) { 37 this.message = message; 38 } 39 40 41 public VariableInstance createVariableInstance() { 42 return new MessageVariableInstance(); 43 } 44 } 45 | Popular Tags |