1 7 package org.jboss.webservice.metadata.jaxrpcmapping; 8 9 import javax.xml.namespace.QName ; 10 11 13 19 public class WsdlMessageMapping 20 { 21 private MethodParamPartsMapping methodParamPartsMapping; 23 private QName wsdlMessage; 25 private String wsdlMessagePartName; 27 private String parameterMode; 29 private boolean soapHeader; 31 32 public WsdlMessageMapping(MethodParamPartsMapping methodParamPartsMapping) 33 { 34 this.methodParamPartsMapping = methodParamPartsMapping; 35 } 36 37 public MethodParamPartsMapping getMethodParamPartsMapping() 38 { 39 return methodParamPartsMapping; 40 } 41 42 public String getParameterMode() 43 { 44 return parameterMode; 45 } 46 47 public void setParameterMode(String parameterMode) 48 { 49 if ("IN".equals(parameterMode) == false && "OUT".equals(parameterMode) == false && "INOUT".equals(parameterMode) == false) 50 throw new IllegalArgumentException ("Invalid parameter mode: " + parameterMode); 51 this.parameterMode = parameterMode; 52 } 53 54 public boolean isSoapHeader() 55 { 56 return soapHeader; 57 } 58 59 public void setSoapHeader(boolean soapHeader) 60 { 61 this.soapHeader = soapHeader; 62 } 63 64 public QName getWsdlMessage() 65 { 66 return wsdlMessage; 67 } 68 69 public void setWsdlMessage(QName wsdlMessage) 70 { 71 this.wsdlMessage = wsdlMessage; 72 } 73 74 public String getWsdlMessagePartName() 75 { 76 return wsdlMessagePartName; 77 } 78 79 public void setWsdlMessagePartName(String wsdlMessagePartName) 80 { 81 this.wsdlMessagePartName = wsdlMessagePartName; 82 } 83 } 84 | Popular Tags |