1 16 package org.apache.axis2.addressing.om; 17 18 import org.apache.axis2.addressing.EndpointReference; 19 import org.apache.axis2.addressing.miheaders.RelatesTo; 20 import org.apache.axis2.soap.SOAPHeader; 21 22 25 public class AddressingHeaders { 26 29 private EndpointReference wsaTo; 30 31 34 private EndpointReference wsaFrom; 35 36 39 private EndpointReference wsaReply; 40 41 44 private EndpointReference wsaFaultTo; 45 46 49 private String action; 50 51 54 private String messageId; 55 56 59 private RelatesTo relatesTo; 60 61 67 public AddressingHeaders(EndpointReference wsaTo, String action) { 68 this.wsaTo = wsaTo; 69 this.action = action; 70 } 71 72 74 79 public EndpointReference getWsaTo() { 80 return wsaTo; 81 } 82 83 88 public void setWsaTo(EndpointReference wsaTo) { 89 this.wsaTo = wsaTo; 90 } 91 92 97 public EndpointReference getWsaFrom() { 98 return wsaFrom; 99 } 100 101 106 public void setWsaFrom(EndpointReference wsaFrom) { 107 this.wsaFrom = wsaFrom; 108 } 109 110 115 public EndpointReference getWsaReply() { 116 return wsaReply; 117 } 118 119 124 public void setWsaReply(EndpointReference wsaReply) { 125 this.wsaReply = wsaReply; 126 } 127 128 133 public EndpointReference getWsaFaultTo() { 134 return wsaFaultTo; 135 } 136 137 142 public void setWsaFaultTo(EndpointReference wsaFaultTo) { 143 this.wsaFaultTo = wsaFaultTo; 144 } 145 146 151 public String getAction() { 152 return action; 153 } 154 155 160 public void setAction(String action) { 161 this.action = action; 162 } 163 164 169 public String getMessageId() { 170 return messageId; 171 } 172 173 178 public void setMessageId(String messageId) { 179 this.messageId = messageId; 180 } 181 182 187 public RelatesTo getRelatesTo() { 188 return relatesTo; 189 } 190 191 196 public void setRelatesTo(RelatesTo relatesTo) { 197 this.relatesTo = relatesTo; 198 } 199 200 } 202 | Popular Tags |