WSAddressingValue.java

  1. /*
  2.  * GovWay - A customizable API Gateway
  3.  * https://govway.org
  4.  *
  5.  * Copyright (c) 2005-2025 Link.it srl (https://link.it).
  6.  *
  7.  * This program is free software: you can redistribute it and/or modify
  8.  * it under the terms of the GNU General Public License version 3, as published by
  9.  * the Free Software Foundation.
  10.  *
  11.  * This program is distributed in the hope that it will be useful,
  12.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  13.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14.  * GNU General Public License for more details.
  15.  *
  16.  * You should have received a copy of the GNU General Public License
  17.  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  18.  *
  19.  */

  20. package org.openspcoop2.message.soap.wsaddressing;

  21. /**
  22.  * WSAddressingValue
  23.  *
  24.  * @author Poli Andrea (apoli@link.it)
  25.  * @author $Author$
  26.  * @version $Rev$, $Date$
  27.  */
  28. public class WSAddressingValue {

  29.     private String to = null;
  30.     private String from = null;
  31.     private String action = null;
  32.     private String id = null;
  33.     private String relatesTo = null;
  34.     private String replyTo = null;
  35.     private String faultTo = null;
  36.    
  37.     public String getTo() {
  38.         return this.to;
  39.     }
  40.     public void setTo(String to) {
  41.         this.to = to;
  42.     }
  43.     public String getFrom() {
  44.         return this.from;
  45.     }
  46.     public void setFrom(String from) {
  47.         this.from = from;
  48.     }
  49.     public String getAction() {
  50.         return this.action;
  51.     }
  52.     public void setAction(String action) {
  53.         this.action = action;
  54.     }
  55.     public String getId() {
  56.         return this.id;
  57.     }
  58.     public void setId(String id) {
  59.         this.id = id;
  60.     }
  61.     public String getRelatesTo() {
  62.         return this.relatesTo;
  63.     }
  64.     public void setRelatesTo(String relatesTo) {
  65.         this.relatesTo = relatesTo;
  66.     }
  67.     public String getReplyTo() {
  68.         return this.replyTo;
  69.     }
  70.     public void setReplyTo(String replyTo) {
  71.         this.replyTo = replyTo;
  72.     }
  73.     public void setReplyToAnonymouys() {
  74.         this.replyTo = Costanti.WSA_SOAP_HEADER_EPR_ADDRESS_ANONYMOUS;
  75.     }
  76.     public String getFaultTo() {
  77.         return this.faultTo;
  78.     }
  79.     public void setFaultTo(String faultTo) {
  80.         this.faultTo = faultTo;
  81.     }
  82. }