Organization.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.protocol.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.XmlElement;
  25. import javax.xml.bind.annotation.XmlRootElement;
  26. import javax.xml.bind.annotation.XmlType;
  27. import java.io.Serializable;


  28. /** <p>Java class for Organization complex type.
  29.  *
  30.  * <p>The following schema fragment specifies the expected content contained within this class.
  31.  *
  32.  * <pre>
  33.  * &lt;complexType name="Organization"&gt;
  34.  *      &lt;sequence&gt;
  35.  *          &lt;element name="types" type="{http://www.openspcoop2.org/protocol/manifest}OrganizationTypes" minOccurs="1" maxOccurs="1"/&gt;
  36.  *      &lt;/sequence&gt;
  37.  *      &lt;attribute name="authentication" type="{http://www.w3.org/2001/XMLSchema}boolean" use="optional" default="true"/&gt;
  38.  *      &lt;attribute name="httpsWithTokenAuthentication" type="{http://www.w3.org/2001/XMLSchema}boolean" use="optional" default="false"/&gt;
  39.  *      &lt;attribute name="inboundApplicativeAuthentication" type="{http://www.w3.org/2001/XMLSchema}boolean" use="optional" default="true"/&gt;
  40.  *      &lt;attribute name="inboundOrganizationAuthorizationWithoutAuthentication" type="{http://www.w3.org/2001/XMLSchema}boolean" use="optional" default="false"/&gt;
  41.  *      &lt;attribute name="inboundExternalApplicationAuthentication" type="{http://www.w3.org/2001/XMLSchema}boolean" use="optional" default="false"/&gt;
  42.  *      &lt;attribute name="codeDomain" type="{http://www.w3.org/2001/XMLSchema}boolean" use="optional" default="false"/&gt;
  43.  *      &lt;attribute name="codeIPA" type="{http://www.w3.org/2001/XMLSchema}boolean" use="optional" default="false"/&gt;
  44.  *      &lt;attribute name="replyToAddress" type="{http://www.w3.org/2001/XMLSchema}boolean" use="optional" default="false"/&gt;
  45.  *      &lt;attribute name="dash" type="{http://www.w3.org/2001/XMLSchema}boolean" use="optional" default="true"/&gt;
  46.  * &lt;/complexType&gt;
  47.  * </pre>
  48.  *
  49.  * @version $Rev$, $Date$
  50.  *
  51.  * @author Poli Andrea (poli@link.it)
  52.  * @author $Author$
  53.  * */

  54. @XmlAccessorType(XmlAccessType.FIELD)
  55. @XmlType(name = "Organization",
  56.   propOrder = {
  57.     "types"
  58.   }
  59. )

  60. @XmlRootElement(name = "Organization")

  61. public class Organization extends org.openspcoop2.utils.beans.BaseBean implements Serializable , Cloneable {
  62.   public Organization() {
  63.     super();
  64.   }

  65.   public OrganizationTypes getTypes() {
  66.     return this.types;
  67.   }

  68.   public void setTypes(OrganizationTypes types) {
  69.     this.types = types;
  70.   }

  71.   public boolean isAuthentication() {
  72.     return this.authentication;
  73.   }

  74.   public boolean getAuthentication() {
  75.     return this.authentication;
  76.   }

  77.   public void setAuthentication(boolean authentication) {
  78.     this.authentication = authentication;
  79.   }

  80.   public boolean isHttpsWithTokenAuthentication() {
  81.     return this.httpsWithTokenAuthentication;
  82.   }

  83.   public boolean getHttpsWithTokenAuthentication() {
  84.     return this.httpsWithTokenAuthentication;
  85.   }

  86.   public void setHttpsWithTokenAuthentication(boolean httpsWithTokenAuthentication) {
  87.     this.httpsWithTokenAuthentication = httpsWithTokenAuthentication;
  88.   }

  89.   public boolean isInboundApplicativeAuthentication() {
  90.     return this.inboundApplicativeAuthentication;
  91.   }

  92.   public boolean getInboundApplicativeAuthentication() {
  93.     return this.inboundApplicativeAuthentication;
  94.   }

  95.   public void setInboundApplicativeAuthentication(boolean inboundApplicativeAuthentication) {
  96.     this.inboundApplicativeAuthentication = inboundApplicativeAuthentication;
  97.   }

  98.   public boolean isInboundOrganizationAuthorizationWithoutAuthentication() {
  99.     return this.inboundOrganizationAuthorizationWithoutAuthentication;
  100.   }

  101.   public boolean getInboundOrganizationAuthorizationWithoutAuthentication() {
  102.     return this.inboundOrganizationAuthorizationWithoutAuthentication;
  103.   }

  104.   public void setInboundOrganizationAuthorizationWithoutAuthentication(boolean inboundOrganizationAuthorizationWithoutAuthentication) {
  105.     this.inboundOrganizationAuthorizationWithoutAuthentication = inboundOrganizationAuthorizationWithoutAuthentication;
  106.   }

  107.   public boolean isInboundExternalApplicationAuthentication() {
  108.     return this.inboundExternalApplicationAuthentication;
  109.   }

  110.   public boolean getInboundExternalApplicationAuthentication() {
  111.     return this.inboundExternalApplicationAuthentication;
  112.   }

  113.   public void setInboundExternalApplicationAuthentication(boolean inboundExternalApplicationAuthentication) {
  114.     this.inboundExternalApplicationAuthentication = inboundExternalApplicationAuthentication;
  115.   }

  116.   public boolean isCodeDomain() {
  117.     return this.codeDomain;
  118.   }

  119.   public boolean getCodeDomain() {
  120.     return this.codeDomain;
  121.   }

  122.   public void setCodeDomain(boolean codeDomain) {
  123.     this.codeDomain = codeDomain;
  124.   }

  125.   public boolean isCodeIPA() {
  126.     return this.codeIPA;
  127.   }

  128.   public boolean getCodeIPA() {
  129.     return this.codeIPA;
  130.   }

  131.   public void setCodeIPA(boolean codeIPA) {
  132.     this.codeIPA = codeIPA;
  133.   }

  134.   public boolean isReplyToAddress() {
  135.     return this.replyToAddress;
  136.   }

  137.   public boolean getReplyToAddress() {
  138.     return this.replyToAddress;
  139.   }

  140.   public void setReplyToAddress(boolean replyToAddress) {
  141.     this.replyToAddress = replyToAddress;
  142.   }

  143.   public boolean isDash() {
  144.     return this.dash;
  145.   }

  146.   public boolean getDash() {
  147.     return this.dash;
  148.   }

  149.   public void setDash(boolean dash) {
  150.     this.dash = dash;
  151.   }

  152.   private static final long serialVersionUID = 1L;



  153.   @XmlElement(name="types",required=true,nillable=false)
  154.   protected OrganizationTypes types;

  155.   @javax.xml.bind.annotation.XmlSchemaType(name="boolean")
  156.   @XmlAttribute(name="authentication",required=false)
  157.   protected boolean authentication = true;

  158.   @javax.xml.bind.annotation.XmlSchemaType(name="boolean")
  159.   @XmlAttribute(name="httpsWithTokenAuthentication",required=false)
  160.   protected boolean httpsWithTokenAuthentication = false;

  161.   @javax.xml.bind.annotation.XmlSchemaType(name="boolean")
  162.   @XmlAttribute(name="inboundApplicativeAuthentication",required=false)
  163.   protected boolean inboundApplicativeAuthentication = true;

  164.   @javax.xml.bind.annotation.XmlSchemaType(name="boolean")
  165.   @XmlAttribute(name="inboundOrganizationAuthorizationWithoutAuthentication",required=false)
  166.   protected boolean inboundOrganizationAuthorizationWithoutAuthentication = false;

  167.   @javax.xml.bind.annotation.XmlSchemaType(name="boolean")
  168.   @XmlAttribute(name="inboundExternalApplicationAuthentication",required=false)
  169.   protected boolean inboundExternalApplicationAuthentication = false;

  170.   @javax.xml.bind.annotation.XmlSchemaType(name="boolean")
  171.   @XmlAttribute(name="codeDomain",required=false)
  172.   protected boolean codeDomain = false;

  173.   @javax.xml.bind.annotation.XmlSchemaType(name="boolean")
  174.   @XmlAttribute(name="codeIPA",required=false)
  175.   protected boolean codeIPA = false;

  176.   @javax.xml.bind.annotation.XmlSchemaType(name="boolean")
  177.   @XmlAttribute(name="replyToAddress",required=false)
  178.   protected boolean replyToAddress = false;

  179.   @javax.xml.bind.annotation.XmlSchemaType(name="boolean")
  180.   @XmlAttribute(name="dash",required=false)
  181.   protected boolean dash = true;

  182. }