Your browser does not support JavaScript and this site utilizes JavaScript to build content and provide links to additional information. You should either enable JavaScript in your browser settings or use a browser that supports JavaScript in order to take full advantage of this site.
1 57 58 package org.apache.wsif.wsdl.extensions.java; 59 60 import java.util.List ; 61 62 import javax.wsdl.extensions.ExtensibilityElement; 63 import javax.xml.namespace.QName ; 64 65 import com.ibm.wsdl.util.StringUtils; 66 67 72 public class JavaOperation 73 implements ExtensibilityElement, java.io.Serializable { 74 75 private static final long serialVersionUID = 1L; 76 77 protected QName fieldElementType = JavaBindingConstants.Q_ELEM_JAVA_OPERATION; 78 80 protected Boolean fieldRequired = null; 81 protected String fieldMethodName; 82 protected String fieldMethodType; 83 protected List fieldParameterOrder; 84 protected String fieldReturnPart; 85 86 91 public QName getElementType() { 92 return fieldElementType; 93 } 94 95 public String getMethodName() { 96 return fieldMethodName; 97 } 98 99 public String getMethodType() { 100 return fieldMethodType; 101 } 102 103 public List getParameterOrder() { 104 return fieldParameterOrder; 105 } 106 107 public String getReturnPart() { 108 return fieldReturnPart; 109 } 110 111 115 public Boolean getRequired() { 116 return fieldRequired; 117 } 118 119 124 public void setElementType(QName elementType) { 125 fieldElementType = elementType; 126 } 127 128 public void setMethodName(String newMethodName) { 129 fieldMethodName = newMethodName; 130 } 131 132 public void setMethodType(String newMethodType) { 133 fieldMethodType = newMethodType; 134 } 135 136 public void setParameterOrder(String newParameterOrderStr) { 137 if (newParameterOrderStr != null) { 138 fieldParameterOrder = StringUtils.parseNMTokens(newParameterOrderStr); 139 } 140 } 141 142 public void setReturnPart(String newReturnPart) { 143 fieldReturnPart = newReturnPart; 144 } 145 146 150 public void setRequired(Boolean required) { 151 fieldRequired = required; 152 } 153 154 public String toString() { 155 StringBuffer strBuf = new StringBuffer (super.toString()); 156 157 strBuf.append("\nJavaOperation (" + fieldElementType + "):"); 158 strBuf.append("\nrequired=" + fieldRequired); 159 160 strBuf.append("\nmethodName=" + fieldMethodName); 161 strBuf.append("\nmethodType=" + fieldMethodType); 162 strBuf.append("\nparameterOrder=" + fieldParameterOrder); 163 strBuf.append("\nreturnPart=" + fieldReturnPart); 164 165 return strBuf.toString(); 166 } 167 }
| Popular Tags
|