DocumentoSemiformale.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 it.gov.spcoop.sica.manifest;

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


  27. /** <p>Java class for DocumentoSemiformale complex type.
  28.  *
  29.  * <p>The following schema fragment specifies the expected content contained within this class.
  30.  *
  31.  * <pre>
  32.  * &lt;complexType name="DocumentoSemiformale"&gt;
  33.  *      &lt;xsd:simpleContent&gt;
  34.  *          &lt;xsd:extension base="{http://www.w3.org/2001/XMLSchema}string"&gt;
  35.  *              &lt;attribute name="tipo" type="{http://spcoop.gov.it/sica/manifest}string" use="required"/&gt;
  36.  *          &lt;/xsd:extension&gt;
  37.  *      &lt;/xsd:simpleContent&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 = "DocumentoSemiformale")

  48. @XmlRootElement(name = "DocumentoSemiformale")

  49. public class DocumentoSemiformale extends org.openspcoop2.utils.beans.BaseBean implements Serializable , Cloneable {
  50.   public DocumentoSemiformale() {
  51.     super();
  52.   }

  53.   public String getBase() {
  54.     if(this.base!=null && ("".equals(this.base)==false)){
  55.         return this.base.trim();
  56.     }else{
  57.         return null;
  58.     }

  59.   }

  60.   public void setBase(String base) {
  61.     this.base=base;
  62.   }

  63.   public java.lang.String getTipo() {
  64.     return this.tipo;
  65.   }

  66.   public void setTipo(java.lang.String tipo) {
  67.     this.tipo = tipo;
  68.   }

  69.   private static final long serialVersionUID = 1L;



  70.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  71.   @javax.xml.bind.annotation.XmlValue()
  72.   public String base;

  73.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  74.   @XmlAttribute(name="tipo",required=true)
  75.   protected java.lang.String tipo;

  76. }