ContentLength.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.context;

  21. import javax.xml.bind.annotation.XmlAccessType;
  22. import javax.xml.bind.annotation.XmlAccessorType;
  23. import javax.xml.bind.annotation.XmlElement;
  24. import javax.xml.bind.annotation.XmlRootElement;
  25. import javax.xml.bind.annotation.XmlType;
  26. import java.io.Serializable;


  27. /** <p>Java class for content-length complex type.
  28.  *
  29.  * <p>The following schema fragment specifies the expected content contained within this class.
  30.  *
  31.  * <pre>
  32.  * &lt;complexType name="content-length"&gt;
  33.  *      &lt;sequence&gt;
  34.  *          &lt;element name="outgoing-size" type="{http://www.w3.org/2001/XMLSchema}unsignedLong" minOccurs="0" maxOccurs="1"/&gt;
  35.  *          &lt;element name="incoming-size" type="{http://www.w3.org/2001/XMLSchema}unsignedLong" minOccurs="0" maxOccurs="1"/&gt;
  36.  *          &lt;element name="incoming-size-forced" type="{http://www.w3.org/2001/XMLSchema}unsignedLong" minOccurs="0" maxOccurs="1"/&gt;
  37.  *      &lt;/sequence&gt;
  38.  * &lt;/complexType&gt;
  39.  * </pre>
  40.  *
  41.  * @version $Rev$, $Date$
  42.  *
  43.  * @author Poli Andrea (poli@link.it)
  44.  * @author $Author$
  45.  * */

  46. @XmlAccessorType(XmlAccessType.FIELD)
  47. @XmlType(name = "content-length",
  48.   propOrder = {
  49.     "outgoingSize",
  50.     "incomingSize",
  51.     "incomingSizeForced"
  52.   }
  53. )

  54. @XmlRootElement(name = "content-length")

  55. public class ContentLength extends org.openspcoop2.utils.beans.BaseBeanWithId implements Serializable , Cloneable {
  56.   public ContentLength() {
  57.     super();
  58.   }

  59.   public java.lang.Long getOutgoingSize() {
  60.     return this.outgoingSize;
  61.   }

  62.   public void setOutgoingSize(java.lang.Long outgoingSize) {
  63.     this.outgoingSize = outgoingSize;
  64.   }

  65.   public java.lang.Long getIncomingSize() {
  66.     return this.incomingSize;
  67.   }

  68.   public void setIncomingSize(java.lang.Long incomingSize) {
  69.     this.incomingSize = incomingSize;
  70.   }

  71.   public java.lang.Long getIncomingSizeForced() {
  72.     return this.incomingSizeForced;
  73.   }

  74.   public void setIncomingSizeForced(java.lang.Long incomingSizeForced) {
  75.     this.incomingSizeForced = incomingSizeForced;
  76.   }

  77.   private static final long serialVersionUID = 1L;



  78.   @javax.xml.bind.annotation.XmlSchemaType(name="unsignedLong")
  79.   @XmlElement(name="outgoing-size",required=false,nillable=false)
  80.   protected java.lang.Long outgoingSize;

  81.   @javax.xml.bind.annotation.XmlSchemaType(name="unsignedLong")
  82.   @XmlElement(name="incoming-size",required=false,nillable=false)
  83.   protected java.lang.Long incomingSize;

  84.   @javax.xml.bind.annotation.XmlSchemaType(name="unsignedLong")
  85.   @XmlElement(name="incoming-size-forced",required=false,nillable=false)
  86.   protected java.lang.Long incomingSizeForced;

  87. }