1 57 58 package org.apache.wsif; 59 60 import java.io.Serializable ; 61 62 import javax.xml.namespace.QName ; 63 64 72 public class WSIFResponse implements Serializable { 73 74 private static final long serialVersionUID = 1L; 75 76 QName serviceID; 77 String operationName; 78 boolean isFault = false; 79 WSIFMessage outgoingMessage; 80 WSIFMessage faultMessage; 81 WSIFMessage contextMessage; 82 83 String portName; 84 String inputName; 85 String outputName; 86 89 public WSIFResponse(QName serviceID) { 90 this.serviceID = serviceID; 91 } 92 93 96 public QName getServiceID() { 97 return serviceID; 98 } 99 100 103 public void setOperationName(String operationName) { 104 this.operationName = operationName; 105 } 106 107 110 public String getOperationName() { 111 return operationName; 112 } 113 114 119 public void setIsFault(boolean isFault) { 120 this.isFault = isFault; 121 } 122 123 127 public boolean getIsFault() { 128 return isFault; 129 } 130 131 135 public void setOutgoingMessage(WSIFMessage outgoingMessage) { 136 this.outgoingMessage = outgoingMessage; 137 } 138 139 142 public WSIFMessage getOutgoingMessage() { 143 return outgoingMessage; 144 } 145 146 150 public void setFaultMessage(WSIFMessage faultMessage) { 151 this.faultMessage = faultMessage; 152 } 153 154 157 public WSIFMessage getFaultMessage() { 158 return faultMessage; 159 } 160 161 164 public void setContextMessage(WSIFMessage contextMessage) { 165 this.contextMessage = contextMessage; 166 } 167 168 171 public WSIFMessage getContextMessage() { 172 return contextMessage; 173 } 174 175 178 public String toString() { 179 return "[WSIFResponse:\n" 180 + "\t serviceID = '" 181 + serviceID 182 + "'\n" 183 + "\t operationName = '" 184 + operationName 185 + "'\n" 186 + "\t isFault = '" 187 + isFault 188 + "'\n" 189 + "\t outgoingMessage = '" 190 + outgoingMessage 191 + "'\n" 192 + "\t faultMessage = '" 193 + faultMessage 194 + "'\n" 195 + "\t contextMessage = '" 196 + contextMessage 197 + "']"; 198 } 199 203 public String getPortName() { 204 return portName; 205 } 206 210 public void setPortName(String portName) { 211 this.portName = portName; 212 } 213 214 218 public String getInputName() { 219 return inputName; 220 } 221 225 public void setInputName(String inputName) { 226 this.inputName = inputName; 227 } 228 229 233 public String getOutputName() { 234 return outputName; 235 } 236 240 public void setOutputName(String outputName) { 241 this.outputName = outputName; 242 } 243 244 } 245 | Popular Tags |