MessagePart.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.core.registry;

  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 message-part complex type.
  28.  *
  29.  * <p>The following schema fragment specifies the expected content contained within this class.
  30.  *
  31.  * <pre>
  32.  * &lt;complexType name="message-part"&gt;
  33.  *      &lt;attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" use="required"/&gt;
  34.  *      &lt;attribute name="element-name" type="{http://www.w3.org/2001/XMLSchema}string" use="optional"/&gt;
  35.  *      &lt;attribute name="element-namespace" type="{http://www.w3.org/2001/XMLSchema}string" use="optional"/&gt;
  36.  *      &lt;attribute name="type-name" type="{http://www.w3.org/2001/XMLSchema}string" use="optional"/&gt;
  37.  *      &lt;attribute name="type-namespace" type="{http://www.w3.org/2001/XMLSchema}string" use="optional"/&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 = "message-part")

  48. @XmlRootElement(name = "message-part")

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

  53.   public java.lang.String getName() {
  54.     return this.name;
  55.   }

  56.   public void setName(java.lang.String name) {
  57.     this.name = name;
  58.   }

  59.   public java.lang.String getElementName() {
  60.     return this.elementName;
  61.   }

  62.   public void setElementName(java.lang.String elementName) {
  63.     this.elementName = elementName;
  64.   }

  65.   public java.lang.String getElementNamespace() {
  66.     return this.elementNamespace;
  67.   }

  68.   public void setElementNamespace(java.lang.String elementNamespace) {
  69.     this.elementNamespace = elementNamespace;
  70.   }

  71.   public java.lang.String getTypeName() {
  72.     return this.typeName;
  73.   }

  74.   public void setTypeName(java.lang.String typeName) {
  75.     this.typeName = typeName;
  76.   }

  77.   public java.lang.String getTypeNamespace() {
  78.     return this.typeNamespace;
  79.   }

  80.   public void setTypeNamespace(java.lang.String typeNamespace) {
  81.     this.typeNamespace = typeNamespace;
  82.   }

  83.   private static final long serialVersionUID = 1L;



  84.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  85.   @XmlAttribute(name="name",required=true)
  86.   protected java.lang.String name;

  87.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  88.   @XmlAttribute(name="element-name",required=false)
  89.   protected java.lang.String elementName;

  90.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  91.   @XmlAttribute(name="element-namespace",required=false)
  92.   protected java.lang.String elementNamespace;

  93.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  94.   @XmlAttribute(name="type-name",required=false)
  95.   protected java.lang.String typeName;

  96.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  97.   @XmlAttribute(name="type-namespace",required=false)
  98.   protected java.lang.String typeNamespace;

  99. }