AbstractSerializer.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.commons.search.utils.serializer;

  21. import org.openspcoop2.generic_project.exception.SerializerException;
  22. import org.openspcoop2.utils.beans.WriteToSerializerType;
  23. import org.openspcoop2.utils.xml.JaxbUtils;

  24. import org.openspcoop2.core.commons.search.Operation;
  25. import org.openspcoop2.core.commons.search.IdPortType;
  26. import org.openspcoop2.core.commons.search.PortaApplicativa;
  27. import org.openspcoop2.core.commons.search.IdSoggetto;
  28. import org.openspcoop2.core.commons.search.PortaApplicativaServizioApplicativo;
  29. import org.openspcoop2.core.commons.search.PortaApplicativaAzione;
  30. import org.openspcoop2.core.commons.search.Resource;
  31. import org.openspcoop2.core.commons.search.IdAccordoServizioParteComune;
  32. import org.openspcoop2.core.commons.search.AccordoServizioParteComuneAzione;
  33. import org.openspcoop2.core.commons.search.IdRuolo;
  34. import org.openspcoop2.core.commons.search.IdPortaDominio;
  35. import org.openspcoop2.core.commons.search.IdAccordoServizioParteSpecifica;
  36. import org.openspcoop2.core.commons.search.ServizioApplicativoRuolo;
  37. import org.openspcoop2.core.commons.search.IdAccordoServizioParteComuneAzione;
  38. import org.openspcoop2.core.commons.search.AccordoServizioParteSpecifica;
  39. import org.openspcoop2.core.commons.search.ServizioApplicativoProprietaProtocollo;
  40. import org.openspcoop2.core.commons.search.Ruolo;
  41. import org.openspcoop2.core.commons.search.SoggettoRuolo;
  42. import org.openspcoop2.core.commons.search.ServizioApplicativo;
  43. import org.openspcoop2.core.commons.search.IdGruppo;
  44. import org.openspcoop2.core.commons.search.AccordoServizioParteComuneGruppo;
  45. import org.openspcoop2.core.commons.search.IdServizioApplicativo;
  46. import org.openspcoop2.core.commons.search.PortType;
  47. import org.openspcoop2.core.commons.search.IdPortaDelegata;
  48. import org.openspcoop2.core.commons.search.IdAccordoServizioParteComuneGruppo;
  49. import org.openspcoop2.core.commons.search.PortaDelegataAzione;
  50. import org.openspcoop2.core.commons.search.IdFruitore;
  51. import org.openspcoop2.core.commons.search.IdOperation;
  52. import org.openspcoop2.core.commons.search.Soggetto;
  53. import org.openspcoop2.core.commons.search.Gruppo;
  54. import org.openspcoop2.core.commons.search.AccordoServizioParteComune;
  55. import org.openspcoop2.core.commons.search.PortaDominio;
  56. import org.openspcoop2.core.commons.search.IdPortaApplicativa;
  57. import org.openspcoop2.core.commons.search.IdResource;
  58. import org.openspcoop2.core.commons.search.PortaDelegataServizioApplicativo;
  59. import org.openspcoop2.core.commons.search.Fruitore;
  60. import org.openspcoop2.core.commons.search.PortaDelegata;
  61. import org.openspcoop2.core.commons.search.IdSoggettoRuolo;

  62. import java.io.ByteArrayOutputStream;
  63. import java.io.FileOutputStream;
  64. import java.io.OutputStream;
  65. import java.io.File;
  66. import java.lang.reflect.Method;

  67. import javax.xml.bind.JAXBElement;

  68. /**    
  69.  * XML Serializer of beans
  70.  *
  71.  * @author Poli Andrea (poli@link.it)
  72.  * @author $Author$
  73.  * @version $Rev$, $Date$
  74.  */
  75. public abstract class AbstractSerializer {


  76.     protected abstract WriteToSerializerType getType();
  77.    
  78.     protected void _objToXml(OutputStream out, Class<?> c, Object object,
  79.             boolean prettyPrint) throws Exception {
  80.         if(object instanceof JAXBElement){
  81.             // solo per il tipo WriteToSerializerType.JAXB
  82.             JaxbUtils.objToXml(out, c, object, prettyPrint);
  83.         }else{
  84.             Method m = c.getMethod("writeTo", OutputStream.class, WriteToSerializerType.class);
  85.             m.invoke(object, out, this.getType());
  86.         }
  87.     }
  88.    
  89.     protected void objToXml(OutputStream out,Class<?> c,Object object,boolean prettyPrint) throws SerializerException{
  90.         try{
  91.             this._objToXml(out, c, object, prettyPrint);
  92.         }catch(Exception e){
  93.             throw new SerializerException(e.getMessage(), e);
  94.         }
  95.         finally{
  96.             try{
  97.                 out.flush();
  98.             }catch(Exception e){
  99.                 // ignore
  100.             }
  101.         }
  102.     }
  103.     protected void objToXml(String fileName,Class<?> c,Object object,boolean prettyPrint) throws SerializerException{
  104.         try{
  105.             this.objToXml(new File(fileName), c, object, prettyPrint);
  106.         }catch(Exception e){
  107.             throw new SerializerException(e.getMessage(), e);
  108.         }
  109.     }
  110.     protected void objToXml(File file,Class<?> c,Object object,boolean prettyPrint) throws SerializerException{
  111.         FileOutputStream fout = null;
  112.         try{
  113.             fout = new FileOutputStream(file);
  114.             this._objToXml(fout, c, object, prettyPrint);
  115.         }catch(Exception e){
  116.             throw new SerializerException(e.getMessage(), e);
  117.         }
  118.         finally{
  119.             try{
  120.                 if(fout!=null){
  121.                     fout.flush();
  122.                 }
  123.             }catch(Exception e){
  124.                 // ignore
  125.             }
  126.             try{
  127.                 if(fout!=null){
  128.                     fout.close();
  129.                 }
  130.             }catch(Exception e){
  131.                 // ignore
  132.             }
  133.         }
  134.     }
  135.     protected ByteArrayOutputStream objToXml(Class<?> c,Object object,boolean prettyPrint) throws SerializerException{
  136.         ByteArrayOutputStream bout = null;
  137.         try{
  138.             bout = new ByteArrayOutputStream();
  139.             this._objToXml(bout, c, object, prettyPrint);
  140.         }catch(Exception e){
  141.             throw new SerializerException(e.getMessage(), e);
  142.         }
  143.         finally{
  144.             try{
  145.                 if(bout!=null){
  146.                     bout.flush();
  147.                 }
  148.             }catch(Exception e){
  149.                 // ignore
  150.             }
  151.             try{
  152.                 if(bout!=null){
  153.                     bout.close();
  154.                 }
  155.             }catch(Exception e){
  156.                 // ignore
  157.             }
  158.         }
  159.         return bout;
  160.     }




  161.     /*
  162.      =================================================================================
  163.      Object: operation
  164.      =================================================================================
  165.     */
  166.    
  167.     /**
  168.      * Serialize to file system in <var>fileName</var> the object <var>operation</var> of type {@link org.openspcoop2.core.commons.search.Operation}
  169.      *
  170.      * @param fileName Xml file to serialize the object <var>operation</var>
  171.      * @param operation Object to be serialized in xml file <var>fileName</var>
  172.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  173.      */
  174.     public void write(String fileName,Operation operation) throws SerializerException {
  175.         this.objToXml(fileName, Operation.class, operation, false);
  176.     }
  177.     /**
  178.      * Serialize to file system in <var>fileName</var> the object <var>operation</var> of type {@link org.openspcoop2.core.commons.search.Operation}
  179.      *
  180.      * @param fileName Xml file to serialize the object <var>operation</var>
  181.      * @param operation Object to be serialized in xml file <var>fileName</var>
  182.      * @param prettyPrint if true output the XML with indenting
  183.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  184.      */
  185.     public void write(String fileName,Operation operation,boolean prettyPrint) throws SerializerException {
  186.         this.objToXml(fileName, Operation.class, operation, prettyPrint);
  187.     }
  188.    
  189.     /**
  190.      * Serialize to file system in <var>file</var> the object <var>operation</var> of type {@link org.openspcoop2.core.commons.search.Operation}
  191.      *
  192.      * @param file Xml file to serialize the object <var>operation</var>
  193.      * @param operation Object to be serialized in xml file <var>fileName</var>
  194.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  195.      */
  196.     public void write(File file,Operation operation) throws SerializerException {
  197.         this.objToXml(file, Operation.class, operation, false);
  198.     }
  199.     /**
  200.      * Serialize to file system in <var>file</var> the object <var>operation</var> of type {@link org.openspcoop2.core.commons.search.Operation}
  201.      *
  202.      * @param file Xml file to serialize the object <var>operation</var>
  203.      * @param operation Object to be serialized in xml file <var>fileName</var>
  204.      * @param prettyPrint if true output the XML with indenting
  205.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  206.      */
  207.     public void write(File file,Operation operation,boolean prettyPrint) throws SerializerException {
  208.         this.objToXml(file, Operation.class, operation, prettyPrint);
  209.     }
  210.    
  211.     /**
  212.      * Serialize to output stream <var>out</var> the object <var>operation</var> of type {@link org.openspcoop2.core.commons.search.Operation}
  213.      *
  214.      * @param out OutputStream to serialize the object <var>operation</var>
  215.      * @param operation Object to be serialized in xml file <var>fileName</var>
  216.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  217.      */
  218.     public void write(OutputStream out,Operation operation) throws SerializerException {
  219.         this.objToXml(out, Operation.class, operation, false);
  220.     }
  221.     /**
  222.      * Serialize to output stream <var>out</var> the object <var>operation</var> of type {@link org.openspcoop2.core.commons.search.Operation}
  223.      *
  224.      * @param out OutputStream to serialize the object <var>operation</var>
  225.      * @param operation Object to be serialized in xml file <var>fileName</var>
  226.      * @param prettyPrint if true output the XML with indenting
  227.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  228.      */
  229.     public void write(OutputStream out,Operation operation,boolean prettyPrint) throws SerializerException {
  230.         this.objToXml(out, Operation.class, operation, prettyPrint);
  231.     }
  232.            
  233.     /**
  234.      * Serialize to byte array the object <var>operation</var> of type {@link org.openspcoop2.core.commons.search.Operation}
  235.      *
  236.      * @param operation Object to be serialized
  237.      * @return Object to be serialized in byte array
  238.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  239.      */
  240.     public byte[] toByteArray(Operation operation) throws SerializerException {
  241.         return this.objToXml(Operation.class, operation, false).toByteArray();
  242.     }
  243.     /**
  244.      * Serialize to byte array the object <var>operation</var> of type {@link org.openspcoop2.core.commons.search.Operation}
  245.      *
  246.      * @param operation Object to be serialized
  247.      * @param prettyPrint if true output the XML with indenting
  248.      * @return Object to be serialized in byte array
  249.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  250.      */
  251.     public byte[] toByteArray(Operation operation,boolean prettyPrint) throws SerializerException {
  252.         return this.objToXml(Operation.class, operation, prettyPrint).toByteArray();
  253.     }
  254.    
  255.     /**
  256.      * Serialize to String the object <var>operation</var> of type {@link org.openspcoop2.core.commons.search.Operation}
  257.      *
  258.      * @param operation Object to be serialized
  259.      * @return Object to be serialized as String
  260.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  261.      */
  262.     public String toString(Operation operation) throws SerializerException {
  263.         return this.objToXml(Operation.class, operation, false).toString();
  264.     }
  265.     /**
  266.      * Serialize to String the object <var>operation</var> of type {@link org.openspcoop2.core.commons.search.Operation}
  267.      *
  268.      * @param operation Object to be serialized
  269.      * @param prettyPrint if true output the XML with indenting
  270.      * @return Object to be serialized as String
  271.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  272.      */
  273.     public String toString(Operation operation,boolean prettyPrint) throws SerializerException {
  274.         return this.objToXml(Operation.class, operation, prettyPrint).toString();
  275.     }
  276.    
  277.    
  278.    
  279.     /*
  280.      =================================================================================
  281.      Object: id-port-type
  282.      =================================================================================
  283.     */
  284.    
  285.     /**
  286.      * Serialize to file system in <var>fileName</var> the object <var>idPortType</var> of type {@link org.openspcoop2.core.commons.search.IdPortType}
  287.      *
  288.      * @param fileName Xml file to serialize the object <var>idPortType</var>
  289.      * @param idPortType Object to be serialized in xml file <var>fileName</var>
  290.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  291.      */
  292.     public void write(String fileName,IdPortType idPortType) throws SerializerException {
  293.         this.objToXml(fileName, IdPortType.class, idPortType, false);
  294.     }
  295.     /**
  296.      * Serialize to file system in <var>fileName</var> the object <var>idPortType</var> of type {@link org.openspcoop2.core.commons.search.IdPortType}
  297.      *
  298.      * @param fileName Xml file to serialize the object <var>idPortType</var>
  299.      * @param idPortType Object to be serialized in xml file <var>fileName</var>
  300.      * @param prettyPrint if true output the XML with indenting
  301.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  302.      */
  303.     public void write(String fileName,IdPortType idPortType,boolean prettyPrint) throws SerializerException {
  304.         this.objToXml(fileName, IdPortType.class, idPortType, prettyPrint);
  305.     }
  306.    
  307.     /**
  308.      * Serialize to file system in <var>file</var> the object <var>idPortType</var> of type {@link org.openspcoop2.core.commons.search.IdPortType}
  309.      *
  310.      * @param file Xml file to serialize the object <var>idPortType</var>
  311.      * @param idPortType Object to be serialized in xml file <var>fileName</var>
  312.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  313.      */
  314.     public void write(File file,IdPortType idPortType) throws SerializerException {
  315.         this.objToXml(file, IdPortType.class, idPortType, false);
  316.     }
  317.     /**
  318.      * Serialize to file system in <var>file</var> the object <var>idPortType</var> of type {@link org.openspcoop2.core.commons.search.IdPortType}
  319.      *
  320.      * @param file Xml file to serialize the object <var>idPortType</var>
  321.      * @param idPortType Object to be serialized in xml file <var>fileName</var>
  322.      * @param prettyPrint if true output the XML with indenting
  323.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  324.      */
  325.     public void write(File file,IdPortType idPortType,boolean prettyPrint) throws SerializerException {
  326.         this.objToXml(file, IdPortType.class, idPortType, prettyPrint);
  327.     }
  328.    
  329.     /**
  330.      * Serialize to output stream <var>out</var> the object <var>idPortType</var> of type {@link org.openspcoop2.core.commons.search.IdPortType}
  331.      *
  332.      * @param out OutputStream to serialize the object <var>idPortType</var>
  333.      * @param idPortType Object to be serialized in xml file <var>fileName</var>
  334.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  335.      */
  336.     public void write(OutputStream out,IdPortType idPortType) throws SerializerException {
  337.         this.objToXml(out, IdPortType.class, idPortType, false);
  338.     }
  339.     /**
  340.      * Serialize to output stream <var>out</var> the object <var>idPortType</var> of type {@link org.openspcoop2.core.commons.search.IdPortType}
  341.      *
  342.      * @param out OutputStream to serialize the object <var>idPortType</var>
  343.      * @param idPortType Object to be serialized in xml file <var>fileName</var>
  344.      * @param prettyPrint if true output the XML with indenting
  345.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  346.      */
  347.     public void write(OutputStream out,IdPortType idPortType,boolean prettyPrint) throws SerializerException {
  348.         this.objToXml(out, IdPortType.class, idPortType, prettyPrint);
  349.     }
  350.            
  351.     /**
  352.      * Serialize to byte array the object <var>idPortType</var> of type {@link org.openspcoop2.core.commons.search.IdPortType}
  353.      *
  354.      * @param idPortType Object to be serialized
  355.      * @return Object to be serialized in byte array
  356.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  357.      */
  358.     public byte[] toByteArray(IdPortType idPortType) throws SerializerException {
  359.         return this.objToXml(IdPortType.class, idPortType, false).toByteArray();
  360.     }
  361.     /**
  362.      * Serialize to byte array the object <var>idPortType</var> of type {@link org.openspcoop2.core.commons.search.IdPortType}
  363.      *
  364.      * @param idPortType Object to be serialized
  365.      * @param prettyPrint if true output the XML with indenting
  366.      * @return Object to be serialized in byte array
  367.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  368.      */
  369.     public byte[] toByteArray(IdPortType idPortType,boolean prettyPrint) throws SerializerException {
  370.         return this.objToXml(IdPortType.class, idPortType, prettyPrint).toByteArray();
  371.     }
  372.    
  373.     /**
  374.      * Serialize to String the object <var>idPortType</var> of type {@link org.openspcoop2.core.commons.search.IdPortType}
  375.      *
  376.      * @param idPortType Object to be serialized
  377.      * @return Object to be serialized as String
  378.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  379.      */
  380.     public String toString(IdPortType idPortType) throws SerializerException {
  381.         return this.objToXml(IdPortType.class, idPortType, false).toString();
  382.     }
  383.     /**
  384.      * Serialize to String the object <var>idPortType</var> of type {@link org.openspcoop2.core.commons.search.IdPortType}
  385.      *
  386.      * @param idPortType Object to be serialized
  387.      * @param prettyPrint if true output the XML with indenting
  388.      * @return Object to be serialized as String
  389.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  390.      */
  391.     public String toString(IdPortType idPortType,boolean prettyPrint) throws SerializerException {
  392.         return this.objToXml(IdPortType.class, idPortType, prettyPrint).toString();
  393.     }
  394.    
  395.    
  396.    
  397.     /*
  398.      =================================================================================
  399.      Object: porta-applicativa
  400.      =================================================================================
  401.     */
  402.    
  403.     /**
  404.      * Serialize to file system in <var>fileName</var> the object <var>portaApplicativa</var> of type {@link org.openspcoop2.core.commons.search.PortaApplicativa}
  405.      *
  406.      * @param fileName Xml file to serialize the object <var>portaApplicativa</var>
  407.      * @param portaApplicativa Object to be serialized in xml file <var>fileName</var>
  408.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  409.      */
  410.     public void write(String fileName,PortaApplicativa portaApplicativa) throws SerializerException {
  411.         this.objToXml(fileName, PortaApplicativa.class, portaApplicativa, false);
  412.     }
  413.     /**
  414.      * Serialize to file system in <var>fileName</var> the object <var>portaApplicativa</var> of type {@link org.openspcoop2.core.commons.search.PortaApplicativa}
  415.      *
  416.      * @param fileName Xml file to serialize the object <var>portaApplicativa</var>
  417.      * @param portaApplicativa Object to be serialized in xml file <var>fileName</var>
  418.      * @param prettyPrint if true output the XML with indenting
  419.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  420.      */
  421.     public void write(String fileName,PortaApplicativa portaApplicativa,boolean prettyPrint) throws SerializerException {
  422.         this.objToXml(fileName, PortaApplicativa.class, portaApplicativa, prettyPrint);
  423.     }
  424.    
  425.     /**
  426.      * Serialize to file system in <var>file</var> the object <var>portaApplicativa</var> of type {@link org.openspcoop2.core.commons.search.PortaApplicativa}
  427.      *
  428.      * @param file Xml file to serialize the object <var>portaApplicativa</var>
  429.      * @param portaApplicativa Object to be serialized in xml file <var>fileName</var>
  430.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  431.      */
  432.     public void write(File file,PortaApplicativa portaApplicativa) throws SerializerException {
  433.         this.objToXml(file, PortaApplicativa.class, portaApplicativa, false);
  434.     }
  435.     /**
  436.      * Serialize to file system in <var>file</var> the object <var>portaApplicativa</var> of type {@link org.openspcoop2.core.commons.search.PortaApplicativa}
  437.      *
  438.      * @param file Xml file to serialize the object <var>portaApplicativa</var>
  439.      * @param portaApplicativa Object to be serialized in xml file <var>fileName</var>
  440.      * @param prettyPrint if true output the XML with indenting
  441.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  442.      */
  443.     public void write(File file,PortaApplicativa portaApplicativa,boolean prettyPrint) throws SerializerException {
  444.         this.objToXml(file, PortaApplicativa.class, portaApplicativa, prettyPrint);
  445.     }
  446.    
  447.     /**
  448.      * Serialize to output stream <var>out</var> the object <var>portaApplicativa</var> of type {@link org.openspcoop2.core.commons.search.PortaApplicativa}
  449.      *
  450.      * @param out OutputStream to serialize the object <var>portaApplicativa</var>
  451.      * @param portaApplicativa Object to be serialized in xml file <var>fileName</var>
  452.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  453.      */
  454.     public void write(OutputStream out,PortaApplicativa portaApplicativa) throws SerializerException {
  455.         this.objToXml(out, PortaApplicativa.class, portaApplicativa, false);
  456.     }
  457.     /**
  458.      * Serialize to output stream <var>out</var> the object <var>portaApplicativa</var> of type {@link org.openspcoop2.core.commons.search.PortaApplicativa}
  459.      *
  460.      * @param out OutputStream to serialize the object <var>portaApplicativa</var>
  461.      * @param portaApplicativa Object to be serialized in xml file <var>fileName</var>
  462.      * @param prettyPrint if true output the XML with indenting
  463.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  464.      */
  465.     public void write(OutputStream out,PortaApplicativa portaApplicativa,boolean prettyPrint) throws SerializerException {
  466.         this.objToXml(out, PortaApplicativa.class, portaApplicativa, prettyPrint);
  467.     }
  468.            
  469.     /**
  470.      * Serialize to byte array the object <var>portaApplicativa</var> of type {@link org.openspcoop2.core.commons.search.PortaApplicativa}
  471.      *
  472.      * @param portaApplicativa Object to be serialized
  473.      * @return Object to be serialized in byte array
  474.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  475.      */
  476.     public byte[] toByteArray(PortaApplicativa portaApplicativa) throws SerializerException {
  477.         return this.objToXml(PortaApplicativa.class, portaApplicativa, false).toByteArray();
  478.     }
  479.     /**
  480.      * Serialize to byte array the object <var>portaApplicativa</var> of type {@link org.openspcoop2.core.commons.search.PortaApplicativa}
  481.      *
  482.      * @param portaApplicativa Object to be serialized
  483.      * @param prettyPrint if true output the XML with indenting
  484.      * @return Object to be serialized in byte array
  485.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  486.      */
  487.     public byte[] toByteArray(PortaApplicativa portaApplicativa,boolean prettyPrint) throws SerializerException {
  488.         return this.objToXml(PortaApplicativa.class, portaApplicativa, prettyPrint).toByteArray();
  489.     }
  490.    
  491.     /**
  492.      * Serialize to String the object <var>portaApplicativa</var> of type {@link org.openspcoop2.core.commons.search.PortaApplicativa}
  493.      *
  494.      * @param portaApplicativa Object to be serialized
  495.      * @return Object to be serialized as String
  496.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  497.      */
  498.     public String toString(PortaApplicativa portaApplicativa) throws SerializerException {
  499.         return this.objToXml(PortaApplicativa.class, portaApplicativa, false).toString();
  500.     }
  501.     /**
  502.      * Serialize to String the object <var>portaApplicativa</var> of type {@link org.openspcoop2.core.commons.search.PortaApplicativa}
  503.      *
  504.      * @param portaApplicativa Object to be serialized
  505.      * @param prettyPrint if true output the XML with indenting
  506.      * @return Object to be serialized as String
  507.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  508.      */
  509.     public String toString(PortaApplicativa portaApplicativa,boolean prettyPrint) throws SerializerException {
  510.         return this.objToXml(PortaApplicativa.class, portaApplicativa, prettyPrint).toString();
  511.     }
  512.    
  513.    
  514.    
  515.     /*
  516.      =================================================================================
  517.      Object: id-soggetto
  518.      =================================================================================
  519.     */
  520.    
  521.     /**
  522.      * Serialize to file system in <var>fileName</var> the object <var>idSoggetto</var> of type {@link org.openspcoop2.core.commons.search.IdSoggetto}
  523.      *
  524.      * @param fileName Xml file to serialize the object <var>idSoggetto</var>
  525.      * @param idSoggetto Object to be serialized in xml file <var>fileName</var>
  526.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  527.      */
  528.     public void write(String fileName,IdSoggetto idSoggetto) throws SerializerException {
  529.         this.objToXml(fileName, IdSoggetto.class, idSoggetto, false);
  530.     }
  531.     /**
  532.      * Serialize to file system in <var>fileName</var> the object <var>idSoggetto</var> of type {@link org.openspcoop2.core.commons.search.IdSoggetto}
  533.      *
  534.      * @param fileName Xml file to serialize the object <var>idSoggetto</var>
  535.      * @param idSoggetto Object to be serialized in xml file <var>fileName</var>
  536.      * @param prettyPrint if true output the XML with indenting
  537.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  538.      */
  539.     public void write(String fileName,IdSoggetto idSoggetto,boolean prettyPrint) throws SerializerException {
  540.         this.objToXml(fileName, IdSoggetto.class, idSoggetto, prettyPrint);
  541.     }
  542.    
  543.     /**
  544.      * Serialize to file system in <var>file</var> the object <var>idSoggetto</var> of type {@link org.openspcoop2.core.commons.search.IdSoggetto}
  545.      *
  546.      * @param file Xml file to serialize the object <var>idSoggetto</var>
  547.      * @param idSoggetto Object to be serialized in xml file <var>fileName</var>
  548.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  549.      */
  550.     public void write(File file,IdSoggetto idSoggetto) throws SerializerException {
  551.         this.objToXml(file, IdSoggetto.class, idSoggetto, false);
  552.     }
  553.     /**
  554.      * Serialize to file system in <var>file</var> the object <var>idSoggetto</var> of type {@link org.openspcoop2.core.commons.search.IdSoggetto}
  555.      *
  556.      * @param file Xml file to serialize the object <var>idSoggetto</var>
  557.      * @param idSoggetto Object to be serialized in xml file <var>fileName</var>
  558.      * @param prettyPrint if true output the XML with indenting
  559.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  560.      */
  561.     public void write(File file,IdSoggetto idSoggetto,boolean prettyPrint) throws SerializerException {
  562.         this.objToXml(file, IdSoggetto.class, idSoggetto, prettyPrint);
  563.     }
  564.    
  565.     /**
  566.      * Serialize to output stream <var>out</var> the object <var>idSoggetto</var> of type {@link org.openspcoop2.core.commons.search.IdSoggetto}
  567.      *
  568.      * @param out OutputStream to serialize the object <var>idSoggetto</var>
  569.      * @param idSoggetto Object to be serialized in xml file <var>fileName</var>
  570.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  571.      */
  572.     public void write(OutputStream out,IdSoggetto idSoggetto) throws SerializerException {
  573.         this.objToXml(out, IdSoggetto.class, idSoggetto, false);
  574.     }
  575.     /**
  576.      * Serialize to output stream <var>out</var> the object <var>idSoggetto</var> of type {@link org.openspcoop2.core.commons.search.IdSoggetto}
  577.      *
  578.      * @param out OutputStream to serialize the object <var>idSoggetto</var>
  579.      * @param idSoggetto Object to be serialized in xml file <var>fileName</var>
  580.      * @param prettyPrint if true output the XML with indenting
  581.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  582.      */
  583.     public void write(OutputStream out,IdSoggetto idSoggetto,boolean prettyPrint) throws SerializerException {
  584.         this.objToXml(out, IdSoggetto.class, idSoggetto, prettyPrint);
  585.     }
  586.            
  587.     /**
  588.      * Serialize to byte array the object <var>idSoggetto</var> of type {@link org.openspcoop2.core.commons.search.IdSoggetto}
  589.      *
  590.      * @param idSoggetto Object to be serialized
  591.      * @return Object to be serialized in byte array
  592.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  593.      */
  594.     public byte[] toByteArray(IdSoggetto idSoggetto) throws SerializerException {
  595.         return this.objToXml(IdSoggetto.class, idSoggetto, false).toByteArray();
  596.     }
  597.     /**
  598.      * Serialize to byte array the object <var>idSoggetto</var> of type {@link org.openspcoop2.core.commons.search.IdSoggetto}
  599.      *
  600.      * @param idSoggetto Object to be serialized
  601.      * @param prettyPrint if true output the XML with indenting
  602.      * @return Object to be serialized in byte array
  603.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  604.      */
  605.     public byte[] toByteArray(IdSoggetto idSoggetto,boolean prettyPrint) throws SerializerException {
  606.         return this.objToXml(IdSoggetto.class, idSoggetto, prettyPrint).toByteArray();
  607.     }
  608.    
  609.     /**
  610.      * Serialize to String the object <var>idSoggetto</var> of type {@link org.openspcoop2.core.commons.search.IdSoggetto}
  611.      *
  612.      * @param idSoggetto Object to be serialized
  613.      * @return Object to be serialized as String
  614.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  615.      */
  616.     public String toString(IdSoggetto idSoggetto) throws SerializerException {
  617.         return this.objToXml(IdSoggetto.class, idSoggetto, false).toString();
  618.     }
  619.     /**
  620.      * Serialize to String the object <var>idSoggetto</var> of type {@link org.openspcoop2.core.commons.search.IdSoggetto}
  621.      *
  622.      * @param idSoggetto Object to be serialized
  623.      * @param prettyPrint if true output the XML with indenting
  624.      * @return Object to be serialized as String
  625.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  626.      */
  627.     public String toString(IdSoggetto idSoggetto,boolean prettyPrint) throws SerializerException {
  628.         return this.objToXml(IdSoggetto.class, idSoggetto, prettyPrint).toString();
  629.     }
  630.    
  631.    
  632.    
  633.     /*
  634.      =================================================================================
  635.      Object: porta-applicativa-servizio-applicativo
  636.      =================================================================================
  637.     */
  638.    
  639.     /**
  640.      * Serialize to file system in <var>fileName</var> the object <var>portaApplicativaServizioApplicativo</var> of type {@link org.openspcoop2.core.commons.search.PortaApplicativaServizioApplicativo}
  641.      *
  642.      * @param fileName Xml file to serialize the object <var>portaApplicativaServizioApplicativo</var>
  643.      * @param portaApplicativaServizioApplicativo Object to be serialized in xml file <var>fileName</var>
  644.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  645.      */
  646.     public void write(String fileName,PortaApplicativaServizioApplicativo portaApplicativaServizioApplicativo) throws SerializerException {
  647.         this.objToXml(fileName, PortaApplicativaServizioApplicativo.class, portaApplicativaServizioApplicativo, false);
  648.     }
  649.     /**
  650.      * Serialize to file system in <var>fileName</var> the object <var>portaApplicativaServizioApplicativo</var> of type {@link org.openspcoop2.core.commons.search.PortaApplicativaServizioApplicativo}
  651.      *
  652.      * @param fileName Xml file to serialize the object <var>portaApplicativaServizioApplicativo</var>
  653.      * @param portaApplicativaServizioApplicativo Object to be serialized in xml file <var>fileName</var>
  654.      * @param prettyPrint if true output the XML with indenting
  655.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  656.      */
  657.     public void write(String fileName,PortaApplicativaServizioApplicativo portaApplicativaServizioApplicativo,boolean prettyPrint) throws SerializerException {
  658.         this.objToXml(fileName, PortaApplicativaServizioApplicativo.class, portaApplicativaServizioApplicativo, prettyPrint);
  659.     }
  660.    
  661.     /**
  662.      * Serialize to file system in <var>file</var> the object <var>portaApplicativaServizioApplicativo</var> of type {@link org.openspcoop2.core.commons.search.PortaApplicativaServizioApplicativo}
  663.      *
  664.      * @param file Xml file to serialize the object <var>portaApplicativaServizioApplicativo</var>
  665.      * @param portaApplicativaServizioApplicativo Object to be serialized in xml file <var>fileName</var>
  666.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  667.      */
  668.     public void write(File file,PortaApplicativaServizioApplicativo portaApplicativaServizioApplicativo) throws SerializerException {
  669.         this.objToXml(file, PortaApplicativaServizioApplicativo.class, portaApplicativaServizioApplicativo, false);
  670.     }
  671.     /**
  672.      * Serialize to file system in <var>file</var> the object <var>portaApplicativaServizioApplicativo</var> of type {@link org.openspcoop2.core.commons.search.PortaApplicativaServizioApplicativo}
  673.      *
  674.      * @param file Xml file to serialize the object <var>portaApplicativaServizioApplicativo</var>
  675.      * @param portaApplicativaServizioApplicativo Object to be serialized in xml file <var>fileName</var>
  676.      * @param prettyPrint if true output the XML with indenting
  677.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  678.      */
  679.     public void write(File file,PortaApplicativaServizioApplicativo portaApplicativaServizioApplicativo,boolean prettyPrint) throws SerializerException {
  680.         this.objToXml(file, PortaApplicativaServizioApplicativo.class, portaApplicativaServizioApplicativo, prettyPrint);
  681.     }
  682.    
  683.     /**
  684.      * Serialize to output stream <var>out</var> the object <var>portaApplicativaServizioApplicativo</var> of type {@link org.openspcoop2.core.commons.search.PortaApplicativaServizioApplicativo}
  685.      *
  686.      * @param out OutputStream to serialize the object <var>portaApplicativaServizioApplicativo</var>
  687.      * @param portaApplicativaServizioApplicativo Object to be serialized in xml file <var>fileName</var>
  688.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  689.      */
  690.     public void write(OutputStream out,PortaApplicativaServizioApplicativo portaApplicativaServizioApplicativo) throws SerializerException {
  691.         this.objToXml(out, PortaApplicativaServizioApplicativo.class, portaApplicativaServizioApplicativo, false);
  692.     }
  693.     /**
  694.      * Serialize to output stream <var>out</var> the object <var>portaApplicativaServizioApplicativo</var> of type {@link org.openspcoop2.core.commons.search.PortaApplicativaServizioApplicativo}
  695.      *
  696.      * @param out OutputStream to serialize the object <var>portaApplicativaServizioApplicativo</var>
  697.      * @param portaApplicativaServizioApplicativo Object to be serialized in xml file <var>fileName</var>
  698.      * @param prettyPrint if true output the XML with indenting
  699.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  700.      */
  701.     public void write(OutputStream out,PortaApplicativaServizioApplicativo portaApplicativaServizioApplicativo,boolean prettyPrint) throws SerializerException {
  702.         this.objToXml(out, PortaApplicativaServizioApplicativo.class, portaApplicativaServizioApplicativo, prettyPrint);
  703.     }
  704.            
  705.     /**
  706.      * Serialize to byte array the object <var>portaApplicativaServizioApplicativo</var> of type {@link org.openspcoop2.core.commons.search.PortaApplicativaServizioApplicativo}
  707.      *
  708.      * @param portaApplicativaServizioApplicativo Object to be serialized
  709.      * @return Object to be serialized in byte array
  710.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  711.      */
  712.     public byte[] toByteArray(PortaApplicativaServizioApplicativo portaApplicativaServizioApplicativo) throws SerializerException {
  713.         return this.objToXml(PortaApplicativaServizioApplicativo.class, portaApplicativaServizioApplicativo, false).toByteArray();
  714.     }
  715.     /**
  716.      * Serialize to byte array the object <var>portaApplicativaServizioApplicativo</var> of type {@link org.openspcoop2.core.commons.search.PortaApplicativaServizioApplicativo}
  717.      *
  718.      * @param portaApplicativaServizioApplicativo Object to be serialized
  719.      * @param prettyPrint if true output the XML with indenting
  720.      * @return Object to be serialized in byte array
  721.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  722.      */
  723.     public byte[] toByteArray(PortaApplicativaServizioApplicativo portaApplicativaServizioApplicativo,boolean prettyPrint) throws SerializerException {
  724.         return this.objToXml(PortaApplicativaServizioApplicativo.class, portaApplicativaServizioApplicativo, prettyPrint).toByteArray();
  725.     }
  726.    
  727.     /**
  728.      * Serialize to String the object <var>portaApplicativaServizioApplicativo</var> of type {@link org.openspcoop2.core.commons.search.PortaApplicativaServizioApplicativo}
  729.      *
  730.      * @param portaApplicativaServizioApplicativo Object to be serialized
  731.      * @return Object to be serialized as String
  732.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  733.      */
  734.     public String toString(PortaApplicativaServizioApplicativo portaApplicativaServizioApplicativo) throws SerializerException {
  735.         return this.objToXml(PortaApplicativaServizioApplicativo.class, portaApplicativaServizioApplicativo, false).toString();
  736.     }
  737.     /**
  738.      * Serialize to String the object <var>portaApplicativaServizioApplicativo</var> of type {@link org.openspcoop2.core.commons.search.PortaApplicativaServizioApplicativo}
  739.      *
  740.      * @param portaApplicativaServizioApplicativo Object to be serialized
  741.      * @param prettyPrint if true output the XML with indenting
  742.      * @return Object to be serialized as String
  743.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  744.      */
  745.     public String toString(PortaApplicativaServizioApplicativo portaApplicativaServizioApplicativo,boolean prettyPrint) throws SerializerException {
  746.         return this.objToXml(PortaApplicativaServizioApplicativo.class, portaApplicativaServizioApplicativo, prettyPrint).toString();
  747.     }
  748.    
  749.    
  750.    
  751.     /*
  752.      =================================================================================
  753.      Object: porta-applicativa-azione
  754.      =================================================================================
  755.     */
  756.    
  757.     /**
  758.      * Serialize to file system in <var>fileName</var> the object <var>portaApplicativaAzione</var> of type {@link org.openspcoop2.core.commons.search.PortaApplicativaAzione}
  759.      *
  760.      * @param fileName Xml file to serialize the object <var>portaApplicativaAzione</var>
  761.      * @param portaApplicativaAzione Object to be serialized in xml file <var>fileName</var>
  762.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  763.      */
  764.     public void write(String fileName,PortaApplicativaAzione portaApplicativaAzione) throws SerializerException {
  765.         this.objToXml(fileName, PortaApplicativaAzione.class, portaApplicativaAzione, false);
  766.     }
  767.     /**
  768.      * Serialize to file system in <var>fileName</var> the object <var>portaApplicativaAzione</var> of type {@link org.openspcoop2.core.commons.search.PortaApplicativaAzione}
  769.      *
  770.      * @param fileName Xml file to serialize the object <var>portaApplicativaAzione</var>
  771.      * @param portaApplicativaAzione Object to be serialized in xml file <var>fileName</var>
  772.      * @param prettyPrint if true output the XML with indenting
  773.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  774.      */
  775.     public void write(String fileName,PortaApplicativaAzione portaApplicativaAzione,boolean prettyPrint) throws SerializerException {
  776.         this.objToXml(fileName, PortaApplicativaAzione.class, portaApplicativaAzione, prettyPrint);
  777.     }
  778.    
  779.     /**
  780.      * Serialize to file system in <var>file</var> the object <var>portaApplicativaAzione</var> of type {@link org.openspcoop2.core.commons.search.PortaApplicativaAzione}
  781.      *
  782.      * @param file Xml file to serialize the object <var>portaApplicativaAzione</var>
  783.      * @param portaApplicativaAzione Object to be serialized in xml file <var>fileName</var>
  784.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  785.      */
  786.     public void write(File file,PortaApplicativaAzione portaApplicativaAzione) throws SerializerException {
  787.         this.objToXml(file, PortaApplicativaAzione.class, portaApplicativaAzione, false);
  788.     }
  789.     /**
  790.      * Serialize to file system in <var>file</var> the object <var>portaApplicativaAzione</var> of type {@link org.openspcoop2.core.commons.search.PortaApplicativaAzione}
  791.      *
  792.      * @param file Xml file to serialize the object <var>portaApplicativaAzione</var>
  793.      * @param portaApplicativaAzione Object to be serialized in xml file <var>fileName</var>
  794.      * @param prettyPrint if true output the XML with indenting
  795.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  796.      */
  797.     public void write(File file,PortaApplicativaAzione portaApplicativaAzione,boolean prettyPrint) throws SerializerException {
  798.         this.objToXml(file, PortaApplicativaAzione.class, portaApplicativaAzione, prettyPrint);
  799.     }
  800.    
  801.     /**
  802.      * Serialize to output stream <var>out</var> the object <var>portaApplicativaAzione</var> of type {@link org.openspcoop2.core.commons.search.PortaApplicativaAzione}
  803.      *
  804.      * @param out OutputStream to serialize the object <var>portaApplicativaAzione</var>
  805.      * @param portaApplicativaAzione Object to be serialized in xml file <var>fileName</var>
  806.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  807.      */
  808.     public void write(OutputStream out,PortaApplicativaAzione portaApplicativaAzione) throws SerializerException {
  809.         this.objToXml(out, PortaApplicativaAzione.class, portaApplicativaAzione, false);
  810.     }
  811.     /**
  812.      * Serialize to output stream <var>out</var> the object <var>portaApplicativaAzione</var> of type {@link org.openspcoop2.core.commons.search.PortaApplicativaAzione}
  813.      *
  814.      * @param out OutputStream to serialize the object <var>portaApplicativaAzione</var>
  815.      * @param portaApplicativaAzione Object to be serialized in xml file <var>fileName</var>
  816.      * @param prettyPrint if true output the XML with indenting
  817.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  818.      */
  819.     public void write(OutputStream out,PortaApplicativaAzione portaApplicativaAzione,boolean prettyPrint) throws SerializerException {
  820.         this.objToXml(out, PortaApplicativaAzione.class, portaApplicativaAzione, prettyPrint);
  821.     }
  822.            
  823.     /**
  824.      * Serialize to byte array the object <var>portaApplicativaAzione</var> of type {@link org.openspcoop2.core.commons.search.PortaApplicativaAzione}
  825.      *
  826.      * @param portaApplicativaAzione Object to be serialized
  827.      * @return Object to be serialized in byte array
  828.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  829.      */
  830.     public byte[] toByteArray(PortaApplicativaAzione portaApplicativaAzione) throws SerializerException {
  831.         return this.objToXml(PortaApplicativaAzione.class, portaApplicativaAzione, false).toByteArray();
  832.     }
  833.     /**
  834.      * Serialize to byte array the object <var>portaApplicativaAzione</var> of type {@link org.openspcoop2.core.commons.search.PortaApplicativaAzione}
  835.      *
  836.      * @param portaApplicativaAzione Object to be serialized
  837.      * @param prettyPrint if true output the XML with indenting
  838.      * @return Object to be serialized in byte array
  839.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  840.      */
  841.     public byte[] toByteArray(PortaApplicativaAzione portaApplicativaAzione,boolean prettyPrint) throws SerializerException {
  842.         return this.objToXml(PortaApplicativaAzione.class, portaApplicativaAzione, prettyPrint).toByteArray();
  843.     }
  844.    
  845.     /**
  846.      * Serialize to String the object <var>portaApplicativaAzione</var> of type {@link org.openspcoop2.core.commons.search.PortaApplicativaAzione}
  847.      *
  848.      * @param portaApplicativaAzione Object to be serialized
  849.      * @return Object to be serialized as String
  850.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  851.      */
  852.     public String toString(PortaApplicativaAzione portaApplicativaAzione) throws SerializerException {
  853.         return this.objToXml(PortaApplicativaAzione.class, portaApplicativaAzione, false).toString();
  854.     }
  855.     /**
  856.      * Serialize to String the object <var>portaApplicativaAzione</var> of type {@link org.openspcoop2.core.commons.search.PortaApplicativaAzione}
  857.      *
  858.      * @param portaApplicativaAzione Object to be serialized
  859.      * @param prettyPrint if true output the XML with indenting
  860.      * @return Object to be serialized as String
  861.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  862.      */
  863.     public String toString(PortaApplicativaAzione portaApplicativaAzione,boolean prettyPrint) throws SerializerException {
  864.         return this.objToXml(PortaApplicativaAzione.class, portaApplicativaAzione, prettyPrint).toString();
  865.     }
  866.    
  867.    
  868.    
  869.     /*
  870.      =================================================================================
  871.      Object: resource
  872.      =================================================================================
  873.     */
  874.    
  875.     /**
  876.      * Serialize to file system in <var>fileName</var> the object <var>resource</var> of type {@link org.openspcoop2.core.commons.search.Resource}
  877.      *
  878.      * @param fileName Xml file to serialize the object <var>resource</var>
  879.      * @param resource Object to be serialized in xml file <var>fileName</var>
  880.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  881.      */
  882.     public void write(String fileName,Resource resource) throws SerializerException {
  883.         this.objToXml(fileName, Resource.class, resource, false);
  884.     }
  885.     /**
  886.      * Serialize to file system in <var>fileName</var> the object <var>resource</var> of type {@link org.openspcoop2.core.commons.search.Resource}
  887.      *
  888.      * @param fileName Xml file to serialize the object <var>resource</var>
  889.      * @param resource Object to be serialized in xml file <var>fileName</var>
  890.      * @param prettyPrint if true output the XML with indenting
  891.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  892.      */
  893.     public void write(String fileName,Resource resource,boolean prettyPrint) throws SerializerException {
  894.         this.objToXml(fileName, Resource.class, resource, prettyPrint);
  895.     }
  896.    
  897.     /**
  898.      * Serialize to file system in <var>file</var> the object <var>resource</var> of type {@link org.openspcoop2.core.commons.search.Resource}
  899.      *
  900.      * @param file Xml file to serialize the object <var>resource</var>
  901.      * @param resource Object to be serialized in xml file <var>fileName</var>
  902.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  903.      */
  904.     public void write(File file,Resource resource) throws SerializerException {
  905.         this.objToXml(file, Resource.class, resource, false);
  906.     }
  907.     /**
  908.      * Serialize to file system in <var>file</var> the object <var>resource</var> of type {@link org.openspcoop2.core.commons.search.Resource}
  909.      *
  910.      * @param file Xml file to serialize the object <var>resource</var>
  911.      * @param resource Object to be serialized in xml file <var>fileName</var>
  912.      * @param prettyPrint if true output the XML with indenting
  913.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  914.      */
  915.     public void write(File file,Resource resource,boolean prettyPrint) throws SerializerException {
  916.         this.objToXml(file, Resource.class, resource, prettyPrint);
  917.     }
  918.    
  919.     /**
  920.      * Serialize to output stream <var>out</var> the object <var>resource</var> of type {@link org.openspcoop2.core.commons.search.Resource}
  921.      *
  922.      * @param out OutputStream to serialize the object <var>resource</var>
  923.      * @param resource Object to be serialized in xml file <var>fileName</var>
  924.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  925.      */
  926.     public void write(OutputStream out,Resource resource) throws SerializerException {
  927.         this.objToXml(out, Resource.class, resource, false);
  928.     }
  929.     /**
  930.      * Serialize to output stream <var>out</var> the object <var>resource</var> of type {@link org.openspcoop2.core.commons.search.Resource}
  931.      *
  932.      * @param out OutputStream to serialize the object <var>resource</var>
  933.      * @param resource Object to be serialized in xml file <var>fileName</var>
  934.      * @param prettyPrint if true output the XML with indenting
  935.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  936.      */
  937.     public void write(OutputStream out,Resource resource,boolean prettyPrint) throws SerializerException {
  938.         this.objToXml(out, Resource.class, resource, prettyPrint);
  939.     }
  940.            
  941.     /**
  942.      * Serialize to byte array the object <var>resource</var> of type {@link org.openspcoop2.core.commons.search.Resource}
  943.      *
  944.      * @param resource Object to be serialized
  945.      * @return Object to be serialized in byte array
  946.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  947.      */
  948.     public byte[] toByteArray(Resource resource) throws SerializerException {
  949.         return this.objToXml(Resource.class, resource, false).toByteArray();
  950.     }
  951.     /**
  952.      * Serialize to byte array the object <var>resource</var> of type {@link org.openspcoop2.core.commons.search.Resource}
  953.      *
  954.      * @param resource Object to be serialized
  955.      * @param prettyPrint if true output the XML with indenting
  956.      * @return Object to be serialized in byte array
  957.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  958.      */
  959.     public byte[] toByteArray(Resource resource,boolean prettyPrint) throws SerializerException {
  960.         return this.objToXml(Resource.class, resource, prettyPrint).toByteArray();
  961.     }
  962.    
  963.     /**
  964.      * Serialize to String the object <var>resource</var> of type {@link org.openspcoop2.core.commons.search.Resource}
  965.      *
  966.      * @param resource Object to be serialized
  967.      * @return Object to be serialized as String
  968.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  969.      */
  970.     public String toString(Resource resource) throws SerializerException {
  971.         return this.objToXml(Resource.class, resource, false).toString();
  972.     }
  973.     /**
  974.      * Serialize to String the object <var>resource</var> of type {@link org.openspcoop2.core.commons.search.Resource}
  975.      *
  976.      * @param resource Object to be serialized
  977.      * @param prettyPrint if true output the XML with indenting
  978.      * @return Object to be serialized as String
  979.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  980.      */
  981.     public String toString(Resource resource,boolean prettyPrint) throws SerializerException {
  982.         return this.objToXml(Resource.class, resource, prettyPrint).toString();
  983.     }
  984.    
  985.    
  986.    
  987.     /*
  988.      =================================================================================
  989.      Object: id-accordo-servizio-parte-comune
  990.      =================================================================================
  991.     */
  992.    
  993.     /**
  994.      * Serialize to file system in <var>fileName</var> the object <var>idAccordoServizioParteComune</var> of type {@link org.openspcoop2.core.commons.search.IdAccordoServizioParteComune}
  995.      *
  996.      * @param fileName Xml file to serialize the object <var>idAccordoServizioParteComune</var>
  997.      * @param idAccordoServizioParteComune Object to be serialized in xml file <var>fileName</var>
  998.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  999.      */
  1000.     public void write(String fileName,IdAccordoServizioParteComune idAccordoServizioParteComune) throws SerializerException {
  1001.         this.objToXml(fileName, IdAccordoServizioParteComune.class, idAccordoServizioParteComune, false);
  1002.     }
  1003.     /**
  1004.      * Serialize to file system in <var>fileName</var> the object <var>idAccordoServizioParteComune</var> of type {@link org.openspcoop2.core.commons.search.IdAccordoServizioParteComune}
  1005.      *
  1006.      * @param fileName Xml file to serialize the object <var>idAccordoServizioParteComune</var>
  1007.      * @param idAccordoServizioParteComune Object to be serialized in xml file <var>fileName</var>
  1008.      * @param prettyPrint if true output the XML with indenting
  1009.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1010.      */
  1011.     public void write(String fileName,IdAccordoServizioParteComune idAccordoServizioParteComune,boolean prettyPrint) throws SerializerException {
  1012.         this.objToXml(fileName, IdAccordoServizioParteComune.class, idAccordoServizioParteComune, prettyPrint);
  1013.     }
  1014.    
  1015.     /**
  1016.      * Serialize to file system in <var>file</var> the object <var>idAccordoServizioParteComune</var> of type {@link org.openspcoop2.core.commons.search.IdAccordoServizioParteComune}
  1017.      *
  1018.      * @param file Xml file to serialize the object <var>idAccordoServizioParteComune</var>
  1019.      * @param idAccordoServizioParteComune Object to be serialized in xml file <var>fileName</var>
  1020.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1021.      */
  1022.     public void write(File file,IdAccordoServizioParteComune idAccordoServizioParteComune) throws SerializerException {
  1023.         this.objToXml(file, IdAccordoServizioParteComune.class, idAccordoServizioParteComune, false);
  1024.     }
  1025.     /**
  1026.      * Serialize to file system in <var>file</var> the object <var>idAccordoServizioParteComune</var> of type {@link org.openspcoop2.core.commons.search.IdAccordoServizioParteComune}
  1027.      *
  1028.      * @param file Xml file to serialize the object <var>idAccordoServizioParteComune</var>
  1029.      * @param idAccordoServizioParteComune Object to be serialized in xml file <var>fileName</var>
  1030.      * @param prettyPrint if true output the XML with indenting
  1031.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1032.      */
  1033.     public void write(File file,IdAccordoServizioParteComune idAccordoServizioParteComune,boolean prettyPrint) throws SerializerException {
  1034.         this.objToXml(file, IdAccordoServizioParteComune.class, idAccordoServizioParteComune, prettyPrint);
  1035.     }
  1036.    
  1037.     /**
  1038.      * Serialize to output stream <var>out</var> the object <var>idAccordoServizioParteComune</var> of type {@link org.openspcoop2.core.commons.search.IdAccordoServizioParteComune}
  1039.      *
  1040.      * @param out OutputStream to serialize the object <var>idAccordoServizioParteComune</var>
  1041.      * @param idAccordoServizioParteComune Object to be serialized in xml file <var>fileName</var>
  1042.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1043.      */
  1044.     public void write(OutputStream out,IdAccordoServizioParteComune idAccordoServizioParteComune) throws SerializerException {
  1045.         this.objToXml(out, IdAccordoServizioParteComune.class, idAccordoServizioParteComune, false);
  1046.     }
  1047.     /**
  1048.      * Serialize to output stream <var>out</var> the object <var>idAccordoServizioParteComune</var> of type {@link org.openspcoop2.core.commons.search.IdAccordoServizioParteComune}
  1049.      *
  1050.      * @param out OutputStream to serialize the object <var>idAccordoServizioParteComune</var>
  1051.      * @param idAccordoServizioParteComune Object to be serialized in xml file <var>fileName</var>
  1052.      * @param prettyPrint if true output the XML with indenting
  1053.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1054.      */
  1055.     public void write(OutputStream out,IdAccordoServizioParteComune idAccordoServizioParteComune,boolean prettyPrint) throws SerializerException {
  1056.         this.objToXml(out, IdAccordoServizioParteComune.class, idAccordoServizioParteComune, prettyPrint);
  1057.     }
  1058.            
  1059.     /**
  1060.      * Serialize to byte array the object <var>idAccordoServizioParteComune</var> of type {@link org.openspcoop2.core.commons.search.IdAccordoServizioParteComune}
  1061.      *
  1062.      * @param idAccordoServizioParteComune Object to be serialized
  1063.      * @return Object to be serialized in byte array
  1064.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1065.      */
  1066.     public byte[] toByteArray(IdAccordoServizioParteComune idAccordoServizioParteComune) throws SerializerException {
  1067.         return this.objToXml(IdAccordoServizioParteComune.class, idAccordoServizioParteComune, false).toByteArray();
  1068.     }
  1069.     /**
  1070.      * Serialize to byte array the object <var>idAccordoServizioParteComune</var> of type {@link org.openspcoop2.core.commons.search.IdAccordoServizioParteComune}
  1071.      *
  1072.      * @param idAccordoServizioParteComune Object to be serialized
  1073.      * @param prettyPrint if true output the XML with indenting
  1074.      * @return Object to be serialized in byte array
  1075.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1076.      */
  1077.     public byte[] toByteArray(IdAccordoServizioParteComune idAccordoServizioParteComune,boolean prettyPrint) throws SerializerException {
  1078.         return this.objToXml(IdAccordoServizioParteComune.class, idAccordoServizioParteComune, prettyPrint).toByteArray();
  1079.     }
  1080.    
  1081.     /**
  1082.      * Serialize to String the object <var>idAccordoServizioParteComune</var> of type {@link org.openspcoop2.core.commons.search.IdAccordoServizioParteComune}
  1083.      *
  1084.      * @param idAccordoServizioParteComune Object to be serialized
  1085.      * @return Object to be serialized as String
  1086.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1087.      */
  1088.     public String toString(IdAccordoServizioParteComune idAccordoServizioParteComune) throws SerializerException {
  1089.         return this.objToXml(IdAccordoServizioParteComune.class, idAccordoServizioParteComune, false).toString();
  1090.     }
  1091.     /**
  1092.      * Serialize to String the object <var>idAccordoServizioParteComune</var> of type {@link org.openspcoop2.core.commons.search.IdAccordoServizioParteComune}
  1093.      *
  1094.      * @param idAccordoServizioParteComune Object to be serialized
  1095.      * @param prettyPrint if true output the XML with indenting
  1096.      * @return Object to be serialized as String
  1097.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1098.      */
  1099.     public String toString(IdAccordoServizioParteComune idAccordoServizioParteComune,boolean prettyPrint) throws SerializerException {
  1100.         return this.objToXml(IdAccordoServizioParteComune.class, idAccordoServizioParteComune, prettyPrint).toString();
  1101.     }
  1102.    
  1103.    
  1104.    
  1105.     /*
  1106.      =================================================================================
  1107.      Object: accordo-servizio-parte-comune-azione
  1108.      =================================================================================
  1109.     */
  1110.    
  1111.     /**
  1112.      * Serialize to file system in <var>fileName</var> the object <var>accordoServizioParteComuneAzione</var> of type {@link org.openspcoop2.core.commons.search.AccordoServizioParteComuneAzione}
  1113.      *
  1114.      * @param fileName Xml file to serialize the object <var>accordoServizioParteComuneAzione</var>
  1115.      * @param accordoServizioParteComuneAzione Object to be serialized in xml file <var>fileName</var>
  1116.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1117.      */
  1118.     public void write(String fileName,AccordoServizioParteComuneAzione accordoServizioParteComuneAzione) throws SerializerException {
  1119.         this.objToXml(fileName, AccordoServizioParteComuneAzione.class, accordoServizioParteComuneAzione, false);
  1120.     }
  1121.     /**
  1122.      * Serialize to file system in <var>fileName</var> the object <var>accordoServizioParteComuneAzione</var> of type {@link org.openspcoop2.core.commons.search.AccordoServizioParteComuneAzione}
  1123.      *
  1124.      * @param fileName Xml file to serialize the object <var>accordoServizioParteComuneAzione</var>
  1125.      * @param accordoServizioParteComuneAzione Object to be serialized in xml file <var>fileName</var>
  1126.      * @param prettyPrint if true output the XML with indenting
  1127.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1128.      */
  1129.     public void write(String fileName,AccordoServizioParteComuneAzione accordoServizioParteComuneAzione,boolean prettyPrint) throws SerializerException {
  1130.         this.objToXml(fileName, AccordoServizioParteComuneAzione.class, accordoServizioParteComuneAzione, prettyPrint);
  1131.     }
  1132.    
  1133.     /**
  1134.      * Serialize to file system in <var>file</var> the object <var>accordoServizioParteComuneAzione</var> of type {@link org.openspcoop2.core.commons.search.AccordoServizioParteComuneAzione}
  1135.      *
  1136.      * @param file Xml file to serialize the object <var>accordoServizioParteComuneAzione</var>
  1137.      * @param accordoServizioParteComuneAzione Object to be serialized in xml file <var>fileName</var>
  1138.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1139.      */
  1140.     public void write(File file,AccordoServizioParteComuneAzione accordoServizioParteComuneAzione) throws SerializerException {
  1141.         this.objToXml(file, AccordoServizioParteComuneAzione.class, accordoServizioParteComuneAzione, false);
  1142.     }
  1143.     /**
  1144.      * Serialize to file system in <var>file</var> the object <var>accordoServizioParteComuneAzione</var> of type {@link org.openspcoop2.core.commons.search.AccordoServizioParteComuneAzione}
  1145.      *
  1146.      * @param file Xml file to serialize the object <var>accordoServizioParteComuneAzione</var>
  1147.      * @param accordoServizioParteComuneAzione Object to be serialized in xml file <var>fileName</var>
  1148.      * @param prettyPrint if true output the XML with indenting
  1149.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1150.      */
  1151.     public void write(File file,AccordoServizioParteComuneAzione accordoServizioParteComuneAzione,boolean prettyPrint) throws SerializerException {
  1152.         this.objToXml(file, AccordoServizioParteComuneAzione.class, accordoServizioParteComuneAzione, prettyPrint);
  1153.     }
  1154.    
  1155.     /**
  1156.      * Serialize to output stream <var>out</var> the object <var>accordoServizioParteComuneAzione</var> of type {@link org.openspcoop2.core.commons.search.AccordoServizioParteComuneAzione}
  1157.      *
  1158.      * @param out OutputStream to serialize the object <var>accordoServizioParteComuneAzione</var>
  1159.      * @param accordoServizioParteComuneAzione Object to be serialized in xml file <var>fileName</var>
  1160.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1161.      */
  1162.     public void write(OutputStream out,AccordoServizioParteComuneAzione accordoServizioParteComuneAzione) throws SerializerException {
  1163.         this.objToXml(out, AccordoServizioParteComuneAzione.class, accordoServizioParteComuneAzione, false);
  1164.     }
  1165.     /**
  1166.      * Serialize to output stream <var>out</var> the object <var>accordoServizioParteComuneAzione</var> of type {@link org.openspcoop2.core.commons.search.AccordoServizioParteComuneAzione}
  1167.      *
  1168.      * @param out OutputStream to serialize the object <var>accordoServizioParteComuneAzione</var>
  1169.      * @param accordoServizioParteComuneAzione Object to be serialized in xml file <var>fileName</var>
  1170.      * @param prettyPrint if true output the XML with indenting
  1171.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1172.      */
  1173.     public void write(OutputStream out,AccordoServizioParteComuneAzione accordoServizioParteComuneAzione,boolean prettyPrint) throws SerializerException {
  1174.         this.objToXml(out, AccordoServizioParteComuneAzione.class, accordoServizioParteComuneAzione, prettyPrint);
  1175.     }
  1176.            
  1177.     /**
  1178.      * Serialize to byte array the object <var>accordoServizioParteComuneAzione</var> of type {@link org.openspcoop2.core.commons.search.AccordoServizioParteComuneAzione}
  1179.      *
  1180.      * @param accordoServizioParteComuneAzione Object to be serialized
  1181.      * @return Object to be serialized in byte array
  1182.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1183.      */
  1184.     public byte[] toByteArray(AccordoServizioParteComuneAzione accordoServizioParteComuneAzione) throws SerializerException {
  1185.         return this.objToXml(AccordoServizioParteComuneAzione.class, accordoServizioParteComuneAzione, false).toByteArray();
  1186.     }
  1187.     /**
  1188.      * Serialize to byte array the object <var>accordoServizioParteComuneAzione</var> of type {@link org.openspcoop2.core.commons.search.AccordoServizioParteComuneAzione}
  1189.      *
  1190.      * @param accordoServizioParteComuneAzione Object to be serialized
  1191.      * @param prettyPrint if true output the XML with indenting
  1192.      * @return Object to be serialized in byte array
  1193.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1194.      */
  1195.     public byte[] toByteArray(AccordoServizioParteComuneAzione accordoServizioParteComuneAzione,boolean prettyPrint) throws SerializerException {
  1196.         return this.objToXml(AccordoServizioParteComuneAzione.class, accordoServizioParteComuneAzione, prettyPrint).toByteArray();
  1197.     }
  1198.    
  1199.     /**
  1200.      * Serialize to String the object <var>accordoServizioParteComuneAzione</var> of type {@link org.openspcoop2.core.commons.search.AccordoServizioParteComuneAzione}
  1201.      *
  1202.      * @param accordoServizioParteComuneAzione Object to be serialized
  1203.      * @return Object to be serialized as String
  1204.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1205.      */
  1206.     public String toString(AccordoServizioParteComuneAzione accordoServizioParteComuneAzione) throws SerializerException {
  1207.         return this.objToXml(AccordoServizioParteComuneAzione.class, accordoServizioParteComuneAzione, false).toString();
  1208.     }
  1209.     /**
  1210.      * Serialize to String the object <var>accordoServizioParteComuneAzione</var> of type {@link org.openspcoop2.core.commons.search.AccordoServizioParteComuneAzione}
  1211.      *
  1212.      * @param accordoServizioParteComuneAzione Object to be serialized
  1213.      * @param prettyPrint if true output the XML with indenting
  1214.      * @return Object to be serialized as String
  1215.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1216.      */
  1217.     public String toString(AccordoServizioParteComuneAzione accordoServizioParteComuneAzione,boolean prettyPrint) throws SerializerException {
  1218.         return this.objToXml(AccordoServizioParteComuneAzione.class, accordoServizioParteComuneAzione, prettyPrint).toString();
  1219.     }
  1220.    
  1221.    
  1222.    
  1223.     /*
  1224.      =================================================================================
  1225.      Object: id-ruolo
  1226.      =================================================================================
  1227.     */
  1228.    
  1229.     /**
  1230.      * Serialize to file system in <var>fileName</var> the object <var>idRuolo</var> of type {@link org.openspcoop2.core.commons.search.IdRuolo}
  1231.      *
  1232.      * @param fileName Xml file to serialize the object <var>idRuolo</var>
  1233.      * @param idRuolo Object to be serialized in xml file <var>fileName</var>
  1234.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1235.      */
  1236.     public void write(String fileName,IdRuolo idRuolo) throws SerializerException {
  1237.         this.objToXml(fileName, IdRuolo.class, idRuolo, false);
  1238.     }
  1239.     /**
  1240.      * Serialize to file system in <var>fileName</var> the object <var>idRuolo</var> of type {@link org.openspcoop2.core.commons.search.IdRuolo}
  1241.      *
  1242.      * @param fileName Xml file to serialize the object <var>idRuolo</var>
  1243.      * @param idRuolo Object to be serialized in xml file <var>fileName</var>
  1244.      * @param prettyPrint if true output the XML with indenting
  1245.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1246.      */
  1247.     public void write(String fileName,IdRuolo idRuolo,boolean prettyPrint) throws SerializerException {
  1248.         this.objToXml(fileName, IdRuolo.class, idRuolo, prettyPrint);
  1249.     }
  1250.    
  1251.     /**
  1252.      * Serialize to file system in <var>file</var> the object <var>idRuolo</var> of type {@link org.openspcoop2.core.commons.search.IdRuolo}
  1253.      *
  1254.      * @param file Xml file to serialize the object <var>idRuolo</var>
  1255.      * @param idRuolo Object to be serialized in xml file <var>fileName</var>
  1256.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1257.      */
  1258.     public void write(File file,IdRuolo idRuolo) throws SerializerException {
  1259.         this.objToXml(file, IdRuolo.class, idRuolo, false);
  1260.     }
  1261.     /**
  1262.      * Serialize to file system in <var>file</var> the object <var>idRuolo</var> of type {@link org.openspcoop2.core.commons.search.IdRuolo}
  1263.      *
  1264.      * @param file Xml file to serialize the object <var>idRuolo</var>
  1265.      * @param idRuolo Object to be serialized in xml file <var>fileName</var>
  1266.      * @param prettyPrint if true output the XML with indenting
  1267.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1268.      */
  1269.     public void write(File file,IdRuolo idRuolo,boolean prettyPrint) throws SerializerException {
  1270.         this.objToXml(file, IdRuolo.class, idRuolo, prettyPrint);
  1271.     }
  1272.    
  1273.     /**
  1274.      * Serialize to output stream <var>out</var> the object <var>idRuolo</var> of type {@link org.openspcoop2.core.commons.search.IdRuolo}
  1275.      *
  1276.      * @param out OutputStream to serialize the object <var>idRuolo</var>
  1277.      * @param idRuolo Object to be serialized in xml file <var>fileName</var>
  1278.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1279.      */
  1280.     public void write(OutputStream out,IdRuolo idRuolo) throws SerializerException {
  1281.         this.objToXml(out, IdRuolo.class, idRuolo, false);
  1282.     }
  1283.     /**
  1284.      * Serialize to output stream <var>out</var> the object <var>idRuolo</var> of type {@link org.openspcoop2.core.commons.search.IdRuolo}
  1285.      *
  1286.      * @param out OutputStream to serialize the object <var>idRuolo</var>
  1287.      * @param idRuolo Object to be serialized in xml file <var>fileName</var>
  1288.      * @param prettyPrint if true output the XML with indenting
  1289.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1290.      */
  1291.     public void write(OutputStream out,IdRuolo idRuolo,boolean prettyPrint) throws SerializerException {
  1292.         this.objToXml(out, IdRuolo.class, idRuolo, prettyPrint);
  1293.     }
  1294.            
  1295.     /**
  1296.      * Serialize to byte array the object <var>idRuolo</var> of type {@link org.openspcoop2.core.commons.search.IdRuolo}
  1297.      *
  1298.      * @param idRuolo Object to be serialized
  1299.      * @return Object to be serialized in byte array
  1300.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1301.      */
  1302.     public byte[] toByteArray(IdRuolo idRuolo) throws SerializerException {
  1303.         return this.objToXml(IdRuolo.class, idRuolo, false).toByteArray();
  1304.     }
  1305.     /**
  1306.      * Serialize to byte array the object <var>idRuolo</var> of type {@link org.openspcoop2.core.commons.search.IdRuolo}
  1307.      *
  1308.      * @param idRuolo Object to be serialized
  1309.      * @param prettyPrint if true output the XML with indenting
  1310.      * @return Object to be serialized in byte array
  1311.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1312.      */
  1313.     public byte[] toByteArray(IdRuolo idRuolo,boolean prettyPrint) throws SerializerException {
  1314.         return this.objToXml(IdRuolo.class, idRuolo, prettyPrint).toByteArray();
  1315.     }
  1316.    
  1317.     /**
  1318.      * Serialize to String the object <var>idRuolo</var> of type {@link org.openspcoop2.core.commons.search.IdRuolo}
  1319.      *
  1320.      * @param idRuolo Object to be serialized
  1321.      * @return Object to be serialized as String
  1322.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1323.      */
  1324.     public String toString(IdRuolo idRuolo) throws SerializerException {
  1325.         return this.objToXml(IdRuolo.class, idRuolo, false).toString();
  1326.     }
  1327.     /**
  1328.      * Serialize to String the object <var>idRuolo</var> of type {@link org.openspcoop2.core.commons.search.IdRuolo}
  1329.      *
  1330.      * @param idRuolo Object to be serialized
  1331.      * @param prettyPrint if true output the XML with indenting
  1332.      * @return Object to be serialized as String
  1333.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1334.      */
  1335.     public String toString(IdRuolo idRuolo,boolean prettyPrint) throws SerializerException {
  1336.         return this.objToXml(IdRuolo.class, idRuolo, prettyPrint).toString();
  1337.     }
  1338.    
  1339.    
  1340.    
  1341.     /*
  1342.      =================================================================================
  1343.      Object: id-porta-dominio
  1344.      =================================================================================
  1345.     */
  1346.    
  1347.     /**
  1348.      * Serialize to file system in <var>fileName</var> the object <var>idPortaDominio</var> of type {@link org.openspcoop2.core.commons.search.IdPortaDominio}
  1349.      *
  1350.      * @param fileName Xml file to serialize the object <var>idPortaDominio</var>
  1351.      * @param idPortaDominio Object to be serialized in xml file <var>fileName</var>
  1352.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1353.      */
  1354.     public void write(String fileName,IdPortaDominio idPortaDominio) throws SerializerException {
  1355.         this.objToXml(fileName, IdPortaDominio.class, idPortaDominio, false);
  1356.     }
  1357.     /**
  1358.      * Serialize to file system in <var>fileName</var> the object <var>idPortaDominio</var> of type {@link org.openspcoop2.core.commons.search.IdPortaDominio}
  1359.      *
  1360.      * @param fileName Xml file to serialize the object <var>idPortaDominio</var>
  1361.      * @param idPortaDominio Object to be serialized in xml file <var>fileName</var>
  1362.      * @param prettyPrint if true output the XML with indenting
  1363.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1364.      */
  1365.     public void write(String fileName,IdPortaDominio idPortaDominio,boolean prettyPrint) throws SerializerException {
  1366.         this.objToXml(fileName, IdPortaDominio.class, idPortaDominio, prettyPrint);
  1367.     }
  1368.    
  1369.     /**
  1370.      * Serialize to file system in <var>file</var> the object <var>idPortaDominio</var> of type {@link org.openspcoop2.core.commons.search.IdPortaDominio}
  1371.      *
  1372.      * @param file Xml file to serialize the object <var>idPortaDominio</var>
  1373.      * @param idPortaDominio Object to be serialized in xml file <var>fileName</var>
  1374.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1375.      */
  1376.     public void write(File file,IdPortaDominio idPortaDominio) throws SerializerException {
  1377.         this.objToXml(file, IdPortaDominio.class, idPortaDominio, false);
  1378.     }
  1379.     /**
  1380.      * Serialize to file system in <var>file</var> the object <var>idPortaDominio</var> of type {@link org.openspcoop2.core.commons.search.IdPortaDominio}
  1381.      *
  1382.      * @param file Xml file to serialize the object <var>idPortaDominio</var>
  1383.      * @param idPortaDominio Object to be serialized in xml file <var>fileName</var>
  1384.      * @param prettyPrint if true output the XML with indenting
  1385.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1386.      */
  1387.     public void write(File file,IdPortaDominio idPortaDominio,boolean prettyPrint) throws SerializerException {
  1388.         this.objToXml(file, IdPortaDominio.class, idPortaDominio, prettyPrint);
  1389.     }
  1390.    
  1391.     /**
  1392.      * Serialize to output stream <var>out</var> the object <var>idPortaDominio</var> of type {@link org.openspcoop2.core.commons.search.IdPortaDominio}
  1393.      *
  1394.      * @param out OutputStream to serialize the object <var>idPortaDominio</var>
  1395.      * @param idPortaDominio Object to be serialized in xml file <var>fileName</var>
  1396.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1397.      */
  1398.     public void write(OutputStream out,IdPortaDominio idPortaDominio) throws SerializerException {
  1399.         this.objToXml(out, IdPortaDominio.class, idPortaDominio, false);
  1400.     }
  1401.     /**
  1402.      * Serialize to output stream <var>out</var> the object <var>idPortaDominio</var> of type {@link org.openspcoop2.core.commons.search.IdPortaDominio}
  1403.      *
  1404.      * @param out OutputStream to serialize the object <var>idPortaDominio</var>
  1405.      * @param idPortaDominio Object to be serialized in xml file <var>fileName</var>
  1406.      * @param prettyPrint if true output the XML with indenting
  1407.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1408.      */
  1409.     public void write(OutputStream out,IdPortaDominio idPortaDominio,boolean prettyPrint) throws SerializerException {
  1410.         this.objToXml(out, IdPortaDominio.class, idPortaDominio, prettyPrint);
  1411.     }
  1412.            
  1413.     /**
  1414.      * Serialize to byte array the object <var>idPortaDominio</var> of type {@link org.openspcoop2.core.commons.search.IdPortaDominio}
  1415.      *
  1416.      * @param idPortaDominio Object to be serialized
  1417.      * @return Object to be serialized in byte array
  1418.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1419.      */
  1420.     public byte[] toByteArray(IdPortaDominio idPortaDominio) throws SerializerException {
  1421.         return this.objToXml(IdPortaDominio.class, idPortaDominio, false).toByteArray();
  1422.     }
  1423.     /**
  1424.      * Serialize to byte array the object <var>idPortaDominio</var> of type {@link org.openspcoop2.core.commons.search.IdPortaDominio}
  1425.      *
  1426.      * @param idPortaDominio Object to be serialized
  1427.      * @param prettyPrint if true output the XML with indenting
  1428.      * @return Object to be serialized in byte array
  1429.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1430.      */
  1431.     public byte[] toByteArray(IdPortaDominio idPortaDominio,boolean prettyPrint) throws SerializerException {
  1432.         return this.objToXml(IdPortaDominio.class, idPortaDominio, prettyPrint).toByteArray();
  1433.     }
  1434.    
  1435.     /**
  1436.      * Serialize to String the object <var>idPortaDominio</var> of type {@link org.openspcoop2.core.commons.search.IdPortaDominio}
  1437.      *
  1438.      * @param idPortaDominio Object to be serialized
  1439.      * @return Object to be serialized as String
  1440.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1441.      */
  1442.     public String toString(IdPortaDominio idPortaDominio) throws SerializerException {
  1443.         return this.objToXml(IdPortaDominio.class, idPortaDominio, false).toString();
  1444.     }
  1445.     /**
  1446.      * Serialize to String the object <var>idPortaDominio</var> of type {@link org.openspcoop2.core.commons.search.IdPortaDominio}
  1447.      *
  1448.      * @param idPortaDominio Object to be serialized
  1449.      * @param prettyPrint if true output the XML with indenting
  1450.      * @return Object to be serialized as String
  1451.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1452.      */
  1453.     public String toString(IdPortaDominio idPortaDominio,boolean prettyPrint) throws SerializerException {
  1454.         return this.objToXml(IdPortaDominio.class, idPortaDominio, prettyPrint).toString();
  1455.     }
  1456.    
  1457.    
  1458.    
  1459.     /*
  1460.      =================================================================================
  1461.      Object: id-accordo-servizio-parte-specifica
  1462.      =================================================================================
  1463.     */
  1464.    
  1465.     /**
  1466.      * Serialize to file system in <var>fileName</var> the object <var>idAccordoServizioParteSpecifica</var> of type {@link org.openspcoop2.core.commons.search.IdAccordoServizioParteSpecifica}
  1467.      *
  1468.      * @param fileName Xml file to serialize the object <var>idAccordoServizioParteSpecifica</var>
  1469.      * @param idAccordoServizioParteSpecifica Object to be serialized in xml file <var>fileName</var>
  1470.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1471.      */
  1472.     public void write(String fileName,IdAccordoServizioParteSpecifica idAccordoServizioParteSpecifica) throws SerializerException {
  1473.         this.objToXml(fileName, IdAccordoServizioParteSpecifica.class, idAccordoServizioParteSpecifica, false);
  1474.     }
  1475.     /**
  1476.      * Serialize to file system in <var>fileName</var> the object <var>idAccordoServizioParteSpecifica</var> of type {@link org.openspcoop2.core.commons.search.IdAccordoServizioParteSpecifica}
  1477.      *
  1478.      * @param fileName Xml file to serialize the object <var>idAccordoServizioParteSpecifica</var>
  1479.      * @param idAccordoServizioParteSpecifica Object to be serialized in xml file <var>fileName</var>
  1480.      * @param prettyPrint if true output the XML with indenting
  1481.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1482.      */
  1483.     public void write(String fileName,IdAccordoServizioParteSpecifica idAccordoServizioParteSpecifica,boolean prettyPrint) throws SerializerException {
  1484.         this.objToXml(fileName, IdAccordoServizioParteSpecifica.class, idAccordoServizioParteSpecifica, prettyPrint);
  1485.     }
  1486.    
  1487.     /**
  1488.      * Serialize to file system in <var>file</var> the object <var>idAccordoServizioParteSpecifica</var> of type {@link org.openspcoop2.core.commons.search.IdAccordoServizioParteSpecifica}
  1489.      *
  1490.      * @param file Xml file to serialize the object <var>idAccordoServizioParteSpecifica</var>
  1491.      * @param idAccordoServizioParteSpecifica Object to be serialized in xml file <var>fileName</var>
  1492.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1493.      */
  1494.     public void write(File file,IdAccordoServizioParteSpecifica idAccordoServizioParteSpecifica) throws SerializerException {
  1495.         this.objToXml(file, IdAccordoServizioParteSpecifica.class, idAccordoServizioParteSpecifica, false);
  1496.     }
  1497.     /**
  1498.      * Serialize to file system in <var>file</var> the object <var>idAccordoServizioParteSpecifica</var> of type {@link org.openspcoop2.core.commons.search.IdAccordoServizioParteSpecifica}
  1499.      *
  1500.      * @param file Xml file to serialize the object <var>idAccordoServizioParteSpecifica</var>
  1501.      * @param idAccordoServizioParteSpecifica Object to be serialized in xml file <var>fileName</var>
  1502.      * @param prettyPrint if true output the XML with indenting
  1503.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1504.      */
  1505.     public void write(File file,IdAccordoServizioParteSpecifica idAccordoServizioParteSpecifica,boolean prettyPrint) throws SerializerException {
  1506.         this.objToXml(file, IdAccordoServizioParteSpecifica.class, idAccordoServizioParteSpecifica, prettyPrint);
  1507.     }
  1508.    
  1509.     /**
  1510.      * Serialize to output stream <var>out</var> the object <var>idAccordoServizioParteSpecifica</var> of type {@link org.openspcoop2.core.commons.search.IdAccordoServizioParteSpecifica}
  1511.      *
  1512.      * @param out OutputStream to serialize the object <var>idAccordoServizioParteSpecifica</var>
  1513.      * @param idAccordoServizioParteSpecifica Object to be serialized in xml file <var>fileName</var>
  1514.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1515.      */
  1516.     public void write(OutputStream out,IdAccordoServizioParteSpecifica idAccordoServizioParteSpecifica) throws SerializerException {
  1517.         this.objToXml(out, IdAccordoServizioParteSpecifica.class, idAccordoServizioParteSpecifica, false);
  1518.     }
  1519.     /**
  1520.      * Serialize to output stream <var>out</var> the object <var>idAccordoServizioParteSpecifica</var> of type {@link org.openspcoop2.core.commons.search.IdAccordoServizioParteSpecifica}
  1521.      *
  1522.      * @param out OutputStream to serialize the object <var>idAccordoServizioParteSpecifica</var>
  1523.      * @param idAccordoServizioParteSpecifica Object to be serialized in xml file <var>fileName</var>
  1524.      * @param prettyPrint if true output the XML with indenting
  1525.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1526.      */
  1527.     public void write(OutputStream out,IdAccordoServizioParteSpecifica idAccordoServizioParteSpecifica,boolean prettyPrint) throws SerializerException {
  1528.         this.objToXml(out, IdAccordoServizioParteSpecifica.class, idAccordoServizioParteSpecifica, prettyPrint);
  1529.     }
  1530.            
  1531.     /**
  1532.      * Serialize to byte array the object <var>idAccordoServizioParteSpecifica</var> of type {@link org.openspcoop2.core.commons.search.IdAccordoServizioParteSpecifica}
  1533.      *
  1534.      * @param idAccordoServizioParteSpecifica Object to be serialized
  1535.      * @return Object to be serialized in byte array
  1536.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1537.      */
  1538.     public byte[] toByteArray(IdAccordoServizioParteSpecifica idAccordoServizioParteSpecifica) throws SerializerException {
  1539.         return this.objToXml(IdAccordoServizioParteSpecifica.class, idAccordoServizioParteSpecifica, false).toByteArray();
  1540.     }
  1541.     /**
  1542.      * Serialize to byte array the object <var>idAccordoServizioParteSpecifica</var> of type {@link org.openspcoop2.core.commons.search.IdAccordoServizioParteSpecifica}
  1543.      *
  1544.      * @param idAccordoServizioParteSpecifica Object to be serialized
  1545.      * @param prettyPrint if true output the XML with indenting
  1546.      * @return Object to be serialized in byte array
  1547.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1548.      */
  1549.     public byte[] toByteArray(IdAccordoServizioParteSpecifica idAccordoServizioParteSpecifica,boolean prettyPrint) throws SerializerException {
  1550.         return this.objToXml(IdAccordoServizioParteSpecifica.class, idAccordoServizioParteSpecifica, prettyPrint).toByteArray();
  1551.     }
  1552.    
  1553.     /**
  1554.      * Serialize to String the object <var>idAccordoServizioParteSpecifica</var> of type {@link org.openspcoop2.core.commons.search.IdAccordoServizioParteSpecifica}
  1555.      *
  1556.      * @param idAccordoServizioParteSpecifica Object to be serialized
  1557.      * @return Object to be serialized as String
  1558.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1559.      */
  1560.     public String toString(IdAccordoServizioParteSpecifica idAccordoServizioParteSpecifica) throws SerializerException {
  1561.         return this.objToXml(IdAccordoServizioParteSpecifica.class, idAccordoServizioParteSpecifica, false).toString();
  1562.     }
  1563.     /**
  1564.      * Serialize to String the object <var>idAccordoServizioParteSpecifica</var> of type {@link org.openspcoop2.core.commons.search.IdAccordoServizioParteSpecifica}
  1565.      *
  1566.      * @param idAccordoServizioParteSpecifica Object to be serialized
  1567.      * @param prettyPrint if true output the XML with indenting
  1568.      * @return Object to be serialized as String
  1569.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1570.      */
  1571.     public String toString(IdAccordoServizioParteSpecifica idAccordoServizioParteSpecifica,boolean prettyPrint) throws SerializerException {
  1572.         return this.objToXml(IdAccordoServizioParteSpecifica.class, idAccordoServizioParteSpecifica, prettyPrint).toString();
  1573.     }
  1574.    
  1575.    
  1576.    
  1577.     /*
  1578.      =================================================================================
  1579.      Object: servizio-applicativo-ruolo
  1580.      =================================================================================
  1581.     */
  1582.    
  1583.     /**
  1584.      * Serialize to file system in <var>fileName</var> the object <var>servizioApplicativoRuolo</var> of type {@link org.openspcoop2.core.commons.search.ServizioApplicativoRuolo}
  1585.      *
  1586.      * @param fileName Xml file to serialize the object <var>servizioApplicativoRuolo</var>
  1587.      * @param servizioApplicativoRuolo Object to be serialized in xml file <var>fileName</var>
  1588.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1589.      */
  1590.     public void write(String fileName,ServizioApplicativoRuolo servizioApplicativoRuolo) throws SerializerException {
  1591.         this.objToXml(fileName, ServizioApplicativoRuolo.class, servizioApplicativoRuolo, false);
  1592.     }
  1593.     /**
  1594.      * Serialize to file system in <var>fileName</var> the object <var>servizioApplicativoRuolo</var> of type {@link org.openspcoop2.core.commons.search.ServizioApplicativoRuolo}
  1595.      *
  1596.      * @param fileName Xml file to serialize the object <var>servizioApplicativoRuolo</var>
  1597.      * @param servizioApplicativoRuolo Object to be serialized in xml file <var>fileName</var>
  1598.      * @param prettyPrint if true output the XML with indenting
  1599.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1600.      */
  1601.     public void write(String fileName,ServizioApplicativoRuolo servizioApplicativoRuolo,boolean prettyPrint) throws SerializerException {
  1602.         this.objToXml(fileName, ServizioApplicativoRuolo.class, servizioApplicativoRuolo, prettyPrint);
  1603.     }
  1604.    
  1605.     /**
  1606.      * Serialize to file system in <var>file</var> the object <var>servizioApplicativoRuolo</var> of type {@link org.openspcoop2.core.commons.search.ServizioApplicativoRuolo}
  1607.      *
  1608.      * @param file Xml file to serialize the object <var>servizioApplicativoRuolo</var>
  1609.      * @param servizioApplicativoRuolo Object to be serialized in xml file <var>fileName</var>
  1610.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1611.      */
  1612.     public void write(File file,ServizioApplicativoRuolo servizioApplicativoRuolo) throws SerializerException {
  1613.         this.objToXml(file, ServizioApplicativoRuolo.class, servizioApplicativoRuolo, false);
  1614.     }
  1615.     /**
  1616.      * Serialize to file system in <var>file</var> the object <var>servizioApplicativoRuolo</var> of type {@link org.openspcoop2.core.commons.search.ServizioApplicativoRuolo}
  1617.      *
  1618.      * @param file Xml file to serialize the object <var>servizioApplicativoRuolo</var>
  1619.      * @param servizioApplicativoRuolo Object to be serialized in xml file <var>fileName</var>
  1620.      * @param prettyPrint if true output the XML with indenting
  1621.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1622.      */
  1623.     public void write(File file,ServizioApplicativoRuolo servizioApplicativoRuolo,boolean prettyPrint) throws SerializerException {
  1624.         this.objToXml(file, ServizioApplicativoRuolo.class, servizioApplicativoRuolo, prettyPrint);
  1625.     }
  1626.    
  1627.     /**
  1628.      * Serialize to output stream <var>out</var> the object <var>servizioApplicativoRuolo</var> of type {@link org.openspcoop2.core.commons.search.ServizioApplicativoRuolo}
  1629.      *
  1630.      * @param out OutputStream to serialize the object <var>servizioApplicativoRuolo</var>
  1631.      * @param servizioApplicativoRuolo Object to be serialized in xml file <var>fileName</var>
  1632.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1633.      */
  1634.     public void write(OutputStream out,ServizioApplicativoRuolo servizioApplicativoRuolo) throws SerializerException {
  1635.         this.objToXml(out, ServizioApplicativoRuolo.class, servizioApplicativoRuolo, false);
  1636.     }
  1637.     /**
  1638.      * Serialize to output stream <var>out</var> the object <var>servizioApplicativoRuolo</var> of type {@link org.openspcoop2.core.commons.search.ServizioApplicativoRuolo}
  1639.      *
  1640.      * @param out OutputStream to serialize the object <var>servizioApplicativoRuolo</var>
  1641.      * @param servizioApplicativoRuolo Object to be serialized in xml file <var>fileName</var>
  1642.      * @param prettyPrint if true output the XML with indenting
  1643.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1644.      */
  1645.     public void write(OutputStream out,ServizioApplicativoRuolo servizioApplicativoRuolo,boolean prettyPrint) throws SerializerException {
  1646.         this.objToXml(out, ServizioApplicativoRuolo.class, servizioApplicativoRuolo, prettyPrint);
  1647.     }
  1648.            
  1649.     /**
  1650.      * Serialize to byte array the object <var>servizioApplicativoRuolo</var> of type {@link org.openspcoop2.core.commons.search.ServizioApplicativoRuolo}
  1651.      *
  1652.      * @param servizioApplicativoRuolo Object to be serialized
  1653.      * @return Object to be serialized in byte array
  1654.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1655.      */
  1656.     public byte[] toByteArray(ServizioApplicativoRuolo servizioApplicativoRuolo) throws SerializerException {
  1657.         return this.objToXml(ServizioApplicativoRuolo.class, servizioApplicativoRuolo, false).toByteArray();
  1658.     }
  1659.     /**
  1660.      * Serialize to byte array the object <var>servizioApplicativoRuolo</var> of type {@link org.openspcoop2.core.commons.search.ServizioApplicativoRuolo}
  1661.      *
  1662.      * @param servizioApplicativoRuolo Object to be serialized
  1663.      * @param prettyPrint if true output the XML with indenting
  1664.      * @return Object to be serialized in byte array
  1665.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1666.      */
  1667.     public byte[] toByteArray(ServizioApplicativoRuolo servizioApplicativoRuolo,boolean prettyPrint) throws SerializerException {
  1668.         return this.objToXml(ServizioApplicativoRuolo.class, servizioApplicativoRuolo, prettyPrint).toByteArray();
  1669.     }
  1670.    
  1671.     /**
  1672.      * Serialize to String the object <var>servizioApplicativoRuolo</var> of type {@link org.openspcoop2.core.commons.search.ServizioApplicativoRuolo}
  1673.      *
  1674.      * @param servizioApplicativoRuolo Object to be serialized
  1675.      * @return Object to be serialized as String
  1676.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1677.      */
  1678.     public String toString(ServizioApplicativoRuolo servizioApplicativoRuolo) throws SerializerException {
  1679.         return this.objToXml(ServizioApplicativoRuolo.class, servizioApplicativoRuolo, false).toString();
  1680.     }
  1681.     /**
  1682.      * Serialize to String the object <var>servizioApplicativoRuolo</var> of type {@link org.openspcoop2.core.commons.search.ServizioApplicativoRuolo}
  1683.      *
  1684.      * @param servizioApplicativoRuolo Object to be serialized
  1685.      * @param prettyPrint if true output the XML with indenting
  1686.      * @return Object to be serialized as String
  1687.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1688.      */
  1689.     public String toString(ServizioApplicativoRuolo servizioApplicativoRuolo,boolean prettyPrint) throws SerializerException {
  1690.         return this.objToXml(ServizioApplicativoRuolo.class, servizioApplicativoRuolo, prettyPrint).toString();
  1691.     }
  1692.    
  1693.    
  1694.    
  1695.     /*
  1696.      =================================================================================
  1697.      Object: id-accordo-servizio-parte-comune-azione
  1698.      =================================================================================
  1699.     */
  1700.    
  1701.     /**
  1702.      * Serialize to file system in <var>fileName</var> the object <var>idAccordoServizioParteComuneAzione</var> of type {@link org.openspcoop2.core.commons.search.IdAccordoServizioParteComuneAzione}
  1703.      *
  1704.      * @param fileName Xml file to serialize the object <var>idAccordoServizioParteComuneAzione</var>
  1705.      * @param idAccordoServizioParteComuneAzione Object to be serialized in xml file <var>fileName</var>
  1706.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1707.      */
  1708.     public void write(String fileName,IdAccordoServizioParteComuneAzione idAccordoServizioParteComuneAzione) throws SerializerException {
  1709.         this.objToXml(fileName, IdAccordoServizioParteComuneAzione.class, idAccordoServizioParteComuneAzione, false);
  1710.     }
  1711.     /**
  1712.      * Serialize to file system in <var>fileName</var> the object <var>idAccordoServizioParteComuneAzione</var> of type {@link org.openspcoop2.core.commons.search.IdAccordoServizioParteComuneAzione}
  1713.      *
  1714.      * @param fileName Xml file to serialize the object <var>idAccordoServizioParteComuneAzione</var>
  1715.      * @param idAccordoServizioParteComuneAzione Object to be serialized in xml file <var>fileName</var>
  1716.      * @param prettyPrint if true output the XML with indenting
  1717.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1718.      */
  1719.     public void write(String fileName,IdAccordoServizioParteComuneAzione idAccordoServizioParteComuneAzione,boolean prettyPrint) throws SerializerException {
  1720.         this.objToXml(fileName, IdAccordoServizioParteComuneAzione.class, idAccordoServizioParteComuneAzione, prettyPrint);
  1721.     }
  1722.    
  1723.     /**
  1724.      * Serialize to file system in <var>file</var> the object <var>idAccordoServizioParteComuneAzione</var> of type {@link org.openspcoop2.core.commons.search.IdAccordoServizioParteComuneAzione}
  1725.      *
  1726.      * @param file Xml file to serialize the object <var>idAccordoServizioParteComuneAzione</var>
  1727.      * @param idAccordoServizioParteComuneAzione Object to be serialized in xml file <var>fileName</var>
  1728.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1729.      */
  1730.     public void write(File file,IdAccordoServizioParteComuneAzione idAccordoServizioParteComuneAzione) throws SerializerException {
  1731.         this.objToXml(file, IdAccordoServizioParteComuneAzione.class, idAccordoServizioParteComuneAzione, false);
  1732.     }
  1733.     /**
  1734.      * Serialize to file system in <var>file</var> the object <var>idAccordoServizioParteComuneAzione</var> of type {@link org.openspcoop2.core.commons.search.IdAccordoServizioParteComuneAzione}
  1735.      *
  1736.      * @param file Xml file to serialize the object <var>idAccordoServizioParteComuneAzione</var>
  1737.      * @param idAccordoServizioParteComuneAzione Object to be serialized in xml file <var>fileName</var>
  1738.      * @param prettyPrint if true output the XML with indenting
  1739.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1740.      */
  1741.     public void write(File file,IdAccordoServizioParteComuneAzione idAccordoServizioParteComuneAzione,boolean prettyPrint) throws SerializerException {
  1742.         this.objToXml(file, IdAccordoServizioParteComuneAzione.class, idAccordoServizioParteComuneAzione, prettyPrint);
  1743.     }
  1744.    
  1745.     /**
  1746.      * Serialize to output stream <var>out</var> the object <var>idAccordoServizioParteComuneAzione</var> of type {@link org.openspcoop2.core.commons.search.IdAccordoServizioParteComuneAzione}
  1747.      *
  1748.      * @param out OutputStream to serialize the object <var>idAccordoServizioParteComuneAzione</var>
  1749.      * @param idAccordoServizioParteComuneAzione Object to be serialized in xml file <var>fileName</var>
  1750.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1751.      */
  1752.     public void write(OutputStream out,IdAccordoServizioParteComuneAzione idAccordoServizioParteComuneAzione) throws SerializerException {
  1753.         this.objToXml(out, IdAccordoServizioParteComuneAzione.class, idAccordoServizioParteComuneAzione, false);
  1754.     }
  1755.     /**
  1756.      * Serialize to output stream <var>out</var> the object <var>idAccordoServizioParteComuneAzione</var> of type {@link org.openspcoop2.core.commons.search.IdAccordoServizioParteComuneAzione}
  1757.      *
  1758.      * @param out OutputStream to serialize the object <var>idAccordoServizioParteComuneAzione</var>
  1759.      * @param idAccordoServizioParteComuneAzione Object to be serialized in xml file <var>fileName</var>
  1760.      * @param prettyPrint if true output the XML with indenting
  1761.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1762.      */
  1763.     public void write(OutputStream out,IdAccordoServizioParteComuneAzione idAccordoServizioParteComuneAzione,boolean prettyPrint) throws SerializerException {
  1764.         this.objToXml(out, IdAccordoServizioParteComuneAzione.class, idAccordoServizioParteComuneAzione, prettyPrint);
  1765.     }
  1766.            
  1767.     /**
  1768.      * Serialize to byte array the object <var>idAccordoServizioParteComuneAzione</var> of type {@link org.openspcoop2.core.commons.search.IdAccordoServizioParteComuneAzione}
  1769.      *
  1770.      * @param idAccordoServizioParteComuneAzione Object to be serialized
  1771.      * @return Object to be serialized in byte array
  1772.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1773.      */
  1774.     public byte[] toByteArray(IdAccordoServizioParteComuneAzione idAccordoServizioParteComuneAzione) throws SerializerException {
  1775.         return this.objToXml(IdAccordoServizioParteComuneAzione.class, idAccordoServizioParteComuneAzione, false).toByteArray();
  1776.     }
  1777.     /**
  1778.      * Serialize to byte array the object <var>idAccordoServizioParteComuneAzione</var> of type {@link org.openspcoop2.core.commons.search.IdAccordoServizioParteComuneAzione}
  1779.      *
  1780.      * @param idAccordoServizioParteComuneAzione Object to be serialized
  1781.      * @param prettyPrint if true output the XML with indenting
  1782.      * @return Object to be serialized in byte array
  1783.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1784.      */
  1785.     public byte[] toByteArray(IdAccordoServizioParteComuneAzione idAccordoServizioParteComuneAzione,boolean prettyPrint) throws SerializerException {
  1786.         return this.objToXml(IdAccordoServizioParteComuneAzione.class, idAccordoServizioParteComuneAzione, prettyPrint).toByteArray();
  1787.     }
  1788.    
  1789.     /**
  1790.      * Serialize to String the object <var>idAccordoServizioParteComuneAzione</var> of type {@link org.openspcoop2.core.commons.search.IdAccordoServizioParteComuneAzione}
  1791.      *
  1792.      * @param idAccordoServizioParteComuneAzione Object to be serialized
  1793.      * @return Object to be serialized as String
  1794.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1795.      */
  1796.     public String toString(IdAccordoServizioParteComuneAzione idAccordoServizioParteComuneAzione) throws SerializerException {
  1797.         return this.objToXml(IdAccordoServizioParteComuneAzione.class, idAccordoServizioParteComuneAzione, false).toString();
  1798.     }
  1799.     /**
  1800.      * Serialize to String the object <var>idAccordoServizioParteComuneAzione</var> of type {@link org.openspcoop2.core.commons.search.IdAccordoServizioParteComuneAzione}
  1801.      *
  1802.      * @param idAccordoServizioParteComuneAzione Object to be serialized
  1803.      * @param prettyPrint if true output the XML with indenting
  1804.      * @return Object to be serialized as String
  1805.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1806.      */
  1807.     public String toString(IdAccordoServizioParteComuneAzione idAccordoServizioParteComuneAzione,boolean prettyPrint) throws SerializerException {
  1808.         return this.objToXml(IdAccordoServizioParteComuneAzione.class, idAccordoServizioParteComuneAzione, prettyPrint).toString();
  1809.     }
  1810.    
  1811.    
  1812.    
  1813.     /*
  1814.      =================================================================================
  1815.      Object: accordo-servizio-parte-specifica
  1816.      =================================================================================
  1817.     */
  1818.    
  1819.     /**
  1820.      * Serialize to file system in <var>fileName</var> the object <var>accordoServizioParteSpecifica</var> of type {@link org.openspcoop2.core.commons.search.AccordoServizioParteSpecifica}
  1821.      *
  1822.      * @param fileName Xml file to serialize the object <var>accordoServizioParteSpecifica</var>
  1823.      * @param accordoServizioParteSpecifica Object to be serialized in xml file <var>fileName</var>
  1824.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1825.      */
  1826.     public void write(String fileName,AccordoServizioParteSpecifica accordoServizioParteSpecifica) throws SerializerException {
  1827.         this.objToXml(fileName, AccordoServizioParteSpecifica.class, accordoServizioParteSpecifica, false);
  1828.     }
  1829.     /**
  1830.      * Serialize to file system in <var>fileName</var> the object <var>accordoServizioParteSpecifica</var> of type {@link org.openspcoop2.core.commons.search.AccordoServizioParteSpecifica}
  1831.      *
  1832.      * @param fileName Xml file to serialize the object <var>accordoServizioParteSpecifica</var>
  1833.      * @param accordoServizioParteSpecifica Object to be serialized in xml file <var>fileName</var>
  1834.      * @param prettyPrint if true output the XML with indenting
  1835.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1836.      */
  1837.     public void write(String fileName,AccordoServizioParteSpecifica accordoServizioParteSpecifica,boolean prettyPrint) throws SerializerException {
  1838.         this.objToXml(fileName, AccordoServizioParteSpecifica.class, accordoServizioParteSpecifica, prettyPrint);
  1839.     }
  1840.    
  1841.     /**
  1842.      * Serialize to file system in <var>file</var> the object <var>accordoServizioParteSpecifica</var> of type {@link org.openspcoop2.core.commons.search.AccordoServizioParteSpecifica}
  1843.      *
  1844.      * @param file Xml file to serialize the object <var>accordoServizioParteSpecifica</var>
  1845.      * @param accordoServizioParteSpecifica Object to be serialized in xml file <var>fileName</var>
  1846.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1847.      */
  1848.     public void write(File file,AccordoServizioParteSpecifica accordoServizioParteSpecifica) throws SerializerException {
  1849.         this.objToXml(file, AccordoServizioParteSpecifica.class, accordoServizioParteSpecifica, false);
  1850.     }
  1851.     /**
  1852.      * Serialize to file system in <var>file</var> the object <var>accordoServizioParteSpecifica</var> of type {@link org.openspcoop2.core.commons.search.AccordoServizioParteSpecifica}
  1853.      *
  1854.      * @param file Xml file to serialize the object <var>accordoServizioParteSpecifica</var>
  1855.      * @param accordoServizioParteSpecifica Object to be serialized in xml file <var>fileName</var>
  1856.      * @param prettyPrint if true output the XML with indenting
  1857.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1858.      */
  1859.     public void write(File file,AccordoServizioParteSpecifica accordoServizioParteSpecifica,boolean prettyPrint) throws SerializerException {
  1860.         this.objToXml(file, AccordoServizioParteSpecifica.class, accordoServizioParteSpecifica, prettyPrint);
  1861.     }
  1862.    
  1863.     /**
  1864.      * Serialize to output stream <var>out</var> the object <var>accordoServizioParteSpecifica</var> of type {@link org.openspcoop2.core.commons.search.AccordoServizioParteSpecifica}
  1865.      *
  1866.      * @param out OutputStream to serialize the object <var>accordoServizioParteSpecifica</var>
  1867.      * @param accordoServizioParteSpecifica Object to be serialized in xml file <var>fileName</var>
  1868.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1869.      */
  1870.     public void write(OutputStream out,AccordoServizioParteSpecifica accordoServizioParteSpecifica) throws SerializerException {
  1871.         this.objToXml(out, AccordoServizioParteSpecifica.class, accordoServizioParteSpecifica, false);
  1872.     }
  1873.     /**
  1874.      * Serialize to output stream <var>out</var> the object <var>accordoServizioParteSpecifica</var> of type {@link org.openspcoop2.core.commons.search.AccordoServizioParteSpecifica}
  1875.      *
  1876.      * @param out OutputStream to serialize the object <var>accordoServizioParteSpecifica</var>
  1877.      * @param accordoServizioParteSpecifica Object to be serialized in xml file <var>fileName</var>
  1878.      * @param prettyPrint if true output the XML with indenting
  1879.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1880.      */
  1881.     public void write(OutputStream out,AccordoServizioParteSpecifica accordoServizioParteSpecifica,boolean prettyPrint) throws SerializerException {
  1882.         this.objToXml(out, AccordoServizioParteSpecifica.class, accordoServizioParteSpecifica, prettyPrint);
  1883.     }
  1884.            
  1885.     /**
  1886.      * Serialize to byte array the object <var>accordoServizioParteSpecifica</var> of type {@link org.openspcoop2.core.commons.search.AccordoServizioParteSpecifica}
  1887.      *
  1888.      * @param accordoServizioParteSpecifica Object to be serialized
  1889.      * @return Object to be serialized in byte array
  1890.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1891.      */
  1892.     public byte[] toByteArray(AccordoServizioParteSpecifica accordoServizioParteSpecifica) throws SerializerException {
  1893.         return this.objToXml(AccordoServizioParteSpecifica.class, accordoServizioParteSpecifica, false).toByteArray();
  1894.     }
  1895.     /**
  1896.      * Serialize to byte array the object <var>accordoServizioParteSpecifica</var> of type {@link org.openspcoop2.core.commons.search.AccordoServizioParteSpecifica}
  1897.      *
  1898.      * @param accordoServizioParteSpecifica Object to be serialized
  1899.      * @param prettyPrint if true output the XML with indenting
  1900.      * @return Object to be serialized in byte array
  1901.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1902.      */
  1903.     public byte[] toByteArray(AccordoServizioParteSpecifica accordoServizioParteSpecifica,boolean prettyPrint) throws SerializerException {
  1904.         return this.objToXml(AccordoServizioParteSpecifica.class, accordoServizioParteSpecifica, prettyPrint).toByteArray();
  1905.     }
  1906.    
  1907.     /**
  1908.      * Serialize to String the object <var>accordoServizioParteSpecifica</var> of type {@link org.openspcoop2.core.commons.search.AccordoServizioParteSpecifica}
  1909.      *
  1910.      * @param accordoServizioParteSpecifica Object to be serialized
  1911.      * @return Object to be serialized as String
  1912.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1913.      */
  1914.     public String toString(AccordoServizioParteSpecifica accordoServizioParteSpecifica) throws SerializerException {
  1915.         return this.objToXml(AccordoServizioParteSpecifica.class, accordoServizioParteSpecifica, false).toString();
  1916.     }
  1917.     /**
  1918.      * Serialize to String the object <var>accordoServizioParteSpecifica</var> of type {@link org.openspcoop2.core.commons.search.AccordoServizioParteSpecifica}
  1919.      *
  1920.      * @param accordoServizioParteSpecifica Object to be serialized
  1921.      * @param prettyPrint if true output the XML with indenting
  1922.      * @return Object to be serialized as String
  1923.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1924.      */
  1925.     public String toString(AccordoServizioParteSpecifica accordoServizioParteSpecifica,boolean prettyPrint) throws SerializerException {
  1926.         return this.objToXml(AccordoServizioParteSpecifica.class, accordoServizioParteSpecifica, prettyPrint).toString();
  1927.     }
  1928.    
  1929.    
  1930.    
  1931.     /*
  1932.      =================================================================================
  1933.      Object: servizio-applicativo-proprieta-protocollo
  1934.      =================================================================================
  1935.     */
  1936.    
  1937.     /**
  1938.      * Serialize to file system in <var>fileName</var> the object <var>servizioApplicativoProprietaProtocollo</var> of type {@link org.openspcoop2.core.commons.search.ServizioApplicativoProprietaProtocollo}
  1939.      *
  1940.      * @param fileName Xml file to serialize the object <var>servizioApplicativoProprietaProtocollo</var>
  1941.      * @param servizioApplicativoProprietaProtocollo Object to be serialized in xml file <var>fileName</var>
  1942.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1943.      */
  1944.     public void write(String fileName,ServizioApplicativoProprietaProtocollo servizioApplicativoProprietaProtocollo) throws SerializerException {
  1945.         this.objToXml(fileName, ServizioApplicativoProprietaProtocollo.class, servizioApplicativoProprietaProtocollo, false);
  1946.     }
  1947.     /**
  1948.      * Serialize to file system in <var>fileName</var> the object <var>servizioApplicativoProprietaProtocollo</var> of type {@link org.openspcoop2.core.commons.search.ServizioApplicativoProprietaProtocollo}
  1949.      *
  1950.      * @param fileName Xml file to serialize the object <var>servizioApplicativoProprietaProtocollo</var>
  1951.      * @param servizioApplicativoProprietaProtocollo Object to be serialized in xml file <var>fileName</var>
  1952.      * @param prettyPrint if true output the XML with indenting
  1953.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1954.      */
  1955.     public void write(String fileName,ServizioApplicativoProprietaProtocollo servizioApplicativoProprietaProtocollo,boolean prettyPrint) throws SerializerException {
  1956.         this.objToXml(fileName, ServizioApplicativoProprietaProtocollo.class, servizioApplicativoProprietaProtocollo, prettyPrint);
  1957.     }
  1958.    
  1959.     /**
  1960.      * Serialize to file system in <var>file</var> the object <var>servizioApplicativoProprietaProtocollo</var> of type {@link org.openspcoop2.core.commons.search.ServizioApplicativoProprietaProtocollo}
  1961.      *
  1962.      * @param file Xml file to serialize the object <var>servizioApplicativoProprietaProtocollo</var>
  1963.      * @param servizioApplicativoProprietaProtocollo Object to be serialized in xml file <var>fileName</var>
  1964.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1965.      */
  1966.     public void write(File file,ServizioApplicativoProprietaProtocollo servizioApplicativoProprietaProtocollo) throws SerializerException {
  1967.         this.objToXml(file, ServizioApplicativoProprietaProtocollo.class, servizioApplicativoProprietaProtocollo, false);
  1968.     }
  1969.     /**
  1970.      * Serialize to file system in <var>file</var> the object <var>servizioApplicativoProprietaProtocollo</var> of type {@link org.openspcoop2.core.commons.search.ServizioApplicativoProprietaProtocollo}
  1971.      *
  1972.      * @param file Xml file to serialize the object <var>servizioApplicativoProprietaProtocollo</var>
  1973.      * @param servizioApplicativoProprietaProtocollo Object to be serialized in xml file <var>fileName</var>
  1974.      * @param prettyPrint if true output the XML with indenting
  1975.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1976.      */
  1977.     public void write(File file,ServizioApplicativoProprietaProtocollo servizioApplicativoProprietaProtocollo,boolean prettyPrint) throws SerializerException {
  1978.         this.objToXml(file, ServizioApplicativoProprietaProtocollo.class, servizioApplicativoProprietaProtocollo, prettyPrint);
  1979.     }
  1980.    
  1981.     /**
  1982.      * Serialize to output stream <var>out</var> the object <var>servizioApplicativoProprietaProtocollo</var> of type {@link org.openspcoop2.core.commons.search.ServizioApplicativoProprietaProtocollo}
  1983.      *
  1984.      * @param out OutputStream to serialize the object <var>servizioApplicativoProprietaProtocollo</var>
  1985.      * @param servizioApplicativoProprietaProtocollo Object to be serialized in xml file <var>fileName</var>
  1986.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1987.      */
  1988.     public void write(OutputStream out,ServizioApplicativoProprietaProtocollo servizioApplicativoProprietaProtocollo) throws SerializerException {
  1989.         this.objToXml(out, ServizioApplicativoProprietaProtocollo.class, servizioApplicativoProprietaProtocollo, false);
  1990.     }
  1991.     /**
  1992.      * Serialize to output stream <var>out</var> the object <var>servizioApplicativoProprietaProtocollo</var> of type {@link org.openspcoop2.core.commons.search.ServizioApplicativoProprietaProtocollo}
  1993.      *
  1994.      * @param out OutputStream to serialize the object <var>servizioApplicativoProprietaProtocollo</var>
  1995.      * @param servizioApplicativoProprietaProtocollo Object to be serialized in xml file <var>fileName</var>
  1996.      * @param prettyPrint if true output the XML with indenting
  1997.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1998.      */
  1999.     public void write(OutputStream out,ServizioApplicativoProprietaProtocollo servizioApplicativoProprietaProtocollo,boolean prettyPrint) throws SerializerException {
  2000.         this.objToXml(out, ServizioApplicativoProprietaProtocollo.class, servizioApplicativoProprietaProtocollo, prettyPrint);
  2001.     }
  2002.            
  2003.     /**
  2004.      * Serialize to byte array the object <var>servizioApplicativoProprietaProtocollo</var> of type {@link org.openspcoop2.core.commons.search.ServizioApplicativoProprietaProtocollo}
  2005.      *
  2006.      * @param servizioApplicativoProprietaProtocollo Object to be serialized
  2007.      * @return Object to be serialized in byte array
  2008.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2009.      */
  2010.     public byte[] toByteArray(ServizioApplicativoProprietaProtocollo servizioApplicativoProprietaProtocollo) throws SerializerException {
  2011.         return this.objToXml(ServizioApplicativoProprietaProtocollo.class, servizioApplicativoProprietaProtocollo, false).toByteArray();
  2012.     }
  2013.     /**
  2014.      * Serialize to byte array the object <var>servizioApplicativoProprietaProtocollo</var> of type {@link org.openspcoop2.core.commons.search.ServizioApplicativoProprietaProtocollo}
  2015.      *
  2016.      * @param servizioApplicativoProprietaProtocollo Object to be serialized
  2017.      * @param prettyPrint if true output the XML with indenting
  2018.      * @return Object to be serialized in byte array
  2019.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2020.      */
  2021.     public byte[] toByteArray(ServizioApplicativoProprietaProtocollo servizioApplicativoProprietaProtocollo,boolean prettyPrint) throws SerializerException {
  2022.         return this.objToXml(ServizioApplicativoProprietaProtocollo.class, servizioApplicativoProprietaProtocollo, prettyPrint).toByteArray();
  2023.     }
  2024.    
  2025.     /**
  2026.      * Serialize to String the object <var>servizioApplicativoProprietaProtocollo</var> of type {@link org.openspcoop2.core.commons.search.ServizioApplicativoProprietaProtocollo}
  2027.      *
  2028.      * @param servizioApplicativoProprietaProtocollo Object to be serialized
  2029.      * @return Object to be serialized as String
  2030.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2031.      */
  2032.     public String toString(ServizioApplicativoProprietaProtocollo servizioApplicativoProprietaProtocollo) throws SerializerException {
  2033.         return this.objToXml(ServizioApplicativoProprietaProtocollo.class, servizioApplicativoProprietaProtocollo, false).toString();
  2034.     }
  2035.     /**
  2036.      * Serialize to String the object <var>servizioApplicativoProprietaProtocollo</var> of type {@link org.openspcoop2.core.commons.search.ServizioApplicativoProprietaProtocollo}
  2037.      *
  2038.      * @param servizioApplicativoProprietaProtocollo Object to be serialized
  2039.      * @param prettyPrint if true output the XML with indenting
  2040.      * @return Object to be serialized as String
  2041.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2042.      */
  2043.     public String toString(ServizioApplicativoProprietaProtocollo servizioApplicativoProprietaProtocollo,boolean prettyPrint) throws SerializerException {
  2044.         return this.objToXml(ServizioApplicativoProprietaProtocollo.class, servizioApplicativoProprietaProtocollo, prettyPrint).toString();
  2045.     }
  2046.    
  2047.    
  2048.    
  2049.     /*
  2050.      =================================================================================
  2051.      Object: ruolo
  2052.      =================================================================================
  2053.     */
  2054.    
  2055.     /**
  2056.      * Serialize to file system in <var>fileName</var> the object <var>ruolo</var> of type {@link org.openspcoop2.core.commons.search.Ruolo}
  2057.      *
  2058.      * @param fileName Xml file to serialize the object <var>ruolo</var>
  2059.      * @param ruolo Object to be serialized in xml file <var>fileName</var>
  2060.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2061.      */
  2062.     public void write(String fileName,Ruolo ruolo) throws SerializerException {
  2063.         this.objToXml(fileName, Ruolo.class, ruolo, false);
  2064.     }
  2065.     /**
  2066.      * Serialize to file system in <var>fileName</var> the object <var>ruolo</var> of type {@link org.openspcoop2.core.commons.search.Ruolo}
  2067.      *
  2068.      * @param fileName Xml file to serialize the object <var>ruolo</var>
  2069.      * @param ruolo Object to be serialized in xml file <var>fileName</var>
  2070.      * @param prettyPrint if true output the XML with indenting
  2071.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2072.      */
  2073.     public void write(String fileName,Ruolo ruolo,boolean prettyPrint) throws SerializerException {
  2074.         this.objToXml(fileName, Ruolo.class, ruolo, prettyPrint);
  2075.     }
  2076.    
  2077.     /**
  2078.      * Serialize to file system in <var>file</var> the object <var>ruolo</var> of type {@link org.openspcoop2.core.commons.search.Ruolo}
  2079.      *
  2080.      * @param file Xml file to serialize the object <var>ruolo</var>
  2081.      * @param ruolo Object to be serialized in xml file <var>fileName</var>
  2082.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2083.      */
  2084.     public void write(File file,Ruolo ruolo) throws SerializerException {
  2085.         this.objToXml(file, Ruolo.class, ruolo, false);
  2086.     }
  2087.     /**
  2088.      * Serialize to file system in <var>file</var> the object <var>ruolo</var> of type {@link org.openspcoop2.core.commons.search.Ruolo}
  2089.      *
  2090.      * @param file Xml file to serialize the object <var>ruolo</var>
  2091.      * @param ruolo Object to be serialized in xml file <var>fileName</var>
  2092.      * @param prettyPrint if true output the XML with indenting
  2093.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2094.      */
  2095.     public void write(File file,Ruolo ruolo,boolean prettyPrint) throws SerializerException {
  2096.         this.objToXml(file, Ruolo.class, ruolo, prettyPrint);
  2097.     }
  2098.    
  2099.     /**
  2100.      * Serialize to output stream <var>out</var> the object <var>ruolo</var> of type {@link org.openspcoop2.core.commons.search.Ruolo}
  2101.      *
  2102.      * @param out OutputStream to serialize the object <var>ruolo</var>
  2103.      * @param ruolo Object to be serialized in xml file <var>fileName</var>
  2104.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2105.      */
  2106.     public void write(OutputStream out,Ruolo ruolo) throws SerializerException {
  2107.         this.objToXml(out, Ruolo.class, ruolo, false);
  2108.     }
  2109.     /**
  2110.      * Serialize to output stream <var>out</var> the object <var>ruolo</var> of type {@link org.openspcoop2.core.commons.search.Ruolo}
  2111.      *
  2112.      * @param out OutputStream to serialize the object <var>ruolo</var>
  2113.      * @param ruolo Object to be serialized in xml file <var>fileName</var>
  2114.      * @param prettyPrint if true output the XML with indenting
  2115.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2116.      */
  2117.     public void write(OutputStream out,Ruolo ruolo,boolean prettyPrint) throws SerializerException {
  2118.         this.objToXml(out, Ruolo.class, ruolo, prettyPrint);
  2119.     }
  2120.            
  2121.     /**
  2122.      * Serialize to byte array the object <var>ruolo</var> of type {@link org.openspcoop2.core.commons.search.Ruolo}
  2123.      *
  2124.      * @param ruolo Object to be serialized
  2125.      * @return Object to be serialized in byte array
  2126.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2127.      */
  2128.     public byte[] toByteArray(Ruolo ruolo) throws SerializerException {
  2129.         return this.objToXml(Ruolo.class, ruolo, false).toByteArray();
  2130.     }
  2131.     /**
  2132.      * Serialize to byte array the object <var>ruolo</var> of type {@link org.openspcoop2.core.commons.search.Ruolo}
  2133.      *
  2134.      * @param ruolo Object to be serialized
  2135.      * @param prettyPrint if true output the XML with indenting
  2136.      * @return Object to be serialized in byte array
  2137.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2138.      */
  2139.     public byte[] toByteArray(Ruolo ruolo,boolean prettyPrint) throws SerializerException {
  2140.         return this.objToXml(Ruolo.class, ruolo, prettyPrint).toByteArray();
  2141.     }
  2142.    
  2143.     /**
  2144.      * Serialize to String the object <var>ruolo</var> of type {@link org.openspcoop2.core.commons.search.Ruolo}
  2145.      *
  2146.      * @param ruolo Object to be serialized
  2147.      * @return Object to be serialized as String
  2148.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2149.      */
  2150.     public String toString(Ruolo ruolo) throws SerializerException {
  2151.         return this.objToXml(Ruolo.class, ruolo, false).toString();
  2152.     }
  2153.     /**
  2154.      * Serialize to String the object <var>ruolo</var> of type {@link org.openspcoop2.core.commons.search.Ruolo}
  2155.      *
  2156.      * @param ruolo Object to be serialized
  2157.      * @param prettyPrint if true output the XML with indenting
  2158.      * @return Object to be serialized as String
  2159.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2160.      */
  2161.     public String toString(Ruolo ruolo,boolean prettyPrint) throws SerializerException {
  2162.         return this.objToXml(Ruolo.class, ruolo, prettyPrint).toString();
  2163.     }
  2164.    
  2165.    
  2166.    
  2167.     /*
  2168.      =================================================================================
  2169.      Object: soggetto-ruolo
  2170.      =================================================================================
  2171.     */
  2172.    
  2173.     /**
  2174.      * Serialize to file system in <var>fileName</var> the object <var>soggettoRuolo</var> of type {@link org.openspcoop2.core.commons.search.SoggettoRuolo}
  2175.      *
  2176.      * @param fileName Xml file to serialize the object <var>soggettoRuolo</var>
  2177.      * @param soggettoRuolo Object to be serialized in xml file <var>fileName</var>
  2178.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2179.      */
  2180.     public void write(String fileName,SoggettoRuolo soggettoRuolo) throws SerializerException {
  2181.         this.objToXml(fileName, SoggettoRuolo.class, soggettoRuolo, false);
  2182.     }
  2183.     /**
  2184.      * Serialize to file system in <var>fileName</var> the object <var>soggettoRuolo</var> of type {@link org.openspcoop2.core.commons.search.SoggettoRuolo}
  2185.      *
  2186.      * @param fileName Xml file to serialize the object <var>soggettoRuolo</var>
  2187.      * @param soggettoRuolo Object to be serialized in xml file <var>fileName</var>
  2188.      * @param prettyPrint if true output the XML with indenting
  2189.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2190.      */
  2191.     public void write(String fileName,SoggettoRuolo soggettoRuolo,boolean prettyPrint) throws SerializerException {
  2192.         this.objToXml(fileName, SoggettoRuolo.class, soggettoRuolo, prettyPrint);
  2193.     }
  2194.    
  2195.     /**
  2196.      * Serialize to file system in <var>file</var> the object <var>soggettoRuolo</var> of type {@link org.openspcoop2.core.commons.search.SoggettoRuolo}
  2197.      *
  2198.      * @param file Xml file to serialize the object <var>soggettoRuolo</var>
  2199.      * @param soggettoRuolo Object to be serialized in xml file <var>fileName</var>
  2200.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2201.      */
  2202.     public void write(File file,SoggettoRuolo soggettoRuolo) throws SerializerException {
  2203.         this.objToXml(file, SoggettoRuolo.class, soggettoRuolo, false);
  2204.     }
  2205.     /**
  2206.      * Serialize to file system in <var>file</var> the object <var>soggettoRuolo</var> of type {@link org.openspcoop2.core.commons.search.SoggettoRuolo}
  2207.      *
  2208.      * @param file Xml file to serialize the object <var>soggettoRuolo</var>
  2209.      * @param soggettoRuolo Object to be serialized in xml file <var>fileName</var>
  2210.      * @param prettyPrint if true output the XML with indenting
  2211.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2212.      */
  2213.     public void write(File file,SoggettoRuolo soggettoRuolo,boolean prettyPrint) throws SerializerException {
  2214.         this.objToXml(file, SoggettoRuolo.class, soggettoRuolo, prettyPrint);
  2215.     }
  2216.    
  2217.     /**
  2218.      * Serialize to output stream <var>out</var> the object <var>soggettoRuolo</var> of type {@link org.openspcoop2.core.commons.search.SoggettoRuolo}
  2219.      *
  2220.      * @param out OutputStream to serialize the object <var>soggettoRuolo</var>
  2221.      * @param soggettoRuolo Object to be serialized in xml file <var>fileName</var>
  2222.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2223.      */
  2224.     public void write(OutputStream out,SoggettoRuolo soggettoRuolo) throws SerializerException {
  2225.         this.objToXml(out, SoggettoRuolo.class, soggettoRuolo, false);
  2226.     }
  2227.     /**
  2228.      * Serialize to output stream <var>out</var> the object <var>soggettoRuolo</var> of type {@link org.openspcoop2.core.commons.search.SoggettoRuolo}
  2229.      *
  2230.      * @param out OutputStream to serialize the object <var>soggettoRuolo</var>
  2231.      * @param soggettoRuolo Object to be serialized in xml file <var>fileName</var>
  2232.      * @param prettyPrint if true output the XML with indenting
  2233.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2234.      */
  2235.     public void write(OutputStream out,SoggettoRuolo soggettoRuolo,boolean prettyPrint) throws SerializerException {
  2236.         this.objToXml(out, SoggettoRuolo.class, soggettoRuolo, prettyPrint);
  2237.     }
  2238.            
  2239.     /**
  2240.      * Serialize to byte array the object <var>soggettoRuolo</var> of type {@link org.openspcoop2.core.commons.search.SoggettoRuolo}
  2241.      *
  2242.      * @param soggettoRuolo Object to be serialized
  2243.      * @return Object to be serialized in byte array
  2244.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2245.      */
  2246.     public byte[] toByteArray(SoggettoRuolo soggettoRuolo) throws SerializerException {
  2247.         return this.objToXml(SoggettoRuolo.class, soggettoRuolo, false).toByteArray();
  2248.     }
  2249.     /**
  2250.      * Serialize to byte array the object <var>soggettoRuolo</var> of type {@link org.openspcoop2.core.commons.search.SoggettoRuolo}
  2251.      *
  2252.      * @param soggettoRuolo Object to be serialized
  2253.      * @param prettyPrint if true output the XML with indenting
  2254.      * @return Object to be serialized in byte array
  2255.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2256.      */
  2257.     public byte[] toByteArray(SoggettoRuolo soggettoRuolo,boolean prettyPrint) throws SerializerException {
  2258.         return this.objToXml(SoggettoRuolo.class, soggettoRuolo, prettyPrint).toByteArray();
  2259.     }
  2260.    
  2261.     /**
  2262.      * Serialize to String the object <var>soggettoRuolo</var> of type {@link org.openspcoop2.core.commons.search.SoggettoRuolo}
  2263.      *
  2264.      * @param soggettoRuolo Object to be serialized
  2265.      * @return Object to be serialized as String
  2266.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2267.      */
  2268.     public String toString(SoggettoRuolo soggettoRuolo) throws SerializerException {
  2269.         return this.objToXml(SoggettoRuolo.class, soggettoRuolo, false).toString();
  2270.     }
  2271.     /**
  2272.      * Serialize to String the object <var>soggettoRuolo</var> of type {@link org.openspcoop2.core.commons.search.SoggettoRuolo}
  2273.      *
  2274.      * @param soggettoRuolo Object to be serialized
  2275.      * @param prettyPrint if true output the XML with indenting
  2276.      * @return Object to be serialized as String
  2277.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2278.      */
  2279.     public String toString(SoggettoRuolo soggettoRuolo,boolean prettyPrint) throws SerializerException {
  2280.         return this.objToXml(SoggettoRuolo.class, soggettoRuolo, prettyPrint).toString();
  2281.     }
  2282.    
  2283.    
  2284.    
  2285.     /*
  2286.      =================================================================================
  2287.      Object: servizio-applicativo
  2288.      =================================================================================
  2289.     */
  2290.    
  2291.     /**
  2292.      * Serialize to file system in <var>fileName</var> the object <var>servizioApplicativo</var> of type {@link org.openspcoop2.core.commons.search.ServizioApplicativo}
  2293.      *
  2294.      * @param fileName Xml file to serialize the object <var>servizioApplicativo</var>
  2295.      * @param servizioApplicativo Object to be serialized in xml file <var>fileName</var>
  2296.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2297.      */
  2298.     public void write(String fileName,ServizioApplicativo servizioApplicativo) throws SerializerException {
  2299.         this.objToXml(fileName, ServizioApplicativo.class, servizioApplicativo, false);
  2300.     }
  2301.     /**
  2302.      * Serialize to file system in <var>fileName</var> the object <var>servizioApplicativo</var> of type {@link org.openspcoop2.core.commons.search.ServizioApplicativo}
  2303.      *
  2304.      * @param fileName Xml file to serialize the object <var>servizioApplicativo</var>
  2305.      * @param servizioApplicativo Object to be serialized in xml file <var>fileName</var>
  2306.      * @param prettyPrint if true output the XML with indenting
  2307.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2308.      */
  2309.     public void write(String fileName,ServizioApplicativo servizioApplicativo,boolean prettyPrint) throws SerializerException {
  2310.         this.objToXml(fileName, ServizioApplicativo.class, servizioApplicativo, prettyPrint);
  2311.     }
  2312.    
  2313.     /**
  2314.      * Serialize to file system in <var>file</var> the object <var>servizioApplicativo</var> of type {@link org.openspcoop2.core.commons.search.ServizioApplicativo}
  2315.      *
  2316.      * @param file Xml file to serialize the object <var>servizioApplicativo</var>
  2317.      * @param servizioApplicativo Object to be serialized in xml file <var>fileName</var>
  2318.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2319.      */
  2320.     public void write(File file,ServizioApplicativo servizioApplicativo) throws SerializerException {
  2321.         this.objToXml(file, ServizioApplicativo.class, servizioApplicativo, false);
  2322.     }
  2323.     /**
  2324.      * Serialize to file system in <var>file</var> the object <var>servizioApplicativo</var> of type {@link org.openspcoop2.core.commons.search.ServizioApplicativo}
  2325.      *
  2326.      * @param file Xml file to serialize the object <var>servizioApplicativo</var>
  2327.      * @param servizioApplicativo Object to be serialized in xml file <var>fileName</var>
  2328.      * @param prettyPrint if true output the XML with indenting
  2329.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2330.      */
  2331.     public void write(File file,ServizioApplicativo servizioApplicativo,boolean prettyPrint) throws SerializerException {
  2332.         this.objToXml(file, ServizioApplicativo.class, servizioApplicativo, prettyPrint);
  2333.     }
  2334.    
  2335.     /**
  2336.      * Serialize to output stream <var>out</var> the object <var>servizioApplicativo</var> of type {@link org.openspcoop2.core.commons.search.ServizioApplicativo}
  2337.      *
  2338.      * @param out OutputStream to serialize the object <var>servizioApplicativo</var>
  2339.      * @param servizioApplicativo Object to be serialized in xml file <var>fileName</var>
  2340.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2341.      */
  2342.     public void write(OutputStream out,ServizioApplicativo servizioApplicativo) throws SerializerException {
  2343.         this.objToXml(out, ServizioApplicativo.class, servizioApplicativo, false);
  2344.     }
  2345.     /**
  2346.      * Serialize to output stream <var>out</var> the object <var>servizioApplicativo</var> of type {@link org.openspcoop2.core.commons.search.ServizioApplicativo}
  2347.      *
  2348.      * @param out OutputStream to serialize the object <var>servizioApplicativo</var>
  2349.      * @param servizioApplicativo Object to be serialized in xml file <var>fileName</var>
  2350.      * @param prettyPrint if true output the XML with indenting
  2351.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2352.      */
  2353.     public void write(OutputStream out,ServizioApplicativo servizioApplicativo,boolean prettyPrint) throws SerializerException {
  2354.         this.objToXml(out, ServizioApplicativo.class, servizioApplicativo, prettyPrint);
  2355.     }
  2356.            
  2357.     /**
  2358.      * Serialize to byte array the object <var>servizioApplicativo</var> of type {@link org.openspcoop2.core.commons.search.ServizioApplicativo}
  2359.      *
  2360.      * @param servizioApplicativo Object to be serialized
  2361.      * @return Object to be serialized in byte array
  2362.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2363.      */
  2364.     public byte[] toByteArray(ServizioApplicativo servizioApplicativo) throws SerializerException {
  2365.         return this.objToXml(ServizioApplicativo.class, servizioApplicativo, false).toByteArray();
  2366.     }
  2367.     /**
  2368.      * Serialize to byte array the object <var>servizioApplicativo</var> of type {@link org.openspcoop2.core.commons.search.ServizioApplicativo}
  2369.      *
  2370.      * @param servizioApplicativo Object to be serialized
  2371.      * @param prettyPrint if true output the XML with indenting
  2372.      * @return Object to be serialized in byte array
  2373.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2374.      */
  2375.     public byte[] toByteArray(ServizioApplicativo servizioApplicativo,boolean prettyPrint) throws SerializerException {
  2376.         return this.objToXml(ServizioApplicativo.class, servizioApplicativo, prettyPrint).toByteArray();
  2377.     }
  2378.    
  2379.     /**
  2380.      * Serialize to String the object <var>servizioApplicativo</var> of type {@link org.openspcoop2.core.commons.search.ServizioApplicativo}
  2381.      *
  2382.      * @param servizioApplicativo Object to be serialized
  2383.      * @return Object to be serialized as String
  2384.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2385.      */
  2386.     public String toString(ServizioApplicativo servizioApplicativo) throws SerializerException {
  2387.         return this.objToXml(ServizioApplicativo.class, servizioApplicativo, false).toString();
  2388.     }
  2389.     /**
  2390.      * Serialize to String the object <var>servizioApplicativo</var> of type {@link org.openspcoop2.core.commons.search.ServizioApplicativo}
  2391.      *
  2392.      * @param servizioApplicativo Object to be serialized
  2393.      * @param prettyPrint if true output the XML with indenting
  2394.      * @return Object to be serialized as String
  2395.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2396.      */
  2397.     public String toString(ServizioApplicativo servizioApplicativo,boolean prettyPrint) throws SerializerException {
  2398.         return this.objToXml(ServizioApplicativo.class, servizioApplicativo, prettyPrint).toString();
  2399.     }
  2400.    
  2401.    
  2402.    
  2403.     /*
  2404.      =================================================================================
  2405.      Object: id-gruppo
  2406.      =================================================================================
  2407.     */
  2408.    
  2409.     /**
  2410.      * Serialize to file system in <var>fileName</var> the object <var>idGruppo</var> of type {@link org.openspcoop2.core.commons.search.IdGruppo}
  2411.      *
  2412.      * @param fileName Xml file to serialize the object <var>idGruppo</var>
  2413.      * @param idGruppo Object to be serialized in xml file <var>fileName</var>
  2414.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2415.      */
  2416.     public void write(String fileName,IdGruppo idGruppo) throws SerializerException {
  2417.         this.objToXml(fileName, IdGruppo.class, idGruppo, false);
  2418.     }
  2419.     /**
  2420.      * Serialize to file system in <var>fileName</var> the object <var>idGruppo</var> of type {@link org.openspcoop2.core.commons.search.IdGruppo}
  2421.      *
  2422.      * @param fileName Xml file to serialize the object <var>idGruppo</var>
  2423.      * @param idGruppo Object to be serialized in xml file <var>fileName</var>
  2424.      * @param prettyPrint if true output the XML with indenting
  2425.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2426.      */
  2427.     public void write(String fileName,IdGruppo idGruppo,boolean prettyPrint) throws SerializerException {
  2428.         this.objToXml(fileName, IdGruppo.class, idGruppo, prettyPrint);
  2429.     }
  2430.    
  2431.     /**
  2432.      * Serialize to file system in <var>file</var> the object <var>idGruppo</var> of type {@link org.openspcoop2.core.commons.search.IdGruppo}
  2433.      *
  2434.      * @param file Xml file to serialize the object <var>idGruppo</var>
  2435.      * @param idGruppo Object to be serialized in xml file <var>fileName</var>
  2436.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2437.      */
  2438.     public void write(File file,IdGruppo idGruppo) throws SerializerException {
  2439.         this.objToXml(file, IdGruppo.class, idGruppo, false);
  2440.     }
  2441.     /**
  2442.      * Serialize to file system in <var>file</var> the object <var>idGruppo</var> of type {@link org.openspcoop2.core.commons.search.IdGruppo}
  2443.      *
  2444.      * @param file Xml file to serialize the object <var>idGruppo</var>
  2445.      * @param idGruppo Object to be serialized in xml file <var>fileName</var>
  2446.      * @param prettyPrint if true output the XML with indenting
  2447.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2448.      */
  2449.     public void write(File file,IdGruppo idGruppo,boolean prettyPrint) throws SerializerException {
  2450.         this.objToXml(file, IdGruppo.class, idGruppo, prettyPrint);
  2451.     }
  2452.    
  2453.     /**
  2454.      * Serialize to output stream <var>out</var> the object <var>idGruppo</var> of type {@link org.openspcoop2.core.commons.search.IdGruppo}
  2455.      *
  2456.      * @param out OutputStream to serialize the object <var>idGruppo</var>
  2457.      * @param idGruppo Object to be serialized in xml file <var>fileName</var>
  2458.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2459.      */
  2460.     public void write(OutputStream out,IdGruppo idGruppo) throws SerializerException {
  2461.         this.objToXml(out, IdGruppo.class, idGruppo, false);
  2462.     }
  2463.     /**
  2464.      * Serialize to output stream <var>out</var> the object <var>idGruppo</var> of type {@link org.openspcoop2.core.commons.search.IdGruppo}
  2465.      *
  2466.      * @param out OutputStream to serialize the object <var>idGruppo</var>
  2467.      * @param idGruppo Object to be serialized in xml file <var>fileName</var>
  2468.      * @param prettyPrint if true output the XML with indenting
  2469.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2470.      */
  2471.     public void write(OutputStream out,IdGruppo idGruppo,boolean prettyPrint) throws SerializerException {
  2472.         this.objToXml(out, IdGruppo.class, idGruppo, prettyPrint);
  2473.     }
  2474.            
  2475.     /**
  2476.      * Serialize to byte array the object <var>idGruppo</var> of type {@link org.openspcoop2.core.commons.search.IdGruppo}
  2477.      *
  2478.      * @param idGruppo Object to be serialized
  2479.      * @return Object to be serialized in byte array
  2480.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2481.      */
  2482.     public byte[] toByteArray(IdGruppo idGruppo) throws SerializerException {
  2483.         return this.objToXml(IdGruppo.class, idGruppo, false).toByteArray();
  2484.     }
  2485.     /**
  2486.      * Serialize to byte array the object <var>idGruppo</var> of type {@link org.openspcoop2.core.commons.search.IdGruppo}
  2487.      *
  2488.      * @param idGruppo Object to be serialized
  2489.      * @param prettyPrint if true output the XML with indenting
  2490.      * @return Object to be serialized in byte array
  2491.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2492.      */
  2493.     public byte[] toByteArray(IdGruppo idGruppo,boolean prettyPrint) throws SerializerException {
  2494.         return this.objToXml(IdGruppo.class, idGruppo, prettyPrint).toByteArray();
  2495.     }
  2496.    
  2497.     /**
  2498.      * Serialize to String the object <var>idGruppo</var> of type {@link org.openspcoop2.core.commons.search.IdGruppo}
  2499.      *
  2500.      * @param idGruppo Object to be serialized
  2501.      * @return Object to be serialized as String
  2502.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2503.      */
  2504.     public String toString(IdGruppo idGruppo) throws SerializerException {
  2505.         return this.objToXml(IdGruppo.class, idGruppo, false).toString();
  2506.     }
  2507.     /**
  2508.      * Serialize to String the object <var>idGruppo</var> of type {@link org.openspcoop2.core.commons.search.IdGruppo}
  2509.      *
  2510.      * @param idGruppo Object to be serialized
  2511.      * @param prettyPrint if true output the XML with indenting
  2512.      * @return Object to be serialized as String
  2513.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2514.      */
  2515.     public String toString(IdGruppo idGruppo,boolean prettyPrint) throws SerializerException {
  2516.         return this.objToXml(IdGruppo.class, idGruppo, prettyPrint).toString();
  2517.     }
  2518.    
  2519.    
  2520.    
  2521.     /*
  2522.      =================================================================================
  2523.      Object: accordo-servizio-parte-comune-gruppo
  2524.      =================================================================================
  2525.     */
  2526.    
  2527.     /**
  2528.      * Serialize to file system in <var>fileName</var> the object <var>accordoServizioParteComuneGruppo</var> of type {@link org.openspcoop2.core.commons.search.AccordoServizioParteComuneGruppo}
  2529.      *
  2530.      * @param fileName Xml file to serialize the object <var>accordoServizioParteComuneGruppo</var>
  2531.      * @param accordoServizioParteComuneGruppo Object to be serialized in xml file <var>fileName</var>
  2532.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2533.      */
  2534.     public void write(String fileName,AccordoServizioParteComuneGruppo accordoServizioParteComuneGruppo) throws SerializerException {
  2535.         this.objToXml(fileName, AccordoServizioParteComuneGruppo.class, accordoServizioParteComuneGruppo, false);
  2536.     }
  2537.     /**
  2538.      * Serialize to file system in <var>fileName</var> the object <var>accordoServizioParteComuneGruppo</var> of type {@link org.openspcoop2.core.commons.search.AccordoServizioParteComuneGruppo}
  2539.      *
  2540.      * @param fileName Xml file to serialize the object <var>accordoServizioParteComuneGruppo</var>
  2541.      * @param accordoServizioParteComuneGruppo Object to be serialized in xml file <var>fileName</var>
  2542.      * @param prettyPrint if true output the XML with indenting
  2543.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2544.      */
  2545.     public void write(String fileName,AccordoServizioParteComuneGruppo accordoServizioParteComuneGruppo,boolean prettyPrint) throws SerializerException {
  2546.         this.objToXml(fileName, AccordoServizioParteComuneGruppo.class, accordoServizioParteComuneGruppo, prettyPrint);
  2547.     }
  2548.    
  2549.     /**
  2550.      * Serialize to file system in <var>file</var> the object <var>accordoServizioParteComuneGruppo</var> of type {@link org.openspcoop2.core.commons.search.AccordoServizioParteComuneGruppo}
  2551.      *
  2552.      * @param file Xml file to serialize the object <var>accordoServizioParteComuneGruppo</var>
  2553.      * @param accordoServizioParteComuneGruppo Object to be serialized in xml file <var>fileName</var>
  2554.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2555.      */
  2556.     public void write(File file,AccordoServizioParteComuneGruppo accordoServizioParteComuneGruppo) throws SerializerException {
  2557.         this.objToXml(file, AccordoServizioParteComuneGruppo.class, accordoServizioParteComuneGruppo, false);
  2558.     }
  2559.     /**
  2560.      * Serialize to file system in <var>file</var> the object <var>accordoServizioParteComuneGruppo</var> of type {@link org.openspcoop2.core.commons.search.AccordoServizioParteComuneGruppo}
  2561.      *
  2562.      * @param file Xml file to serialize the object <var>accordoServizioParteComuneGruppo</var>
  2563.      * @param accordoServizioParteComuneGruppo Object to be serialized in xml file <var>fileName</var>
  2564.      * @param prettyPrint if true output the XML with indenting
  2565.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2566.      */
  2567.     public void write(File file,AccordoServizioParteComuneGruppo accordoServizioParteComuneGruppo,boolean prettyPrint) throws SerializerException {
  2568.         this.objToXml(file, AccordoServizioParteComuneGruppo.class, accordoServizioParteComuneGruppo, prettyPrint);
  2569.     }
  2570.    
  2571.     /**
  2572.      * Serialize to output stream <var>out</var> the object <var>accordoServizioParteComuneGruppo</var> of type {@link org.openspcoop2.core.commons.search.AccordoServizioParteComuneGruppo}
  2573.      *
  2574.      * @param out OutputStream to serialize the object <var>accordoServizioParteComuneGruppo</var>
  2575.      * @param accordoServizioParteComuneGruppo Object to be serialized in xml file <var>fileName</var>
  2576.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2577.      */
  2578.     public void write(OutputStream out,AccordoServizioParteComuneGruppo accordoServizioParteComuneGruppo) throws SerializerException {
  2579.         this.objToXml(out, AccordoServizioParteComuneGruppo.class, accordoServizioParteComuneGruppo, false);
  2580.     }
  2581.     /**
  2582.      * Serialize to output stream <var>out</var> the object <var>accordoServizioParteComuneGruppo</var> of type {@link org.openspcoop2.core.commons.search.AccordoServizioParteComuneGruppo}
  2583.      *
  2584.      * @param out OutputStream to serialize the object <var>accordoServizioParteComuneGruppo</var>
  2585.      * @param accordoServizioParteComuneGruppo Object to be serialized in xml file <var>fileName</var>
  2586.      * @param prettyPrint if true output the XML with indenting
  2587.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2588.      */
  2589.     public void write(OutputStream out,AccordoServizioParteComuneGruppo accordoServizioParteComuneGruppo,boolean prettyPrint) throws SerializerException {
  2590.         this.objToXml(out, AccordoServizioParteComuneGruppo.class, accordoServizioParteComuneGruppo, prettyPrint);
  2591.     }
  2592.            
  2593.     /**
  2594.      * Serialize to byte array the object <var>accordoServizioParteComuneGruppo</var> of type {@link org.openspcoop2.core.commons.search.AccordoServizioParteComuneGruppo}
  2595.      *
  2596.      * @param accordoServizioParteComuneGruppo Object to be serialized
  2597.      * @return Object to be serialized in byte array
  2598.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2599.      */
  2600.     public byte[] toByteArray(AccordoServizioParteComuneGruppo accordoServizioParteComuneGruppo) throws SerializerException {
  2601.         return this.objToXml(AccordoServizioParteComuneGruppo.class, accordoServizioParteComuneGruppo, false).toByteArray();
  2602.     }
  2603.     /**
  2604.      * Serialize to byte array the object <var>accordoServizioParteComuneGruppo</var> of type {@link org.openspcoop2.core.commons.search.AccordoServizioParteComuneGruppo}
  2605.      *
  2606.      * @param accordoServizioParteComuneGruppo Object to be serialized
  2607.      * @param prettyPrint if true output the XML with indenting
  2608.      * @return Object to be serialized in byte array
  2609.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2610.      */
  2611.     public byte[] toByteArray(AccordoServizioParteComuneGruppo accordoServizioParteComuneGruppo,boolean prettyPrint) throws SerializerException {
  2612.         return this.objToXml(AccordoServizioParteComuneGruppo.class, accordoServizioParteComuneGruppo, prettyPrint).toByteArray();
  2613.     }
  2614.    
  2615.     /**
  2616.      * Serialize to String the object <var>accordoServizioParteComuneGruppo</var> of type {@link org.openspcoop2.core.commons.search.AccordoServizioParteComuneGruppo}
  2617.      *
  2618.      * @param accordoServizioParteComuneGruppo Object to be serialized
  2619.      * @return Object to be serialized as String
  2620.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2621.      */
  2622.     public String toString(AccordoServizioParteComuneGruppo accordoServizioParteComuneGruppo) throws SerializerException {
  2623.         return this.objToXml(AccordoServizioParteComuneGruppo.class, accordoServizioParteComuneGruppo, false).toString();
  2624.     }
  2625.     /**
  2626.      * Serialize to String the object <var>accordoServizioParteComuneGruppo</var> of type {@link org.openspcoop2.core.commons.search.AccordoServizioParteComuneGruppo}
  2627.      *
  2628.      * @param accordoServizioParteComuneGruppo Object to be serialized
  2629.      * @param prettyPrint if true output the XML with indenting
  2630.      * @return Object to be serialized as String
  2631.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2632.      */
  2633.     public String toString(AccordoServizioParteComuneGruppo accordoServizioParteComuneGruppo,boolean prettyPrint) throws SerializerException {
  2634.         return this.objToXml(AccordoServizioParteComuneGruppo.class, accordoServizioParteComuneGruppo, prettyPrint).toString();
  2635.     }
  2636.    
  2637.    
  2638.    
  2639.     /*
  2640.      =================================================================================
  2641.      Object: id-servizio-applicativo
  2642.      =================================================================================
  2643.     */
  2644.    
  2645.     /**
  2646.      * Serialize to file system in <var>fileName</var> the object <var>idServizioApplicativo</var> of type {@link org.openspcoop2.core.commons.search.IdServizioApplicativo}
  2647.      *
  2648.      * @param fileName Xml file to serialize the object <var>idServizioApplicativo</var>
  2649.      * @param idServizioApplicativo Object to be serialized in xml file <var>fileName</var>
  2650.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2651.      */
  2652.     public void write(String fileName,IdServizioApplicativo idServizioApplicativo) throws SerializerException {
  2653.         this.objToXml(fileName, IdServizioApplicativo.class, idServizioApplicativo, false);
  2654.     }
  2655.     /**
  2656.      * Serialize to file system in <var>fileName</var> the object <var>idServizioApplicativo</var> of type {@link org.openspcoop2.core.commons.search.IdServizioApplicativo}
  2657.      *
  2658.      * @param fileName Xml file to serialize the object <var>idServizioApplicativo</var>
  2659.      * @param idServizioApplicativo Object to be serialized in xml file <var>fileName</var>
  2660.      * @param prettyPrint if true output the XML with indenting
  2661.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2662.      */
  2663.     public void write(String fileName,IdServizioApplicativo idServizioApplicativo,boolean prettyPrint) throws SerializerException {
  2664.         this.objToXml(fileName, IdServizioApplicativo.class, idServizioApplicativo, prettyPrint);
  2665.     }
  2666.    
  2667.     /**
  2668.      * Serialize to file system in <var>file</var> the object <var>idServizioApplicativo</var> of type {@link org.openspcoop2.core.commons.search.IdServizioApplicativo}
  2669.      *
  2670.      * @param file Xml file to serialize the object <var>idServizioApplicativo</var>
  2671.      * @param idServizioApplicativo Object to be serialized in xml file <var>fileName</var>
  2672.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2673.      */
  2674.     public void write(File file,IdServizioApplicativo idServizioApplicativo) throws SerializerException {
  2675.         this.objToXml(file, IdServizioApplicativo.class, idServizioApplicativo, false);
  2676.     }
  2677.     /**
  2678.      * Serialize to file system in <var>file</var> the object <var>idServizioApplicativo</var> of type {@link org.openspcoop2.core.commons.search.IdServizioApplicativo}
  2679.      *
  2680.      * @param file Xml file to serialize the object <var>idServizioApplicativo</var>
  2681.      * @param idServizioApplicativo Object to be serialized in xml file <var>fileName</var>
  2682.      * @param prettyPrint if true output the XML with indenting
  2683.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2684.      */
  2685.     public void write(File file,IdServizioApplicativo idServizioApplicativo,boolean prettyPrint) throws SerializerException {
  2686.         this.objToXml(file, IdServizioApplicativo.class, idServizioApplicativo, prettyPrint);
  2687.     }
  2688.    
  2689.     /**
  2690.      * Serialize to output stream <var>out</var> the object <var>idServizioApplicativo</var> of type {@link org.openspcoop2.core.commons.search.IdServizioApplicativo}
  2691.      *
  2692.      * @param out OutputStream to serialize the object <var>idServizioApplicativo</var>
  2693.      * @param idServizioApplicativo Object to be serialized in xml file <var>fileName</var>
  2694.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2695.      */
  2696.     public void write(OutputStream out,IdServizioApplicativo idServizioApplicativo) throws SerializerException {
  2697.         this.objToXml(out, IdServizioApplicativo.class, idServizioApplicativo, false);
  2698.     }
  2699.     /**
  2700.      * Serialize to output stream <var>out</var> the object <var>idServizioApplicativo</var> of type {@link org.openspcoop2.core.commons.search.IdServizioApplicativo}
  2701.      *
  2702.      * @param out OutputStream to serialize the object <var>idServizioApplicativo</var>
  2703.      * @param idServizioApplicativo Object to be serialized in xml file <var>fileName</var>
  2704.      * @param prettyPrint if true output the XML with indenting
  2705.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2706.      */
  2707.     public void write(OutputStream out,IdServizioApplicativo idServizioApplicativo,boolean prettyPrint) throws SerializerException {
  2708.         this.objToXml(out, IdServizioApplicativo.class, idServizioApplicativo, prettyPrint);
  2709.     }
  2710.            
  2711.     /**
  2712.      * Serialize to byte array the object <var>idServizioApplicativo</var> of type {@link org.openspcoop2.core.commons.search.IdServizioApplicativo}
  2713.      *
  2714.      * @param idServizioApplicativo Object to be serialized
  2715.      * @return Object to be serialized in byte array
  2716.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2717.      */
  2718.     public byte[] toByteArray(IdServizioApplicativo idServizioApplicativo) throws SerializerException {
  2719.         return this.objToXml(IdServizioApplicativo.class, idServizioApplicativo, false).toByteArray();
  2720.     }
  2721.     /**
  2722.      * Serialize to byte array the object <var>idServizioApplicativo</var> of type {@link org.openspcoop2.core.commons.search.IdServizioApplicativo}
  2723.      *
  2724.      * @param idServizioApplicativo Object to be serialized
  2725.      * @param prettyPrint if true output the XML with indenting
  2726.      * @return Object to be serialized in byte array
  2727.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2728.      */
  2729.     public byte[] toByteArray(IdServizioApplicativo idServizioApplicativo,boolean prettyPrint) throws SerializerException {
  2730.         return this.objToXml(IdServizioApplicativo.class, idServizioApplicativo, prettyPrint).toByteArray();
  2731.     }
  2732.    
  2733.     /**
  2734.      * Serialize to String the object <var>idServizioApplicativo</var> of type {@link org.openspcoop2.core.commons.search.IdServizioApplicativo}
  2735.      *
  2736.      * @param idServizioApplicativo Object to be serialized
  2737.      * @return Object to be serialized as String
  2738.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2739.      */
  2740.     public String toString(IdServizioApplicativo idServizioApplicativo) throws SerializerException {
  2741.         return this.objToXml(IdServizioApplicativo.class, idServizioApplicativo, false).toString();
  2742.     }
  2743.     /**
  2744.      * Serialize to String the object <var>idServizioApplicativo</var> of type {@link org.openspcoop2.core.commons.search.IdServizioApplicativo}
  2745.      *
  2746.      * @param idServizioApplicativo Object to be serialized
  2747.      * @param prettyPrint if true output the XML with indenting
  2748.      * @return Object to be serialized as String
  2749.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2750.      */
  2751.     public String toString(IdServizioApplicativo idServizioApplicativo,boolean prettyPrint) throws SerializerException {
  2752.         return this.objToXml(IdServizioApplicativo.class, idServizioApplicativo, prettyPrint).toString();
  2753.     }
  2754.    
  2755.    
  2756.    
  2757.     /*
  2758.      =================================================================================
  2759.      Object: port-type
  2760.      =================================================================================
  2761.     */
  2762.    
  2763.     /**
  2764.      * Serialize to file system in <var>fileName</var> the object <var>portType</var> of type {@link org.openspcoop2.core.commons.search.PortType}
  2765.      *
  2766.      * @param fileName Xml file to serialize the object <var>portType</var>
  2767.      * @param portType Object to be serialized in xml file <var>fileName</var>
  2768.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2769.      */
  2770.     public void write(String fileName,PortType portType) throws SerializerException {
  2771.         this.objToXml(fileName, PortType.class, portType, false);
  2772.     }
  2773.     /**
  2774.      * Serialize to file system in <var>fileName</var> the object <var>portType</var> of type {@link org.openspcoop2.core.commons.search.PortType}
  2775.      *
  2776.      * @param fileName Xml file to serialize the object <var>portType</var>
  2777.      * @param portType Object to be serialized in xml file <var>fileName</var>
  2778.      * @param prettyPrint if true output the XML with indenting
  2779.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2780.      */
  2781.     public void write(String fileName,PortType portType,boolean prettyPrint) throws SerializerException {
  2782.         this.objToXml(fileName, PortType.class, portType, prettyPrint);
  2783.     }
  2784.    
  2785.     /**
  2786.      * Serialize to file system in <var>file</var> the object <var>portType</var> of type {@link org.openspcoop2.core.commons.search.PortType}
  2787.      *
  2788.      * @param file Xml file to serialize the object <var>portType</var>
  2789.      * @param portType Object to be serialized in xml file <var>fileName</var>
  2790.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2791.      */
  2792.     public void write(File file,PortType portType) throws SerializerException {
  2793.         this.objToXml(file, PortType.class, portType, false);
  2794.     }
  2795.     /**
  2796.      * Serialize to file system in <var>file</var> the object <var>portType</var> of type {@link org.openspcoop2.core.commons.search.PortType}
  2797.      *
  2798.      * @param file Xml file to serialize the object <var>portType</var>
  2799.      * @param portType Object to be serialized in xml file <var>fileName</var>
  2800.      * @param prettyPrint if true output the XML with indenting
  2801.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2802.      */
  2803.     public void write(File file,PortType portType,boolean prettyPrint) throws SerializerException {
  2804.         this.objToXml(file, PortType.class, portType, prettyPrint);
  2805.     }
  2806.    
  2807.     /**
  2808.      * Serialize to output stream <var>out</var> the object <var>portType</var> of type {@link org.openspcoop2.core.commons.search.PortType}
  2809.      *
  2810.      * @param out OutputStream to serialize the object <var>portType</var>
  2811.      * @param portType Object to be serialized in xml file <var>fileName</var>
  2812.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2813.      */
  2814.     public void write(OutputStream out,PortType portType) throws SerializerException {
  2815.         this.objToXml(out, PortType.class, portType, false);
  2816.     }
  2817.     /**
  2818.      * Serialize to output stream <var>out</var> the object <var>portType</var> of type {@link org.openspcoop2.core.commons.search.PortType}
  2819.      *
  2820.      * @param out OutputStream to serialize the object <var>portType</var>
  2821.      * @param portType Object to be serialized in xml file <var>fileName</var>
  2822.      * @param prettyPrint if true output the XML with indenting
  2823.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2824.      */
  2825.     public void write(OutputStream out,PortType portType,boolean prettyPrint) throws SerializerException {
  2826.         this.objToXml(out, PortType.class, portType, prettyPrint);
  2827.     }
  2828.            
  2829.     /**
  2830.      * Serialize to byte array the object <var>portType</var> of type {@link org.openspcoop2.core.commons.search.PortType}
  2831.      *
  2832.      * @param portType Object to be serialized
  2833.      * @return Object to be serialized in byte array
  2834.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2835.      */
  2836.     public byte[] toByteArray(PortType portType) throws SerializerException {
  2837.         return this.objToXml(PortType.class, portType, false).toByteArray();
  2838.     }
  2839.     /**
  2840.      * Serialize to byte array the object <var>portType</var> of type {@link org.openspcoop2.core.commons.search.PortType}
  2841.      *
  2842.      * @param portType Object to be serialized
  2843.      * @param prettyPrint if true output the XML with indenting
  2844.      * @return Object to be serialized in byte array
  2845.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2846.      */
  2847.     public byte[] toByteArray(PortType portType,boolean prettyPrint) throws SerializerException {
  2848.         return this.objToXml(PortType.class, portType, prettyPrint).toByteArray();
  2849.     }
  2850.    
  2851.     /**
  2852.      * Serialize to String the object <var>portType</var> of type {@link org.openspcoop2.core.commons.search.PortType}
  2853.      *
  2854.      * @param portType Object to be serialized
  2855.      * @return Object to be serialized as String
  2856.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2857.      */
  2858.     public String toString(PortType portType) throws SerializerException {
  2859.         return this.objToXml(PortType.class, portType, false).toString();
  2860.     }
  2861.     /**
  2862.      * Serialize to String the object <var>portType</var> of type {@link org.openspcoop2.core.commons.search.PortType}
  2863.      *
  2864.      * @param portType Object to be serialized
  2865.      * @param prettyPrint if true output the XML with indenting
  2866.      * @return Object to be serialized as String
  2867.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2868.      */
  2869.     public String toString(PortType portType,boolean prettyPrint) throws SerializerException {
  2870.         return this.objToXml(PortType.class, portType, prettyPrint).toString();
  2871.     }
  2872.    
  2873.    
  2874.    
  2875.     /*
  2876.      =================================================================================
  2877.      Object: id-porta-delegata
  2878.      =================================================================================
  2879.     */
  2880.    
  2881.     /**
  2882.      * Serialize to file system in <var>fileName</var> the object <var>idPortaDelegata</var> of type {@link org.openspcoop2.core.commons.search.IdPortaDelegata}
  2883.      *
  2884.      * @param fileName Xml file to serialize the object <var>idPortaDelegata</var>
  2885.      * @param idPortaDelegata Object to be serialized in xml file <var>fileName</var>
  2886.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2887.      */
  2888.     public void write(String fileName,IdPortaDelegata idPortaDelegata) throws SerializerException {
  2889.         this.objToXml(fileName, IdPortaDelegata.class, idPortaDelegata, false);
  2890.     }
  2891.     /**
  2892.      * Serialize to file system in <var>fileName</var> the object <var>idPortaDelegata</var> of type {@link org.openspcoop2.core.commons.search.IdPortaDelegata}
  2893.      *
  2894.      * @param fileName Xml file to serialize the object <var>idPortaDelegata</var>
  2895.      * @param idPortaDelegata Object to be serialized in xml file <var>fileName</var>
  2896.      * @param prettyPrint if true output the XML with indenting
  2897.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2898.      */
  2899.     public void write(String fileName,IdPortaDelegata idPortaDelegata,boolean prettyPrint) throws SerializerException {
  2900.         this.objToXml(fileName, IdPortaDelegata.class, idPortaDelegata, prettyPrint);
  2901.     }
  2902.    
  2903.     /**
  2904.      * Serialize to file system in <var>file</var> the object <var>idPortaDelegata</var> of type {@link org.openspcoop2.core.commons.search.IdPortaDelegata}
  2905.      *
  2906.      * @param file Xml file to serialize the object <var>idPortaDelegata</var>
  2907.      * @param idPortaDelegata Object to be serialized in xml file <var>fileName</var>
  2908.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2909.      */
  2910.     public void write(File file,IdPortaDelegata idPortaDelegata) throws SerializerException {
  2911.         this.objToXml(file, IdPortaDelegata.class, idPortaDelegata, false);
  2912.     }
  2913.     /**
  2914.      * Serialize to file system in <var>file</var> the object <var>idPortaDelegata</var> of type {@link org.openspcoop2.core.commons.search.IdPortaDelegata}
  2915.      *
  2916.      * @param file Xml file to serialize the object <var>idPortaDelegata</var>
  2917.      * @param idPortaDelegata Object to be serialized in xml file <var>fileName</var>
  2918.      * @param prettyPrint if true output the XML with indenting
  2919.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2920.      */
  2921.     public void write(File file,IdPortaDelegata idPortaDelegata,boolean prettyPrint) throws SerializerException {
  2922.         this.objToXml(file, IdPortaDelegata.class, idPortaDelegata, prettyPrint);
  2923.     }
  2924.    
  2925.     /**
  2926.      * Serialize to output stream <var>out</var> the object <var>idPortaDelegata</var> of type {@link org.openspcoop2.core.commons.search.IdPortaDelegata}
  2927.      *
  2928.      * @param out OutputStream to serialize the object <var>idPortaDelegata</var>
  2929.      * @param idPortaDelegata Object to be serialized in xml file <var>fileName</var>
  2930.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2931.      */
  2932.     public void write(OutputStream out,IdPortaDelegata idPortaDelegata) throws SerializerException {
  2933.         this.objToXml(out, IdPortaDelegata.class, idPortaDelegata, false);
  2934.     }
  2935.     /**
  2936.      * Serialize to output stream <var>out</var> the object <var>idPortaDelegata</var> of type {@link org.openspcoop2.core.commons.search.IdPortaDelegata}
  2937.      *
  2938.      * @param out OutputStream to serialize the object <var>idPortaDelegata</var>
  2939.      * @param idPortaDelegata Object to be serialized in xml file <var>fileName</var>
  2940.      * @param prettyPrint if true output the XML with indenting
  2941.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2942.      */
  2943.     public void write(OutputStream out,IdPortaDelegata idPortaDelegata,boolean prettyPrint) throws SerializerException {
  2944.         this.objToXml(out, IdPortaDelegata.class, idPortaDelegata, prettyPrint);
  2945.     }
  2946.            
  2947.     /**
  2948.      * Serialize to byte array the object <var>idPortaDelegata</var> of type {@link org.openspcoop2.core.commons.search.IdPortaDelegata}
  2949.      *
  2950.      * @param idPortaDelegata Object to be serialized
  2951.      * @return Object to be serialized in byte array
  2952.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2953.      */
  2954.     public byte[] toByteArray(IdPortaDelegata idPortaDelegata) throws SerializerException {
  2955.         return this.objToXml(IdPortaDelegata.class, idPortaDelegata, false).toByteArray();
  2956.     }
  2957.     /**
  2958.      * Serialize to byte array the object <var>idPortaDelegata</var> of type {@link org.openspcoop2.core.commons.search.IdPortaDelegata}
  2959.      *
  2960.      * @param idPortaDelegata Object to be serialized
  2961.      * @param prettyPrint if true output the XML with indenting
  2962.      * @return Object to be serialized in byte array
  2963.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2964.      */
  2965.     public byte[] toByteArray(IdPortaDelegata idPortaDelegata,boolean prettyPrint) throws SerializerException {
  2966.         return this.objToXml(IdPortaDelegata.class, idPortaDelegata, prettyPrint).toByteArray();
  2967.     }
  2968.    
  2969.     /**
  2970.      * Serialize to String the object <var>idPortaDelegata</var> of type {@link org.openspcoop2.core.commons.search.IdPortaDelegata}
  2971.      *
  2972.      * @param idPortaDelegata Object to be serialized
  2973.      * @return Object to be serialized as String
  2974.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2975.      */
  2976.     public String toString(IdPortaDelegata idPortaDelegata) throws SerializerException {
  2977.         return this.objToXml(IdPortaDelegata.class, idPortaDelegata, false).toString();
  2978.     }
  2979.     /**
  2980.      * Serialize to String the object <var>idPortaDelegata</var> of type {@link org.openspcoop2.core.commons.search.IdPortaDelegata}
  2981.      *
  2982.      * @param idPortaDelegata Object to be serialized
  2983.      * @param prettyPrint if true output the XML with indenting
  2984.      * @return Object to be serialized as String
  2985.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2986.      */
  2987.     public String toString(IdPortaDelegata idPortaDelegata,boolean prettyPrint) throws SerializerException {
  2988.         return this.objToXml(IdPortaDelegata.class, idPortaDelegata, prettyPrint).toString();
  2989.     }
  2990.    
  2991.    
  2992.    
  2993.     /*
  2994.      =================================================================================
  2995.      Object: id-accordo-servizio-parte-comune-gruppo
  2996.      =================================================================================
  2997.     */
  2998.    
  2999.     /**
  3000.      * Serialize to file system in <var>fileName</var> the object <var>idAccordoServizioParteComuneGruppo</var> of type {@link org.openspcoop2.core.commons.search.IdAccordoServizioParteComuneGruppo}
  3001.      *
  3002.      * @param fileName Xml file to serialize the object <var>idAccordoServizioParteComuneGruppo</var>
  3003.      * @param idAccordoServizioParteComuneGruppo Object to be serialized in xml file <var>fileName</var>
  3004.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3005.      */
  3006.     public void write(String fileName,IdAccordoServizioParteComuneGruppo idAccordoServizioParteComuneGruppo) throws SerializerException {
  3007.         this.objToXml(fileName, IdAccordoServizioParteComuneGruppo.class, idAccordoServizioParteComuneGruppo, false);
  3008.     }
  3009.     /**
  3010.      * Serialize to file system in <var>fileName</var> the object <var>idAccordoServizioParteComuneGruppo</var> of type {@link org.openspcoop2.core.commons.search.IdAccordoServizioParteComuneGruppo}
  3011.      *
  3012.      * @param fileName Xml file to serialize the object <var>idAccordoServizioParteComuneGruppo</var>
  3013.      * @param idAccordoServizioParteComuneGruppo Object to be serialized in xml file <var>fileName</var>
  3014.      * @param prettyPrint if true output the XML with indenting
  3015.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3016.      */
  3017.     public void write(String fileName,IdAccordoServizioParteComuneGruppo idAccordoServizioParteComuneGruppo,boolean prettyPrint) throws SerializerException {
  3018.         this.objToXml(fileName, IdAccordoServizioParteComuneGruppo.class, idAccordoServizioParteComuneGruppo, prettyPrint);
  3019.     }
  3020.    
  3021.     /**
  3022.      * Serialize to file system in <var>file</var> the object <var>idAccordoServizioParteComuneGruppo</var> of type {@link org.openspcoop2.core.commons.search.IdAccordoServizioParteComuneGruppo}
  3023.      *
  3024.      * @param file Xml file to serialize the object <var>idAccordoServizioParteComuneGruppo</var>
  3025.      * @param idAccordoServizioParteComuneGruppo Object to be serialized in xml file <var>fileName</var>
  3026.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3027.      */
  3028.     public void write(File file,IdAccordoServizioParteComuneGruppo idAccordoServizioParteComuneGruppo) throws SerializerException {
  3029.         this.objToXml(file, IdAccordoServizioParteComuneGruppo.class, idAccordoServizioParteComuneGruppo, false);
  3030.     }
  3031.     /**
  3032.      * Serialize to file system in <var>file</var> the object <var>idAccordoServizioParteComuneGruppo</var> of type {@link org.openspcoop2.core.commons.search.IdAccordoServizioParteComuneGruppo}
  3033.      *
  3034.      * @param file Xml file to serialize the object <var>idAccordoServizioParteComuneGruppo</var>
  3035.      * @param idAccordoServizioParteComuneGruppo Object to be serialized in xml file <var>fileName</var>
  3036.      * @param prettyPrint if true output the XML with indenting
  3037.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3038.      */
  3039.     public void write(File file,IdAccordoServizioParteComuneGruppo idAccordoServizioParteComuneGruppo,boolean prettyPrint) throws SerializerException {
  3040.         this.objToXml(file, IdAccordoServizioParteComuneGruppo.class, idAccordoServizioParteComuneGruppo, prettyPrint);
  3041.     }
  3042.    
  3043.     /**
  3044.      * Serialize to output stream <var>out</var> the object <var>idAccordoServizioParteComuneGruppo</var> of type {@link org.openspcoop2.core.commons.search.IdAccordoServizioParteComuneGruppo}
  3045.      *
  3046.      * @param out OutputStream to serialize the object <var>idAccordoServizioParteComuneGruppo</var>
  3047.      * @param idAccordoServizioParteComuneGruppo Object to be serialized in xml file <var>fileName</var>
  3048.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3049.      */
  3050.     public void write(OutputStream out,IdAccordoServizioParteComuneGruppo idAccordoServizioParteComuneGruppo) throws SerializerException {
  3051.         this.objToXml(out, IdAccordoServizioParteComuneGruppo.class, idAccordoServizioParteComuneGruppo, false);
  3052.     }
  3053.     /**
  3054.      * Serialize to output stream <var>out</var> the object <var>idAccordoServizioParteComuneGruppo</var> of type {@link org.openspcoop2.core.commons.search.IdAccordoServizioParteComuneGruppo}
  3055.      *
  3056.      * @param out OutputStream to serialize the object <var>idAccordoServizioParteComuneGruppo</var>
  3057.      * @param idAccordoServizioParteComuneGruppo Object to be serialized in xml file <var>fileName</var>
  3058.      * @param prettyPrint if true output the XML with indenting
  3059.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3060.      */
  3061.     public void write(OutputStream out,IdAccordoServizioParteComuneGruppo idAccordoServizioParteComuneGruppo,boolean prettyPrint) throws SerializerException {
  3062.         this.objToXml(out, IdAccordoServizioParteComuneGruppo.class, idAccordoServizioParteComuneGruppo, prettyPrint);
  3063.     }
  3064.            
  3065.     /**
  3066.      * Serialize to byte array the object <var>idAccordoServizioParteComuneGruppo</var> of type {@link org.openspcoop2.core.commons.search.IdAccordoServizioParteComuneGruppo}
  3067.      *
  3068.      * @param idAccordoServizioParteComuneGruppo Object to be serialized
  3069.      * @return Object to be serialized in byte array
  3070.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3071.      */
  3072.     public byte[] toByteArray(IdAccordoServizioParteComuneGruppo idAccordoServizioParteComuneGruppo) throws SerializerException {
  3073.         return this.objToXml(IdAccordoServizioParteComuneGruppo.class, idAccordoServizioParteComuneGruppo, false).toByteArray();
  3074.     }
  3075.     /**
  3076.      * Serialize to byte array the object <var>idAccordoServizioParteComuneGruppo</var> of type {@link org.openspcoop2.core.commons.search.IdAccordoServizioParteComuneGruppo}
  3077.      *
  3078.      * @param idAccordoServizioParteComuneGruppo Object to be serialized
  3079.      * @param prettyPrint if true output the XML with indenting
  3080.      * @return Object to be serialized in byte array
  3081.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3082.      */
  3083.     public byte[] toByteArray(IdAccordoServizioParteComuneGruppo idAccordoServizioParteComuneGruppo,boolean prettyPrint) throws SerializerException {
  3084.         return this.objToXml(IdAccordoServizioParteComuneGruppo.class, idAccordoServizioParteComuneGruppo, prettyPrint).toByteArray();
  3085.     }
  3086.    
  3087.     /**
  3088.      * Serialize to String the object <var>idAccordoServizioParteComuneGruppo</var> of type {@link org.openspcoop2.core.commons.search.IdAccordoServizioParteComuneGruppo}
  3089.      *
  3090.      * @param idAccordoServizioParteComuneGruppo Object to be serialized
  3091.      * @return Object to be serialized as String
  3092.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3093.      */
  3094.     public String toString(IdAccordoServizioParteComuneGruppo idAccordoServizioParteComuneGruppo) throws SerializerException {
  3095.         return this.objToXml(IdAccordoServizioParteComuneGruppo.class, idAccordoServizioParteComuneGruppo, false).toString();
  3096.     }
  3097.     /**
  3098.      * Serialize to String the object <var>idAccordoServizioParteComuneGruppo</var> of type {@link org.openspcoop2.core.commons.search.IdAccordoServizioParteComuneGruppo}
  3099.      *
  3100.      * @param idAccordoServizioParteComuneGruppo Object to be serialized
  3101.      * @param prettyPrint if true output the XML with indenting
  3102.      * @return Object to be serialized as String
  3103.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3104.      */
  3105.     public String toString(IdAccordoServizioParteComuneGruppo idAccordoServizioParteComuneGruppo,boolean prettyPrint) throws SerializerException {
  3106.         return this.objToXml(IdAccordoServizioParteComuneGruppo.class, idAccordoServizioParteComuneGruppo, prettyPrint).toString();
  3107.     }
  3108.    
  3109.    
  3110.    
  3111.     /*
  3112.      =================================================================================
  3113.      Object: porta-delegata-azione
  3114.      =================================================================================
  3115.     */
  3116.    
  3117.     /**
  3118.      * Serialize to file system in <var>fileName</var> the object <var>portaDelegataAzione</var> of type {@link org.openspcoop2.core.commons.search.PortaDelegataAzione}
  3119.      *
  3120.      * @param fileName Xml file to serialize the object <var>portaDelegataAzione</var>
  3121.      * @param portaDelegataAzione Object to be serialized in xml file <var>fileName</var>
  3122.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3123.      */
  3124.     public void write(String fileName,PortaDelegataAzione portaDelegataAzione) throws SerializerException {
  3125.         this.objToXml(fileName, PortaDelegataAzione.class, portaDelegataAzione, false);
  3126.     }
  3127.     /**
  3128.      * Serialize to file system in <var>fileName</var> the object <var>portaDelegataAzione</var> of type {@link org.openspcoop2.core.commons.search.PortaDelegataAzione}
  3129.      *
  3130.      * @param fileName Xml file to serialize the object <var>portaDelegataAzione</var>
  3131.      * @param portaDelegataAzione Object to be serialized in xml file <var>fileName</var>
  3132.      * @param prettyPrint if true output the XML with indenting
  3133.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3134.      */
  3135.     public void write(String fileName,PortaDelegataAzione portaDelegataAzione,boolean prettyPrint) throws SerializerException {
  3136.         this.objToXml(fileName, PortaDelegataAzione.class, portaDelegataAzione, prettyPrint);
  3137.     }
  3138.    
  3139.     /**
  3140.      * Serialize to file system in <var>file</var> the object <var>portaDelegataAzione</var> of type {@link org.openspcoop2.core.commons.search.PortaDelegataAzione}
  3141.      *
  3142.      * @param file Xml file to serialize the object <var>portaDelegataAzione</var>
  3143.      * @param portaDelegataAzione Object to be serialized in xml file <var>fileName</var>
  3144.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3145.      */
  3146.     public void write(File file,PortaDelegataAzione portaDelegataAzione) throws SerializerException {
  3147.         this.objToXml(file, PortaDelegataAzione.class, portaDelegataAzione, false);
  3148.     }
  3149.     /**
  3150.      * Serialize to file system in <var>file</var> the object <var>portaDelegataAzione</var> of type {@link org.openspcoop2.core.commons.search.PortaDelegataAzione}
  3151.      *
  3152.      * @param file Xml file to serialize the object <var>portaDelegataAzione</var>
  3153.      * @param portaDelegataAzione Object to be serialized in xml file <var>fileName</var>
  3154.      * @param prettyPrint if true output the XML with indenting
  3155.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3156.      */
  3157.     public void write(File file,PortaDelegataAzione portaDelegataAzione,boolean prettyPrint) throws SerializerException {
  3158.         this.objToXml(file, PortaDelegataAzione.class, portaDelegataAzione, prettyPrint);
  3159.     }
  3160.    
  3161.     /**
  3162.      * Serialize to output stream <var>out</var> the object <var>portaDelegataAzione</var> of type {@link org.openspcoop2.core.commons.search.PortaDelegataAzione}
  3163.      *
  3164.      * @param out OutputStream to serialize the object <var>portaDelegataAzione</var>
  3165.      * @param portaDelegataAzione Object to be serialized in xml file <var>fileName</var>
  3166.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3167.      */
  3168.     public void write(OutputStream out,PortaDelegataAzione portaDelegataAzione) throws SerializerException {
  3169.         this.objToXml(out, PortaDelegataAzione.class, portaDelegataAzione, false);
  3170.     }
  3171.     /**
  3172.      * Serialize to output stream <var>out</var> the object <var>portaDelegataAzione</var> of type {@link org.openspcoop2.core.commons.search.PortaDelegataAzione}
  3173.      *
  3174.      * @param out OutputStream to serialize the object <var>portaDelegataAzione</var>
  3175.      * @param portaDelegataAzione Object to be serialized in xml file <var>fileName</var>
  3176.      * @param prettyPrint if true output the XML with indenting
  3177.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3178.      */
  3179.     public void write(OutputStream out,PortaDelegataAzione portaDelegataAzione,boolean prettyPrint) throws SerializerException {
  3180.         this.objToXml(out, PortaDelegataAzione.class, portaDelegataAzione, prettyPrint);
  3181.     }
  3182.            
  3183.     /**
  3184.      * Serialize to byte array the object <var>portaDelegataAzione</var> of type {@link org.openspcoop2.core.commons.search.PortaDelegataAzione}
  3185.      *
  3186.      * @param portaDelegataAzione Object to be serialized
  3187.      * @return Object to be serialized in byte array
  3188.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3189.      */
  3190.     public byte[] toByteArray(PortaDelegataAzione portaDelegataAzione) throws SerializerException {
  3191.         return this.objToXml(PortaDelegataAzione.class, portaDelegataAzione, false).toByteArray();
  3192.     }
  3193.     /**
  3194.      * Serialize to byte array the object <var>portaDelegataAzione</var> of type {@link org.openspcoop2.core.commons.search.PortaDelegataAzione}
  3195.      *
  3196.      * @param portaDelegataAzione Object to be serialized
  3197.      * @param prettyPrint if true output the XML with indenting
  3198.      * @return Object to be serialized in byte array
  3199.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3200.      */
  3201.     public byte[] toByteArray(PortaDelegataAzione portaDelegataAzione,boolean prettyPrint) throws SerializerException {
  3202.         return this.objToXml(PortaDelegataAzione.class, portaDelegataAzione, prettyPrint).toByteArray();
  3203.     }
  3204.    
  3205.     /**
  3206.      * Serialize to String the object <var>portaDelegataAzione</var> of type {@link org.openspcoop2.core.commons.search.PortaDelegataAzione}
  3207.      *
  3208.      * @param portaDelegataAzione Object to be serialized
  3209.      * @return Object to be serialized as String
  3210.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3211.      */
  3212.     public String toString(PortaDelegataAzione portaDelegataAzione) throws SerializerException {
  3213.         return this.objToXml(PortaDelegataAzione.class, portaDelegataAzione, false).toString();
  3214.     }
  3215.     /**
  3216.      * Serialize to String the object <var>portaDelegataAzione</var> of type {@link org.openspcoop2.core.commons.search.PortaDelegataAzione}
  3217.      *
  3218.      * @param portaDelegataAzione Object to be serialized
  3219.      * @param prettyPrint if true output the XML with indenting
  3220.      * @return Object to be serialized as String
  3221.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3222.      */
  3223.     public String toString(PortaDelegataAzione portaDelegataAzione,boolean prettyPrint) throws SerializerException {
  3224.         return this.objToXml(PortaDelegataAzione.class, portaDelegataAzione, prettyPrint).toString();
  3225.     }
  3226.    
  3227.    
  3228.    
  3229.     /*
  3230.      =================================================================================
  3231.      Object: id-fruitore
  3232.      =================================================================================
  3233.     */
  3234.    
  3235.     /**
  3236.      * Serialize to file system in <var>fileName</var> the object <var>idFruitore</var> of type {@link org.openspcoop2.core.commons.search.IdFruitore}
  3237.      *
  3238.      * @param fileName Xml file to serialize the object <var>idFruitore</var>
  3239.      * @param idFruitore Object to be serialized in xml file <var>fileName</var>
  3240.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3241.      */
  3242.     public void write(String fileName,IdFruitore idFruitore) throws SerializerException {
  3243.         this.objToXml(fileName, IdFruitore.class, idFruitore, false);
  3244.     }
  3245.     /**
  3246.      * Serialize to file system in <var>fileName</var> the object <var>idFruitore</var> of type {@link org.openspcoop2.core.commons.search.IdFruitore}
  3247.      *
  3248.      * @param fileName Xml file to serialize the object <var>idFruitore</var>
  3249.      * @param idFruitore Object to be serialized in xml file <var>fileName</var>
  3250.      * @param prettyPrint if true output the XML with indenting
  3251.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3252.      */
  3253.     public void write(String fileName,IdFruitore idFruitore,boolean prettyPrint) throws SerializerException {
  3254.         this.objToXml(fileName, IdFruitore.class, idFruitore, prettyPrint);
  3255.     }
  3256.    
  3257.     /**
  3258.      * Serialize to file system in <var>file</var> the object <var>idFruitore</var> of type {@link org.openspcoop2.core.commons.search.IdFruitore}
  3259.      *
  3260.      * @param file Xml file to serialize the object <var>idFruitore</var>
  3261.      * @param idFruitore Object to be serialized in xml file <var>fileName</var>
  3262.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3263.      */
  3264.     public void write(File file,IdFruitore idFruitore) throws SerializerException {
  3265.         this.objToXml(file, IdFruitore.class, idFruitore, false);
  3266.     }
  3267.     /**
  3268.      * Serialize to file system in <var>file</var> the object <var>idFruitore</var> of type {@link org.openspcoop2.core.commons.search.IdFruitore}
  3269.      *
  3270.      * @param file Xml file to serialize the object <var>idFruitore</var>
  3271.      * @param idFruitore Object to be serialized in xml file <var>fileName</var>
  3272.      * @param prettyPrint if true output the XML with indenting
  3273.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3274.      */
  3275.     public void write(File file,IdFruitore idFruitore,boolean prettyPrint) throws SerializerException {
  3276.         this.objToXml(file, IdFruitore.class, idFruitore, prettyPrint);
  3277.     }
  3278.    
  3279.     /**
  3280.      * Serialize to output stream <var>out</var> the object <var>idFruitore</var> of type {@link org.openspcoop2.core.commons.search.IdFruitore}
  3281.      *
  3282.      * @param out OutputStream to serialize the object <var>idFruitore</var>
  3283.      * @param idFruitore Object to be serialized in xml file <var>fileName</var>
  3284.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3285.      */
  3286.     public void write(OutputStream out,IdFruitore idFruitore) throws SerializerException {
  3287.         this.objToXml(out, IdFruitore.class, idFruitore, false);
  3288.     }
  3289.     /**
  3290.      * Serialize to output stream <var>out</var> the object <var>idFruitore</var> of type {@link org.openspcoop2.core.commons.search.IdFruitore}
  3291.      *
  3292.      * @param out OutputStream to serialize the object <var>idFruitore</var>
  3293.      * @param idFruitore Object to be serialized in xml file <var>fileName</var>
  3294.      * @param prettyPrint if true output the XML with indenting
  3295.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3296.      */
  3297.     public void write(OutputStream out,IdFruitore idFruitore,boolean prettyPrint) throws SerializerException {
  3298.         this.objToXml(out, IdFruitore.class, idFruitore, prettyPrint);
  3299.     }
  3300.            
  3301.     /**
  3302.      * Serialize to byte array the object <var>idFruitore</var> of type {@link org.openspcoop2.core.commons.search.IdFruitore}
  3303.      *
  3304.      * @param idFruitore Object to be serialized
  3305.      * @return Object to be serialized in byte array
  3306.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3307.      */
  3308.     public byte[] toByteArray(IdFruitore idFruitore) throws SerializerException {
  3309.         return this.objToXml(IdFruitore.class, idFruitore, false).toByteArray();
  3310.     }
  3311.     /**
  3312.      * Serialize to byte array the object <var>idFruitore</var> of type {@link org.openspcoop2.core.commons.search.IdFruitore}
  3313.      *
  3314.      * @param idFruitore Object to be serialized
  3315.      * @param prettyPrint if true output the XML with indenting
  3316.      * @return Object to be serialized in byte array
  3317.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3318.      */
  3319.     public byte[] toByteArray(IdFruitore idFruitore,boolean prettyPrint) throws SerializerException {
  3320.         return this.objToXml(IdFruitore.class, idFruitore, prettyPrint).toByteArray();
  3321.     }
  3322.    
  3323.     /**
  3324.      * Serialize to String the object <var>idFruitore</var> of type {@link org.openspcoop2.core.commons.search.IdFruitore}
  3325.      *
  3326.      * @param idFruitore Object to be serialized
  3327.      * @return Object to be serialized as String
  3328.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3329.      */
  3330.     public String toString(IdFruitore idFruitore) throws SerializerException {
  3331.         return this.objToXml(IdFruitore.class, idFruitore, false).toString();
  3332.     }
  3333.     /**
  3334.      * Serialize to String the object <var>idFruitore</var> of type {@link org.openspcoop2.core.commons.search.IdFruitore}
  3335.      *
  3336.      * @param idFruitore Object to be serialized
  3337.      * @param prettyPrint if true output the XML with indenting
  3338.      * @return Object to be serialized as String
  3339.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3340.      */
  3341.     public String toString(IdFruitore idFruitore,boolean prettyPrint) throws SerializerException {
  3342.         return this.objToXml(IdFruitore.class, idFruitore, prettyPrint).toString();
  3343.     }
  3344.    
  3345.    
  3346.    
  3347.     /*
  3348.      =================================================================================
  3349.      Object: id-operation
  3350.      =================================================================================
  3351.     */
  3352.    
  3353.     /**
  3354.      * Serialize to file system in <var>fileName</var> the object <var>idOperation</var> of type {@link org.openspcoop2.core.commons.search.IdOperation}
  3355.      *
  3356.      * @param fileName Xml file to serialize the object <var>idOperation</var>
  3357.      * @param idOperation Object to be serialized in xml file <var>fileName</var>
  3358.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3359.      */
  3360.     public void write(String fileName,IdOperation idOperation) throws SerializerException {
  3361.         this.objToXml(fileName, IdOperation.class, idOperation, false);
  3362.     }
  3363.     /**
  3364.      * Serialize to file system in <var>fileName</var> the object <var>idOperation</var> of type {@link org.openspcoop2.core.commons.search.IdOperation}
  3365.      *
  3366.      * @param fileName Xml file to serialize the object <var>idOperation</var>
  3367.      * @param idOperation Object to be serialized in xml file <var>fileName</var>
  3368.      * @param prettyPrint if true output the XML with indenting
  3369.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3370.      */
  3371.     public void write(String fileName,IdOperation idOperation,boolean prettyPrint) throws SerializerException {
  3372.         this.objToXml(fileName, IdOperation.class, idOperation, prettyPrint);
  3373.     }
  3374.    
  3375.     /**
  3376.      * Serialize to file system in <var>file</var> the object <var>idOperation</var> of type {@link org.openspcoop2.core.commons.search.IdOperation}
  3377.      *
  3378.      * @param file Xml file to serialize the object <var>idOperation</var>
  3379.      * @param idOperation Object to be serialized in xml file <var>fileName</var>
  3380.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3381.      */
  3382.     public void write(File file,IdOperation idOperation) throws SerializerException {
  3383.         this.objToXml(file, IdOperation.class, idOperation, false);
  3384.     }
  3385.     /**
  3386.      * Serialize to file system in <var>file</var> the object <var>idOperation</var> of type {@link org.openspcoop2.core.commons.search.IdOperation}
  3387.      *
  3388.      * @param file Xml file to serialize the object <var>idOperation</var>
  3389.      * @param idOperation Object to be serialized in xml file <var>fileName</var>
  3390.      * @param prettyPrint if true output the XML with indenting
  3391.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3392.      */
  3393.     public void write(File file,IdOperation idOperation,boolean prettyPrint) throws SerializerException {
  3394.         this.objToXml(file, IdOperation.class, idOperation, prettyPrint);
  3395.     }
  3396.    
  3397.     /**
  3398.      * Serialize to output stream <var>out</var> the object <var>idOperation</var> of type {@link org.openspcoop2.core.commons.search.IdOperation}
  3399.      *
  3400.      * @param out OutputStream to serialize the object <var>idOperation</var>
  3401.      * @param idOperation Object to be serialized in xml file <var>fileName</var>
  3402.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3403.      */
  3404.     public void write(OutputStream out,IdOperation idOperation) throws SerializerException {
  3405.         this.objToXml(out, IdOperation.class, idOperation, false);
  3406.     }
  3407.     /**
  3408.      * Serialize to output stream <var>out</var> the object <var>idOperation</var> of type {@link org.openspcoop2.core.commons.search.IdOperation}
  3409.      *
  3410.      * @param out OutputStream to serialize the object <var>idOperation</var>
  3411.      * @param idOperation Object to be serialized in xml file <var>fileName</var>
  3412.      * @param prettyPrint if true output the XML with indenting
  3413.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3414.      */
  3415.     public void write(OutputStream out,IdOperation idOperation,boolean prettyPrint) throws SerializerException {
  3416.         this.objToXml(out, IdOperation.class, idOperation, prettyPrint);
  3417.     }
  3418.            
  3419.     /**
  3420.      * Serialize to byte array the object <var>idOperation</var> of type {@link org.openspcoop2.core.commons.search.IdOperation}
  3421.      *
  3422.      * @param idOperation Object to be serialized
  3423.      * @return Object to be serialized in byte array
  3424.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3425.      */
  3426.     public byte[] toByteArray(IdOperation idOperation) throws SerializerException {
  3427.         return this.objToXml(IdOperation.class, idOperation, false).toByteArray();
  3428.     }
  3429.     /**
  3430.      * Serialize to byte array the object <var>idOperation</var> of type {@link org.openspcoop2.core.commons.search.IdOperation}
  3431.      *
  3432.      * @param idOperation Object to be serialized
  3433.      * @param prettyPrint if true output the XML with indenting
  3434.      * @return Object to be serialized in byte array
  3435.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3436.      */
  3437.     public byte[] toByteArray(IdOperation idOperation,boolean prettyPrint) throws SerializerException {
  3438.         return this.objToXml(IdOperation.class, idOperation, prettyPrint).toByteArray();
  3439.     }
  3440.    
  3441.     /**
  3442.      * Serialize to String the object <var>idOperation</var> of type {@link org.openspcoop2.core.commons.search.IdOperation}
  3443.      *
  3444.      * @param idOperation Object to be serialized
  3445.      * @return Object to be serialized as String
  3446.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3447.      */
  3448.     public String toString(IdOperation idOperation) throws SerializerException {
  3449.         return this.objToXml(IdOperation.class, idOperation, false).toString();
  3450.     }
  3451.     /**
  3452.      * Serialize to String the object <var>idOperation</var> of type {@link org.openspcoop2.core.commons.search.IdOperation}
  3453.      *
  3454.      * @param idOperation Object to be serialized
  3455.      * @param prettyPrint if true output the XML with indenting
  3456.      * @return Object to be serialized as String
  3457.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3458.      */
  3459.     public String toString(IdOperation idOperation,boolean prettyPrint) throws SerializerException {
  3460.         return this.objToXml(IdOperation.class, idOperation, prettyPrint).toString();
  3461.     }
  3462.    
  3463.    
  3464.    
  3465.     /*
  3466.      =================================================================================
  3467.      Object: soggetto
  3468.      =================================================================================
  3469.     */
  3470.    
  3471.     /**
  3472.      * Serialize to file system in <var>fileName</var> the object <var>soggetto</var> of type {@link org.openspcoop2.core.commons.search.Soggetto}
  3473.      *
  3474.      * @param fileName Xml file to serialize the object <var>soggetto</var>
  3475.      * @param soggetto Object to be serialized in xml file <var>fileName</var>
  3476.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3477.      */
  3478.     public void write(String fileName,Soggetto soggetto) throws SerializerException {
  3479.         this.objToXml(fileName, Soggetto.class, soggetto, false);
  3480.     }
  3481.     /**
  3482.      * Serialize to file system in <var>fileName</var> the object <var>soggetto</var> of type {@link org.openspcoop2.core.commons.search.Soggetto}
  3483.      *
  3484.      * @param fileName Xml file to serialize the object <var>soggetto</var>
  3485.      * @param soggetto Object to be serialized in xml file <var>fileName</var>
  3486.      * @param prettyPrint if true output the XML with indenting
  3487.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3488.      */
  3489.     public void write(String fileName,Soggetto soggetto,boolean prettyPrint) throws SerializerException {
  3490.         this.objToXml(fileName, Soggetto.class, soggetto, prettyPrint);
  3491.     }
  3492.    
  3493.     /**
  3494.      * Serialize to file system in <var>file</var> the object <var>soggetto</var> of type {@link org.openspcoop2.core.commons.search.Soggetto}
  3495.      *
  3496.      * @param file Xml file to serialize the object <var>soggetto</var>
  3497.      * @param soggetto Object to be serialized in xml file <var>fileName</var>
  3498.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3499.      */
  3500.     public void write(File file,Soggetto soggetto) throws SerializerException {
  3501.         this.objToXml(file, Soggetto.class, soggetto, false);
  3502.     }
  3503.     /**
  3504.      * Serialize to file system in <var>file</var> the object <var>soggetto</var> of type {@link org.openspcoop2.core.commons.search.Soggetto}
  3505.      *
  3506.      * @param file Xml file to serialize the object <var>soggetto</var>
  3507.      * @param soggetto Object to be serialized in xml file <var>fileName</var>
  3508.      * @param prettyPrint if true output the XML with indenting
  3509.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3510.      */
  3511.     public void write(File file,Soggetto soggetto,boolean prettyPrint) throws SerializerException {
  3512.         this.objToXml(file, Soggetto.class, soggetto, prettyPrint);
  3513.     }
  3514.    
  3515.     /**
  3516.      * Serialize to output stream <var>out</var> the object <var>soggetto</var> of type {@link org.openspcoop2.core.commons.search.Soggetto}
  3517.      *
  3518.      * @param out OutputStream to serialize the object <var>soggetto</var>
  3519.      * @param soggetto Object to be serialized in xml file <var>fileName</var>
  3520.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3521.      */
  3522.     public void write(OutputStream out,Soggetto soggetto) throws SerializerException {
  3523.         this.objToXml(out, Soggetto.class, soggetto, false);
  3524.     }
  3525.     /**
  3526.      * Serialize to output stream <var>out</var> the object <var>soggetto</var> of type {@link org.openspcoop2.core.commons.search.Soggetto}
  3527.      *
  3528.      * @param out OutputStream to serialize the object <var>soggetto</var>
  3529.      * @param soggetto Object to be serialized in xml file <var>fileName</var>
  3530.      * @param prettyPrint if true output the XML with indenting
  3531.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3532.      */
  3533.     public void write(OutputStream out,Soggetto soggetto,boolean prettyPrint) throws SerializerException {
  3534.         this.objToXml(out, Soggetto.class, soggetto, prettyPrint);
  3535.     }
  3536.            
  3537.     /**
  3538.      * Serialize to byte array the object <var>soggetto</var> of type {@link org.openspcoop2.core.commons.search.Soggetto}
  3539.      *
  3540.      * @param soggetto Object to be serialized
  3541.      * @return Object to be serialized in byte array
  3542.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3543.      */
  3544.     public byte[] toByteArray(Soggetto soggetto) throws SerializerException {
  3545.         return this.objToXml(Soggetto.class, soggetto, false).toByteArray();
  3546.     }
  3547.     /**
  3548.      * Serialize to byte array the object <var>soggetto</var> of type {@link org.openspcoop2.core.commons.search.Soggetto}
  3549.      *
  3550.      * @param soggetto Object to be serialized
  3551.      * @param prettyPrint if true output the XML with indenting
  3552.      * @return Object to be serialized in byte array
  3553.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3554.      */
  3555.     public byte[] toByteArray(Soggetto soggetto,boolean prettyPrint) throws SerializerException {
  3556.         return this.objToXml(Soggetto.class, soggetto, prettyPrint).toByteArray();
  3557.     }
  3558.    
  3559.     /**
  3560.      * Serialize to String the object <var>soggetto</var> of type {@link org.openspcoop2.core.commons.search.Soggetto}
  3561.      *
  3562.      * @param soggetto Object to be serialized
  3563.      * @return Object to be serialized as String
  3564.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3565.      */
  3566.     public String toString(Soggetto soggetto) throws SerializerException {
  3567.         return this.objToXml(Soggetto.class, soggetto, false).toString();
  3568.     }
  3569.     /**
  3570.      * Serialize to String the object <var>soggetto</var> of type {@link org.openspcoop2.core.commons.search.Soggetto}
  3571.      *
  3572.      * @param soggetto Object to be serialized
  3573.      * @param prettyPrint if true output the XML with indenting
  3574.      * @return Object to be serialized as String
  3575.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3576.      */
  3577.     public String toString(Soggetto soggetto,boolean prettyPrint) throws SerializerException {
  3578.         return this.objToXml(Soggetto.class, soggetto, prettyPrint).toString();
  3579.     }
  3580.    
  3581.    
  3582.    
  3583.     /*
  3584.      =================================================================================
  3585.      Object: gruppo
  3586.      =================================================================================
  3587.     */
  3588.    
  3589.     /**
  3590.      * Serialize to file system in <var>fileName</var> the object <var>gruppo</var> of type {@link org.openspcoop2.core.commons.search.Gruppo}
  3591.      *
  3592.      * @param fileName Xml file to serialize the object <var>gruppo</var>
  3593.      * @param gruppo Object to be serialized in xml file <var>fileName</var>
  3594.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3595.      */
  3596.     public void write(String fileName,Gruppo gruppo) throws SerializerException {
  3597.         this.objToXml(fileName, Gruppo.class, gruppo, false);
  3598.     }
  3599.     /**
  3600.      * Serialize to file system in <var>fileName</var> the object <var>gruppo</var> of type {@link org.openspcoop2.core.commons.search.Gruppo}
  3601.      *
  3602.      * @param fileName Xml file to serialize the object <var>gruppo</var>
  3603.      * @param gruppo Object to be serialized in xml file <var>fileName</var>
  3604.      * @param prettyPrint if true output the XML with indenting
  3605.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3606.      */
  3607.     public void write(String fileName,Gruppo gruppo,boolean prettyPrint) throws SerializerException {
  3608.         this.objToXml(fileName, Gruppo.class, gruppo, prettyPrint);
  3609.     }
  3610.    
  3611.     /**
  3612.      * Serialize to file system in <var>file</var> the object <var>gruppo</var> of type {@link org.openspcoop2.core.commons.search.Gruppo}
  3613.      *
  3614.      * @param file Xml file to serialize the object <var>gruppo</var>
  3615.      * @param gruppo Object to be serialized in xml file <var>fileName</var>
  3616.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3617.      */
  3618.     public void write(File file,Gruppo gruppo) throws SerializerException {
  3619.         this.objToXml(file, Gruppo.class, gruppo, false);
  3620.     }
  3621.     /**
  3622.      * Serialize to file system in <var>file</var> the object <var>gruppo</var> of type {@link org.openspcoop2.core.commons.search.Gruppo}
  3623.      *
  3624.      * @param file Xml file to serialize the object <var>gruppo</var>
  3625.      * @param gruppo Object to be serialized in xml file <var>fileName</var>
  3626.      * @param prettyPrint if true output the XML with indenting
  3627.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3628.      */
  3629.     public void write(File file,Gruppo gruppo,boolean prettyPrint) throws SerializerException {
  3630.         this.objToXml(file, Gruppo.class, gruppo, prettyPrint);
  3631.     }
  3632.    
  3633.     /**
  3634.      * Serialize to output stream <var>out</var> the object <var>gruppo</var> of type {@link org.openspcoop2.core.commons.search.Gruppo}
  3635.      *
  3636.      * @param out OutputStream to serialize the object <var>gruppo</var>
  3637.      * @param gruppo Object to be serialized in xml file <var>fileName</var>
  3638.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3639.      */
  3640.     public void write(OutputStream out,Gruppo gruppo) throws SerializerException {
  3641.         this.objToXml(out, Gruppo.class, gruppo, false);
  3642.     }
  3643.     /**
  3644.      * Serialize to output stream <var>out</var> the object <var>gruppo</var> of type {@link org.openspcoop2.core.commons.search.Gruppo}
  3645.      *
  3646.      * @param out OutputStream to serialize the object <var>gruppo</var>
  3647.      * @param gruppo Object to be serialized in xml file <var>fileName</var>
  3648.      * @param prettyPrint if true output the XML with indenting
  3649.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3650.      */
  3651.     public void write(OutputStream out,Gruppo gruppo,boolean prettyPrint) throws SerializerException {
  3652.         this.objToXml(out, Gruppo.class, gruppo, prettyPrint);
  3653.     }
  3654.            
  3655.     /**
  3656.      * Serialize to byte array the object <var>gruppo</var> of type {@link org.openspcoop2.core.commons.search.Gruppo}
  3657.      *
  3658.      * @param gruppo Object to be serialized
  3659.      * @return Object to be serialized in byte array
  3660.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3661.      */
  3662.     public byte[] toByteArray(Gruppo gruppo) throws SerializerException {
  3663.         return this.objToXml(Gruppo.class, gruppo, false).toByteArray();
  3664.     }
  3665.     /**
  3666.      * Serialize to byte array the object <var>gruppo</var> of type {@link org.openspcoop2.core.commons.search.Gruppo}
  3667.      *
  3668.      * @param gruppo Object to be serialized
  3669.      * @param prettyPrint if true output the XML with indenting
  3670.      * @return Object to be serialized in byte array
  3671.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3672.      */
  3673.     public byte[] toByteArray(Gruppo gruppo,boolean prettyPrint) throws SerializerException {
  3674.         return this.objToXml(Gruppo.class, gruppo, prettyPrint).toByteArray();
  3675.     }
  3676.    
  3677.     /**
  3678.      * Serialize to String the object <var>gruppo</var> of type {@link org.openspcoop2.core.commons.search.Gruppo}
  3679.      *
  3680.      * @param gruppo Object to be serialized
  3681.      * @return Object to be serialized as String
  3682.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3683.      */
  3684.     public String toString(Gruppo gruppo) throws SerializerException {
  3685.         return this.objToXml(Gruppo.class, gruppo, false).toString();
  3686.     }
  3687.     /**
  3688.      * Serialize to String the object <var>gruppo</var> of type {@link org.openspcoop2.core.commons.search.Gruppo}
  3689.      *
  3690.      * @param gruppo Object to be serialized
  3691.      * @param prettyPrint if true output the XML with indenting
  3692.      * @return Object to be serialized as String
  3693.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3694.      */
  3695.     public String toString(Gruppo gruppo,boolean prettyPrint) throws SerializerException {
  3696.         return this.objToXml(Gruppo.class, gruppo, prettyPrint).toString();
  3697.     }
  3698.    
  3699.    
  3700.    
  3701.     /*
  3702.      =================================================================================
  3703.      Object: accordo-servizio-parte-comune
  3704.      =================================================================================
  3705.     */
  3706.    
  3707.     /**
  3708.      * Serialize to file system in <var>fileName</var> the object <var>accordoServizioParteComune</var> of type {@link org.openspcoop2.core.commons.search.AccordoServizioParteComune}
  3709.      *
  3710.      * @param fileName Xml file to serialize the object <var>accordoServizioParteComune</var>
  3711.      * @param accordoServizioParteComune Object to be serialized in xml file <var>fileName</var>
  3712.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3713.      */
  3714.     public void write(String fileName,AccordoServizioParteComune accordoServizioParteComune) throws SerializerException {
  3715.         this.objToXml(fileName, AccordoServizioParteComune.class, accordoServizioParteComune, false);
  3716.     }
  3717.     /**
  3718.      * Serialize to file system in <var>fileName</var> the object <var>accordoServizioParteComune</var> of type {@link org.openspcoop2.core.commons.search.AccordoServizioParteComune}
  3719.      *
  3720.      * @param fileName Xml file to serialize the object <var>accordoServizioParteComune</var>
  3721.      * @param accordoServizioParteComune Object to be serialized in xml file <var>fileName</var>
  3722.      * @param prettyPrint if true output the XML with indenting
  3723.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3724.      */
  3725.     public void write(String fileName,AccordoServizioParteComune accordoServizioParteComune,boolean prettyPrint) throws SerializerException {
  3726.         this.objToXml(fileName, AccordoServizioParteComune.class, accordoServizioParteComune, prettyPrint);
  3727.     }
  3728.    
  3729.     /**
  3730.      * Serialize to file system in <var>file</var> the object <var>accordoServizioParteComune</var> of type {@link org.openspcoop2.core.commons.search.AccordoServizioParteComune}
  3731.      *
  3732.      * @param file Xml file to serialize the object <var>accordoServizioParteComune</var>
  3733.      * @param accordoServizioParteComune Object to be serialized in xml file <var>fileName</var>
  3734.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3735.      */
  3736.     public void write(File file,AccordoServizioParteComune accordoServizioParteComune) throws SerializerException {
  3737.         this.objToXml(file, AccordoServizioParteComune.class, accordoServizioParteComune, false);
  3738.     }
  3739.     /**
  3740.      * Serialize to file system in <var>file</var> the object <var>accordoServizioParteComune</var> of type {@link org.openspcoop2.core.commons.search.AccordoServizioParteComune}
  3741.      *
  3742.      * @param file Xml file to serialize the object <var>accordoServizioParteComune</var>
  3743.      * @param accordoServizioParteComune Object to be serialized in xml file <var>fileName</var>
  3744.      * @param prettyPrint if true output the XML with indenting
  3745.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3746.      */
  3747.     public void write(File file,AccordoServizioParteComune accordoServizioParteComune,boolean prettyPrint) throws SerializerException {
  3748.         this.objToXml(file, AccordoServizioParteComune.class, accordoServizioParteComune, prettyPrint);
  3749.     }
  3750.    
  3751.     /**
  3752.      * Serialize to output stream <var>out</var> the object <var>accordoServizioParteComune</var> of type {@link org.openspcoop2.core.commons.search.AccordoServizioParteComune}
  3753.      *
  3754.      * @param out OutputStream to serialize the object <var>accordoServizioParteComune</var>
  3755.      * @param accordoServizioParteComune Object to be serialized in xml file <var>fileName</var>
  3756.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3757.      */
  3758.     public void write(OutputStream out,AccordoServizioParteComune accordoServizioParteComune) throws SerializerException {
  3759.         this.objToXml(out, AccordoServizioParteComune.class, accordoServizioParteComune, false);
  3760.     }
  3761.     /**
  3762.      * Serialize to output stream <var>out</var> the object <var>accordoServizioParteComune</var> of type {@link org.openspcoop2.core.commons.search.AccordoServizioParteComune}
  3763.      *
  3764.      * @param out OutputStream to serialize the object <var>accordoServizioParteComune</var>
  3765.      * @param accordoServizioParteComune Object to be serialized in xml file <var>fileName</var>
  3766.      * @param prettyPrint if true output the XML with indenting
  3767.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3768.      */
  3769.     public void write(OutputStream out,AccordoServizioParteComune accordoServizioParteComune,boolean prettyPrint) throws SerializerException {
  3770.         this.objToXml(out, AccordoServizioParteComune.class, accordoServizioParteComune, prettyPrint);
  3771.     }
  3772.            
  3773.     /**
  3774.      * Serialize to byte array the object <var>accordoServizioParteComune</var> of type {@link org.openspcoop2.core.commons.search.AccordoServizioParteComune}
  3775.      *
  3776.      * @param accordoServizioParteComune Object to be serialized
  3777.      * @return Object to be serialized in byte array
  3778.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3779.      */
  3780.     public byte[] toByteArray(AccordoServizioParteComune accordoServizioParteComune) throws SerializerException {
  3781.         return this.objToXml(AccordoServizioParteComune.class, accordoServizioParteComune, false).toByteArray();
  3782.     }
  3783.     /**
  3784.      * Serialize to byte array the object <var>accordoServizioParteComune</var> of type {@link org.openspcoop2.core.commons.search.AccordoServizioParteComune}
  3785.      *
  3786.      * @param accordoServizioParteComune Object to be serialized
  3787.      * @param prettyPrint if true output the XML with indenting
  3788.      * @return Object to be serialized in byte array
  3789.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3790.      */
  3791.     public byte[] toByteArray(AccordoServizioParteComune accordoServizioParteComune,boolean prettyPrint) throws SerializerException {
  3792.         return this.objToXml(AccordoServizioParteComune.class, accordoServizioParteComune, prettyPrint).toByteArray();
  3793.     }
  3794.    
  3795.     /**
  3796.      * Serialize to String the object <var>accordoServizioParteComune</var> of type {@link org.openspcoop2.core.commons.search.AccordoServizioParteComune}
  3797.      *
  3798.      * @param accordoServizioParteComune Object to be serialized
  3799.      * @return Object to be serialized as String
  3800.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3801.      */
  3802.     public String toString(AccordoServizioParteComune accordoServizioParteComune) throws SerializerException {
  3803.         return this.objToXml(AccordoServizioParteComune.class, accordoServizioParteComune, false).toString();
  3804.     }
  3805.     /**
  3806.      * Serialize to String the object <var>accordoServizioParteComune</var> of type {@link org.openspcoop2.core.commons.search.AccordoServizioParteComune}
  3807.      *
  3808.      * @param accordoServizioParteComune Object to be serialized
  3809.      * @param prettyPrint if true output the XML with indenting
  3810.      * @return Object to be serialized as String
  3811.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3812.      */
  3813.     public String toString(AccordoServizioParteComune accordoServizioParteComune,boolean prettyPrint) throws SerializerException {
  3814.         return this.objToXml(AccordoServizioParteComune.class, accordoServizioParteComune, prettyPrint).toString();
  3815.     }
  3816.    
  3817.    
  3818.    
  3819.     /*
  3820.      =================================================================================
  3821.      Object: porta-dominio
  3822.      =================================================================================
  3823.     */
  3824.    
  3825.     /**
  3826.      * Serialize to file system in <var>fileName</var> the object <var>portaDominio</var> of type {@link org.openspcoop2.core.commons.search.PortaDominio}
  3827.      *
  3828.      * @param fileName Xml file to serialize the object <var>portaDominio</var>
  3829.      * @param portaDominio Object to be serialized in xml file <var>fileName</var>
  3830.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3831.      */
  3832.     public void write(String fileName,PortaDominio portaDominio) throws SerializerException {
  3833.         this.objToXml(fileName, PortaDominio.class, portaDominio, false);
  3834.     }
  3835.     /**
  3836.      * Serialize to file system in <var>fileName</var> the object <var>portaDominio</var> of type {@link org.openspcoop2.core.commons.search.PortaDominio}
  3837.      *
  3838.      * @param fileName Xml file to serialize the object <var>portaDominio</var>
  3839.      * @param portaDominio Object to be serialized in xml file <var>fileName</var>
  3840.      * @param prettyPrint if true output the XML with indenting
  3841.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3842.      */
  3843.     public void write(String fileName,PortaDominio portaDominio,boolean prettyPrint) throws SerializerException {
  3844.         this.objToXml(fileName, PortaDominio.class, portaDominio, prettyPrint);
  3845.     }
  3846.    
  3847.     /**
  3848.      * Serialize to file system in <var>file</var> the object <var>portaDominio</var> of type {@link org.openspcoop2.core.commons.search.PortaDominio}
  3849.      *
  3850.      * @param file Xml file to serialize the object <var>portaDominio</var>
  3851.      * @param portaDominio Object to be serialized in xml file <var>fileName</var>
  3852.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3853.      */
  3854.     public void write(File file,PortaDominio portaDominio) throws SerializerException {
  3855.         this.objToXml(file, PortaDominio.class, portaDominio, false);
  3856.     }
  3857.     /**
  3858.      * Serialize to file system in <var>file</var> the object <var>portaDominio</var> of type {@link org.openspcoop2.core.commons.search.PortaDominio}
  3859.      *
  3860.      * @param file Xml file to serialize the object <var>portaDominio</var>
  3861.      * @param portaDominio Object to be serialized in xml file <var>fileName</var>
  3862.      * @param prettyPrint if true output the XML with indenting
  3863.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3864.      */
  3865.     public void write(File file,PortaDominio portaDominio,boolean prettyPrint) throws SerializerException {
  3866.         this.objToXml(file, PortaDominio.class, portaDominio, prettyPrint);
  3867.     }
  3868.    
  3869.     /**
  3870.      * Serialize to output stream <var>out</var> the object <var>portaDominio</var> of type {@link org.openspcoop2.core.commons.search.PortaDominio}
  3871.      *
  3872.      * @param out OutputStream to serialize the object <var>portaDominio</var>
  3873.      * @param portaDominio Object to be serialized in xml file <var>fileName</var>
  3874.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3875.      */
  3876.     public void write(OutputStream out,PortaDominio portaDominio) throws SerializerException {
  3877.         this.objToXml(out, PortaDominio.class, portaDominio, false);
  3878.     }
  3879.     /**
  3880.      * Serialize to output stream <var>out</var> the object <var>portaDominio</var> of type {@link org.openspcoop2.core.commons.search.PortaDominio}
  3881.      *
  3882.      * @param out OutputStream to serialize the object <var>portaDominio</var>
  3883.      * @param portaDominio Object to be serialized in xml file <var>fileName</var>
  3884.      * @param prettyPrint if true output the XML with indenting
  3885.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3886.      */
  3887.     public void write(OutputStream out,PortaDominio portaDominio,boolean prettyPrint) throws SerializerException {
  3888.         this.objToXml(out, PortaDominio.class, portaDominio, prettyPrint);
  3889.     }
  3890.            
  3891.     /**
  3892.      * Serialize to byte array the object <var>portaDominio</var> of type {@link org.openspcoop2.core.commons.search.PortaDominio}
  3893.      *
  3894.      * @param portaDominio Object to be serialized
  3895.      * @return Object to be serialized in byte array
  3896.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3897.      */
  3898.     public byte[] toByteArray(PortaDominio portaDominio) throws SerializerException {
  3899.         return this.objToXml(PortaDominio.class, portaDominio, false).toByteArray();
  3900.     }
  3901.     /**
  3902.      * Serialize to byte array the object <var>portaDominio</var> of type {@link org.openspcoop2.core.commons.search.PortaDominio}
  3903.      *
  3904.      * @param portaDominio Object to be serialized
  3905.      * @param prettyPrint if true output the XML with indenting
  3906.      * @return Object to be serialized in byte array
  3907.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3908.      */
  3909.     public byte[] toByteArray(PortaDominio portaDominio,boolean prettyPrint) throws SerializerException {
  3910.         return this.objToXml(PortaDominio.class, portaDominio, prettyPrint).toByteArray();
  3911.     }
  3912.    
  3913.     /**
  3914.      * Serialize to String the object <var>portaDominio</var> of type {@link org.openspcoop2.core.commons.search.PortaDominio}
  3915.      *
  3916.      * @param portaDominio Object to be serialized
  3917.      * @return Object to be serialized as String
  3918.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3919.      */
  3920.     public String toString(PortaDominio portaDominio) throws SerializerException {
  3921.         return this.objToXml(PortaDominio.class, portaDominio, false).toString();
  3922.     }
  3923.     /**
  3924.      * Serialize to String the object <var>portaDominio</var> of type {@link org.openspcoop2.core.commons.search.PortaDominio}
  3925.      *
  3926.      * @param portaDominio Object to be serialized
  3927.      * @param prettyPrint if true output the XML with indenting
  3928.      * @return Object to be serialized as String
  3929.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3930.      */
  3931.     public String toString(PortaDominio portaDominio,boolean prettyPrint) throws SerializerException {
  3932.         return this.objToXml(PortaDominio.class, portaDominio, prettyPrint).toString();
  3933.     }
  3934.    
  3935.    
  3936.    
  3937.     /*
  3938.      =================================================================================
  3939.      Object: id-porta-applicativa
  3940.      =================================================================================
  3941.     */
  3942.    
  3943.     /**
  3944.      * Serialize to file system in <var>fileName</var> the object <var>idPortaApplicativa</var> of type {@link org.openspcoop2.core.commons.search.IdPortaApplicativa}
  3945.      *
  3946.      * @param fileName Xml file to serialize the object <var>idPortaApplicativa</var>
  3947.      * @param idPortaApplicativa Object to be serialized in xml file <var>fileName</var>
  3948.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3949.      */
  3950.     public void write(String fileName,IdPortaApplicativa idPortaApplicativa) throws SerializerException {
  3951.         this.objToXml(fileName, IdPortaApplicativa.class, idPortaApplicativa, false);
  3952.     }
  3953.     /**
  3954.      * Serialize to file system in <var>fileName</var> the object <var>idPortaApplicativa</var> of type {@link org.openspcoop2.core.commons.search.IdPortaApplicativa}
  3955.      *
  3956.      * @param fileName Xml file to serialize the object <var>idPortaApplicativa</var>
  3957.      * @param idPortaApplicativa Object to be serialized in xml file <var>fileName</var>
  3958.      * @param prettyPrint if true output the XML with indenting
  3959.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3960.      */
  3961.     public void write(String fileName,IdPortaApplicativa idPortaApplicativa,boolean prettyPrint) throws SerializerException {
  3962.         this.objToXml(fileName, IdPortaApplicativa.class, idPortaApplicativa, prettyPrint);
  3963.     }
  3964.    
  3965.     /**
  3966.      * Serialize to file system in <var>file</var> the object <var>idPortaApplicativa</var> of type {@link org.openspcoop2.core.commons.search.IdPortaApplicativa}
  3967.      *
  3968.      * @param file Xml file to serialize the object <var>idPortaApplicativa</var>
  3969.      * @param idPortaApplicativa Object to be serialized in xml file <var>fileName</var>
  3970.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3971.      */
  3972.     public void write(File file,IdPortaApplicativa idPortaApplicativa) throws SerializerException {
  3973.         this.objToXml(file, IdPortaApplicativa.class, idPortaApplicativa, false);
  3974.     }
  3975.     /**
  3976.      * Serialize to file system in <var>file</var> the object <var>idPortaApplicativa</var> of type {@link org.openspcoop2.core.commons.search.IdPortaApplicativa}
  3977.      *
  3978.      * @param file Xml file to serialize the object <var>idPortaApplicativa</var>
  3979.      * @param idPortaApplicativa Object to be serialized in xml file <var>fileName</var>
  3980.      * @param prettyPrint if true output the XML with indenting
  3981.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3982.      */
  3983.     public void write(File file,IdPortaApplicativa idPortaApplicativa,boolean prettyPrint) throws SerializerException {
  3984.         this.objToXml(file, IdPortaApplicativa.class, idPortaApplicativa, prettyPrint);
  3985.     }
  3986.    
  3987.     /**
  3988.      * Serialize to output stream <var>out</var> the object <var>idPortaApplicativa</var> of type {@link org.openspcoop2.core.commons.search.IdPortaApplicativa}
  3989.      *
  3990.      * @param out OutputStream to serialize the object <var>idPortaApplicativa</var>
  3991.      * @param idPortaApplicativa Object to be serialized in xml file <var>fileName</var>
  3992.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3993.      */
  3994.     public void write(OutputStream out,IdPortaApplicativa idPortaApplicativa) throws SerializerException {
  3995.         this.objToXml(out, IdPortaApplicativa.class, idPortaApplicativa, false);
  3996.     }
  3997.     /**
  3998.      * Serialize to output stream <var>out</var> the object <var>idPortaApplicativa</var> of type {@link org.openspcoop2.core.commons.search.IdPortaApplicativa}
  3999.      *
  4000.      * @param out OutputStream to serialize the object <var>idPortaApplicativa</var>
  4001.      * @param idPortaApplicativa Object to be serialized in xml file <var>fileName</var>
  4002.      * @param prettyPrint if true output the XML with indenting
  4003.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  4004.      */
  4005.     public void write(OutputStream out,IdPortaApplicativa idPortaApplicativa,boolean prettyPrint) throws SerializerException {
  4006.         this.objToXml(out, IdPortaApplicativa.class, idPortaApplicativa, prettyPrint);
  4007.     }
  4008.            
  4009.     /**
  4010.      * Serialize to byte array the object <var>idPortaApplicativa</var> of type {@link org.openspcoop2.core.commons.search.IdPortaApplicativa}
  4011.      *
  4012.      * @param idPortaApplicativa Object to be serialized
  4013.      * @return Object to be serialized in byte array
  4014.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  4015.      */
  4016.     public byte[] toByteArray(IdPortaApplicativa idPortaApplicativa) throws SerializerException {
  4017.         return this.objToXml(IdPortaApplicativa.class, idPortaApplicativa, false).toByteArray();
  4018.     }
  4019.     /**
  4020.      * Serialize to byte array the object <var>idPortaApplicativa</var> of type {@link org.openspcoop2.core.commons.search.IdPortaApplicativa}
  4021.      *
  4022.      * @param idPortaApplicativa Object to be serialized
  4023.      * @param prettyPrint if true output the XML with indenting
  4024.      * @return Object to be serialized in byte array
  4025.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  4026.      */
  4027.     public byte[] toByteArray(IdPortaApplicativa idPortaApplicativa,boolean prettyPrint) throws SerializerException {
  4028.         return this.objToXml(IdPortaApplicativa.class, idPortaApplicativa, prettyPrint).toByteArray();
  4029.     }
  4030.    
  4031.     /**
  4032.      * Serialize to String the object <var>idPortaApplicativa</var> of type {@link org.openspcoop2.core.commons.search.IdPortaApplicativa}
  4033.      *
  4034.      * @param idPortaApplicativa Object to be serialized
  4035.      * @return Object to be serialized as String
  4036.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  4037.      */
  4038.     public String toString(IdPortaApplicativa idPortaApplicativa) throws SerializerException {
  4039.         return this.objToXml(IdPortaApplicativa.class, idPortaApplicativa, false).toString();
  4040.     }
  4041.     /**
  4042.      * Serialize to String the object <var>idPortaApplicativa</var> of type {@link org.openspcoop2.core.commons.search.IdPortaApplicativa}
  4043.      *
  4044.      * @param idPortaApplicativa Object to be serialized
  4045.      * @param prettyPrint if true output the XML with indenting
  4046.      * @return Object to be serialized as String
  4047.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  4048.      */
  4049.     public String toString(IdPortaApplicativa idPortaApplicativa,boolean prettyPrint) throws SerializerException {
  4050.         return this.objToXml(IdPortaApplicativa.class, idPortaApplicativa, prettyPrint).toString();
  4051.     }
  4052.    
  4053.    
  4054.    
  4055.     /*
  4056.      =================================================================================
  4057.      Object: id-resource
  4058.      =================================================================================
  4059.     */
  4060.    
  4061.     /**
  4062.      * Serialize to file system in <var>fileName</var> the object <var>idResource</var> of type {@link org.openspcoop2.core.commons.search.IdResource}
  4063.      *
  4064.      * @param fileName Xml file to serialize the object <var>idResource</var>
  4065.      * @param idResource Object to be serialized in xml file <var>fileName</var>
  4066.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  4067.      */
  4068.     public void write(String fileName,IdResource idResource) throws SerializerException {
  4069.         this.objToXml(fileName, IdResource.class, idResource, false);
  4070.     }
  4071.     /**
  4072.      * Serialize to file system in <var>fileName</var> the object <var>idResource</var> of type {@link org.openspcoop2.core.commons.search.IdResource}
  4073.      *
  4074.      * @param fileName Xml file to serialize the object <var>idResource</var>
  4075.      * @param idResource Object to be serialized in xml file <var>fileName</var>
  4076.      * @param prettyPrint if true output the XML with indenting
  4077.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  4078.      */
  4079.     public void write(String fileName,IdResource idResource,boolean prettyPrint) throws SerializerException {
  4080.         this.objToXml(fileName, IdResource.class, idResource, prettyPrint);
  4081.     }
  4082.    
  4083.     /**
  4084.      * Serialize to file system in <var>file</var> the object <var>idResource</var> of type {@link org.openspcoop2.core.commons.search.IdResource}
  4085.      *
  4086.      * @param file Xml file to serialize the object <var>idResource</var>
  4087.      * @param idResource Object to be serialized in xml file <var>fileName</var>
  4088.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  4089.      */
  4090.     public void write(File file,IdResource idResource) throws SerializerException {
  4091.         this.objToXml(file, IdResource.class, idResource, false);
  4092.     }
  4093.     /**
  4094.      * Serialize to file system in <var>file</var> the object <var>idResource</var> of type {@link org.openspcoop2.core.commons.search.IdResource}
  4095.      *
  4096.      * @param file Xml file to serialize the object <var>idResource</var>
  4097.      * @param idResource Object to be serialized in xml file <var>fileName</var>
  4098.      * @param prettyPrint if true output the XML with indenting
  4099.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  4100.      */
  4101.     public void write(File file,IdResource idResource,boolean prettyPrint) throws SerializerException {
  4102.         this.objToXml(file, IdResource.class, idResource, prettyPrint);
  4103.     }
  4104.    
  4105.     /**
  4106.      * Serialize to output stream <var>out</var> the object <var>idResource</var> of type {@link org.openspcoop2.core.commons.search.IdResource}
  4107.      *
  4108.      * @param out OutputStream to serialize the object <var>idResource</var>
  4109.      * @param idResource Object to be serialized in xml file <var>fileName</var>
  4110.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  4111.      */
  4112.     public void write(OutputStream out,IdResource idResource) throws SerializerException {
  4113.         this.objToXml(out, IdResource.class, idResource, false);
  4114.     }
  4115.     /**
  4116.      * Serialize to output stream <var>out</var> the object <var>idResource</var> of type {@link org.openspcoop2.core.commons.search.IdResource}
  4117.      *
  4118.      * @param out OutputStream to serialize the object <var>idResource</var>
  4119.      * @param idResource Object to be serialized in xml file <var>fileName</var>
  4120.      * @param prettyPrint if true output the XML with indenting
  4121.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  4122.      */
  4123.     public void write(OutputStream out,IdResource idResource,boolean prettyPrint) throws SerializerException {
  4124.         this.objToXml(out, IdResource.class, idResource, prettyPrint);
  4125.     }
  4126.            
  4127.     /**
  4128.      * Serialize to byte array the object <var>idResource</var> of type {@link org.openspcoop2.core.commons.search.IdResource}
  4129.      *
  4130.      * @param idResource Object to be serialized
  4131.      * @return Object to be serialized in byte array
  4132.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  4133.      */
  4134.     public byte[] toByteArray(IdResource idResource) throws SerializerException {
  4135.         return this.objToXml(IdResource.class, idResource, false).toByteArray();
  4136.     }
  4137.     /**
  4138.      * Serialize to byte array the object <var>idResource</var> of type {@link org.openspcoop2.core.commons.search.IdResource}
  4139.      *
  4140.      * @param idResource Object to be serialized
  4141.      * @param prettyPrint if true output the XML with indenting
  4142.      * @return Object to be serialized in byte array
  4143.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  4144.      */
  4145.     public byte[] toByteArray(IdResource idResource,boolean prettyPrint) throws SerializerException {
  4146.         return this.objToXml(IdResource.class, idResource, prettyPrint).toByteArray();
  4147.     }
  4148.    
  4149.     /**
  4150.      * Serialize to String the object <var>idResource</var> of type {@link org.openspcoop2.core.commons.search.IdResource}
  4151.      *
  4152.      * @param idResource Object to be serialized
  4153.      * @return Object to be serialized as String
  4154.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  4155.      */
  4156.     public String toString(IdResource idResource) throws SerializerException {
  4157.         return this.objToXml(IdResource.class, idResource, false).toString();
  4158.     }
  4159.     /**
  4160.      * Serialize to String the object <var>idResource</var> of type {@link org.openspcoop2.core.commons.search.IdResource}
  4161.      *
  4162.      * @param idResource Object to be serialized
  4163.      * @param prettyPrint if true output the XML with indenting
  4164.      * @return Object to be serialized as String
  4165.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  4166.      */
  4167.     public String toString(IdResource idResource,boolean prettyPrint) throws SerializerException {
  4168.         return this.objToXml(IdResource.class, idResource, prettyPrint).toString();
  4169.     }
  4170.    
  4171.    
  4172.    
  4173.     /*
  4174.      =================================================================================
  4175.      Object: porta-delegata-servizio-applicativo
  4176.      =================================================================================
  4177.     */
  4178.    
  4179.     /**
  4180.      * Serialize to file system in <var>fileName</var> the object <var>portaDelegataServizioApplicativo</var> of type {@link org.openspcoop2.core.commons.search.PortaDelegataServizioApplicativo}
  4181.      *
  4182.      * @param fileName Xml file to serialize the object <var>portaDelegataServizioApplicativo</var>
  4183.      * @param portaDelegataServizioApplicativo Object to be serialized in xml file <var>fileName</var>
  4184.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  4185.      */
  4186.     public void write(String fileName,PortaDelegataServizioApplicativo portaDelegataServizioApplicativo) throws SerializerException {
  4187.         this.objToXml(fileName, PortaDelegataServizioApplicativo.class, portaDelegataServizioApplicativo, false);
  4188.     }
  4189.     /**
  4190.      * Serialize to file system in <var>fileName</var> the object <var>portaDelegataServizioApplicativo</var> of type {@link org.openspcoop2.core.commons.search.PortaDelegataServizioApplicativo}
  4191.      *
  4192.      * @param fileName Xml file to serialize the object <var>portaDelegataServizioApplicativo</var>
  4193.      * @param portaDelegataServizioApplicativo Object to be serialized in xml file <var>fileName</var>
  4194.      * @param prettyPrint if true output the XML with indenting
  4195.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  4196.      */
  4197.     public void write(String fileName,PortaDelegataServizioApplicativo portaDelegataServizioApplicativo,boolean prettyPrint) throws SerializerException {
  4198.         this.objToXml(fileName, PortaDelegataServizioApplicativo.class, portaDelegataServizioApplicativo, prettyPrint);
  4199.     }
  4200.    
  4201.     /**
  4202.      * Serialize to file system in <var>file</var> the object <var>portaDelegataServizioApplicativo</var> of type {@link org.openspcoop2.core.commons.search.PortaDelegataServizioApplicativo}
  4203.      *
  4204.      * @param file Xml file to serialize the object <var>portaDelegataServizioApplicativo</var>
  4205.      * @param portaDelegataServizioApplicativo Object to be serialized in xml file <var>fileName</var>
  4206.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  4207.      */
  4208.     public void write(File file,PortaDelegataServizioApplicativo portaDelegataServizioApplicativo) throws SerializerException {
  4209.         this.objToXml(file, PortaDelegataServizioApplicativo.class, portaDelegataServizioApplicativo, false);
  4210.     }
  4211.     /**
  4212.      * Serialize to file system in <var>file</var> the object <var>portaDelegataServizioApplicativo</var> of type {@link org.openspcoop2.core.commons.search.PortaDelegataServizioApplicativo}
  4213.      *
  4214.      * @param file Xml file to serialize the object <var>portaDelegataServizioApplicativo</var>
  4215.      * @param portaDelegataServizioApplicativo Object to be serialized in xml file <var>fileName</var>
  4216.      * @param prettyPrint if true output the XML with indenting
  4217.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  4218.      */
  4219.     public void write(File file,PortaDelegataServizioApplicativo portaDelegataServizioApplicativo,boolean prettyPrint) throws SerializerException {
  4220.         this.objToXml(file, PortaDelegataServizioApplicativo.class, portaDelegataServizioApplicativo, prettyPrint);
  4221.     }
  4222.    
  4223.     /**
  4224.      * Serialize to output stream <var>out</var> the object <var>portaDelegataServizioApplicativo</var> of type {@link org.openspcoop2.core.commons.search.PortaDelegataServizioApplicativo}
  4225.      *
  4226.      * @param out OutputStream to serialize the object <var>portaDelegataServizioApplicativo</var>
  4227.      * @param portaDelegataServizioApplicativo Object to be serialized in xml file <var>fileName</var>
  4228.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  4229.      */
  4230.     public void write(OutputStream out,PortaDelegataServizioApplicativo portaDelegataServizioApplicativo) throws SerializerException {
  4231.         this.objToXml(out, PortaDelegataServizioApplicativo.class, portaDelegataServizioApplicativo, false);
  4232.     }
  4233.     /**
  4234.      * Serialize to output stream <var>out</var> the object <var>portaDelegataServizioApplicativo</var> of type {@link org.openspcoop2.core.commons.search.PortaDelegataServizioApplicativo}
  4235.      *
  4236.      * @param out OutputStream to serialize the object <var>portaDelegataServizioApplicativo</var>
  4237.      * @param portaDelegataServizioApplicativo Object to be serialized in xml file <var>fileName</var>
  4238.      * @param prettyPrint if true output the XML with indenting
  4239.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  4240.      */
  4241.     public void write(OutputStream out,PortaDelegataServizioApplicativo portaDelegataServizioApplicativo,boolean prettyPrint) throws SerializerException {
  4242.         this.objToXml(out, PortaDelegataServizioApplicativo.class, portaDelegataServizioApplicativo, prettyPrint);
  4243.     }
  4244.            
  4245.     /**
  4246.      * Serialize to byte array the object <var>portaDelegataServizioApplicativo</var> of type {@link org.openspcoop2.core.commons.search.PortaDelegataServizioApplicativo}
  4247.      *
  4248.      * @param portaDelegataServizioApplicativo Object to be serialized
  4249.      * @return Object to be serialized in byte array
  4250.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  4251.      */
  4252.     public byte[] toByteArray(PortaDelegataServizioApplicativo portaDelegataServizioApplicativo) throws SerializerException {
  4253.         return this.objToXml(PortaDelegataServizioApplicativo.class, portaDelegataServizioApplicativo, false).toByteArray();
  4254.     }
  4255.     /**
  4256.      * Serialize to byte array the object <var>portaDelegataServizioApplicativo</var> of type {@link org.openspcoop2.core.commons.search.PortaDelegataServizioApplicativo}
  4257.      *
  4258.      * @param portaDelegataServizioApplicativo Object to be serialized
  4259.      * @param prettyPrint if true output the XML with indenting
  4260.      * @return Object to be serialized in byte array
  4261.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  4262.      */
  4263.     public byte[] toByteArray(PortaDelegataServizioApplicativo portaDelegataServizioApplicativo,boolean prettyPrint) throws SerializerException {
  4264.         return this.objToXml(PortaDelegataServizioApplicativo.class, portaDelegataServizioApplicativo, prettyPrint).toByteArray();
  4265.     }
  4266.    
  4267.     /**
  4268.      * Serialize to String the object <var>portaDelegataServizioApplicativo</var> of type {@link org.openspcoop2.core.commons.search.PortaDelegataServizioApplicativo}
  4269.      *
  4270.      * @param portaDelegataServizioApplicativo Object to be serialized
  4271.      * @return Object to be serialized as String
  4272.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  4273.      */
  4274.     public String toString(PortaDelegataServizioApplicativo portaDelegataServizioApplicativo) throws SerializerException {
  4275.         return this.objToXml(PortaDelegataServizioApplicativo.class, portaDelegataServizioApplicativo, false).toString();
  4276.     }
  4277.     /**
  4278.      * Serialize to String the object <var>portaDelegataServizioApplicativo</var> of type {@link org.openspcoop2.core.commons.search.PortaDelegataServizioApplicativo}
  4279.      *
  4280.      * @param portaDelegataServizioApplicativo Object to be serialized
  4281.      * @param prettyPrint if true output the XML with indenting
  4282.      * @return Object to be serialized as String
  4283.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  4284.      */
  4285.     public String toString(PortaDelegataServizioApplicativo portaDelegataServizioApplicativo,boolean prettyPrint) throws SerializerException {
  4286.         return this.objToXml(PortaDelegataServizioApplicativo.class, portaDelegataServizioApplicativo, prettyPrint).toString();
  4287.     }
  4288.    
  4289.    
  4290.    
  4291.     /*
  4292.      =================================================================================
  4293.      Object: fruitore
  4294.      =================================================================================
  4295.     */
  4296.    
  4297.     /**
  4298.      * Serialize to file system in <var>fileName</var> the object <var>fruitore</var> of type {@link org.openspcoop2.core.commons.search.Fruitore}
  4299.      *
  4300.      * @param fileName Xml file to serialize the object <var>fruitore</var>
  4301.      * @param fruitore Object to be serialized in xml file <var>fileName</var>
  4302.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  4303.      */
  4304.     public void write(String fileName,Fruitore fruitore) throws SerializerException {
  4305.         this.objToXml(fileName, Fruitore.class, fruitore, false);
  4306.     }
  4307.     /**
  4308.      * Serialize to file system in <var>fileName</var> the object <var>fruitore</var> of type {@link org.openspcoop2.core.commons.search.Fruitore}
  4309.      *
  4310.      * @param fileName Xml file to serialize the object <var>fruitore</var>
  4311.      * @param fruitore Object to be serialized in xml file <var>fileName</var>
  4312.      * @param prettyPrint if true output the XML with indenting
  4313.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  4314.      */
  4315.     public void write(String fileName,Fruitore fruitore,boolean prettyPrint) throws SerializerException {
  4316.         this.objToXml(fileName, Fruitore.class, fruitore, prettyPrint);
  4317.     }
  4318.    
  4319.     /**
  4320.      * Serialize to file system in <var>file</var> the object <var>fruitore</var> of type {@link org.openspcoop2.core.commons.search.Fruitore}
  4321.      *
  4322.      * @param file Xml file to serialize the object <var>fruitore</var>
  4323.      * @param fruitore Object to be serialized in xml file <var>fileName</var>
  4324.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  4325.      */
  4326.     public void write(File file,Fruitore fruitore) throws SerializerException {
  4327.         this.objToXml(file, Fruitore.class, fruitore, false);
  4328.     }
  4329.     /**
  4330.      * Serialize to file system in <var>file</var> the object <var>fruitore</var> of type {@link org.openspcoop2.core.commons.search.Fruitore}
  4331.      *
  4332.      * @param file Xml file to serialize the object <var>fruitore</var>
  4333.      * @param fruitore Object to be serialized in xml file <var>fileName</var>
  4334.      * @param prettyPrint if true output the XML with indenting
  4335.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  4336.      */
  4337.     public void write(File file,Fruitore fruitore,boolean prettyPrint) throws SerializerException {
  4338.         this.objToXml(file, Fruitore.class, fruitore, prettyPrint);
  4339.     }
  4340.    
  4341.     /**
  4342.      * Serialize to output stream <var>out</var> the object <var>fruitore</var> of type {@link org.openspcoop2.core.commons.search.Fruitore}
  4343.      *
  4344.      * @param out OutputStream to serialize the object <var>fruitore</var>
  4345.      * @param fruitore Object to be serialized in xml file <var>fileName</var>
  4346.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  4347.      */
  4348.     public void write(OutputStream out,Fruitore fruitore) throws SerializerException {
  4349.         this.objToXml(out, Fruitore.class, fruitore, false);
  4350.     }
  4351.     /**
  4352.      * Serialize to output stream <var>out</var> the object <var>fruitore</var> of type {@link org.openspcoop2.core.commons.search.Fruitore}
  4353.      *
  4354.      * @param out OutputStream to serialize the object <var>fruitore</var>
  4355.      * @param fruitore Object to be serialized in xml file <var>fileName</var>
  4356.      * @param prettyPrint if true output the XML with indenting
  4357.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  4358.      */
  4359.     public void write(OutputStream out,Fruitore fruitore,boolean prettyPrint) throws SerializerException {
  4360.         this.objToXml(out, Fruitore.class, fruitore, prettyPrint);
  4361.     }
  4362.            
  4363.     /**
  4364.      * Serialize to byte array the object <var>fruitore</var> of type {@link org.openspcoop2.core.commons.search.Fruitore}
  4365.      *
  4366.      * @param fruitore Object to be serialized
  4367.      * @return Object to be serialized in byte array
  4368.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  4369.      */
  4370.     public byte[] toByteArray(Fruitore fruitore) throws SerializerException {
  4371.         return this.objToXml(Fruitore.class, fruitore, false).toByteArray();
  4372.     }
  4373.     /**
  4374.      * Serialize to byte array the object <var>fruitore</var> of type {@link org.openspcoop2.core.commons.search.Fruitore}
  4375.      *
  4376.      * @param fruitore Object to be serialized
  4377.      * @param prettyPrint if true output the XML with indenting
  4378.      * @return Object to be serialized in byte array
  4379.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  4380.      */
  4381.     public byte[] toByteArray(Fruitore fruitore,boolean prettyPrint) throws SerializerException {
  4382.         return this.objToXml(Fruitore.class, fruitore, prettyPrint).toByteArray();
  4383.     }
  4384.    
  4385.     /**
  4386.      * Serialize to String the object <var>fruitore</var> of type {@link org.openspcoop2.core.commons.search.Fruitore}
  4387.      *
  4388.      * @param fruitore Object to be serialized
  4389.      * @return Object to be serialized as String
  4390.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  4391.      */
  4392.     public String toString(Fruitore fruitore) throws SerializerException {
  4393.         return this.objToXml(Fruitore.class, fruitore, false).toString();
  4394.     }
  4395.     /**
  4396.      * Serialize to String the object <var>fruitore</var> of type {@link org.openspcoop2.core.commons.search.Fruitore}
  4397.      *
  4398.      * @param fruitore Object to be serialized
  4399.      * @param prettyPrint if true output the XML with indenting
  4400.      * @return Object to be serialized as String
  4401.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  4402.      */
  4403.     public String toString(Fruitore fruitore,boolean prettyPrint) throws SerializerException {
  4404.         return this.objToXml(Fruitore.class, fruitore, prettyPrint).toString();
  4405.     }
  4406.    
  4407.    
  4408.    
  4409.     /*
  4410.      =================================================================================
  4411.      Object: porta-delegata
  4412.      =================================================================================
  4413.     */
  4414.    
  4415.     /**
  4416.      * Serialize to file system in <var>fileName</var> the object <var>portaDelegata</var> of type {@link org.openspcoop2.core.commons.search.PortaDelegata}
  4417.      *
  4418.      * @param fileName Xml file to serialize the object <var>portaDelegata</var>
  4419.      * @param portaDelegata Object to be serialized in xml file <var>fileName</var>
  4420.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  4421.      */
  4422.     public void write(String fileName,PortaDelegata portaDelegata) throws SerializerException {
  4423.         this.objToXml(fileName, PortaDelegata.class, portaDelegata, false);
  4424.     }
  4425.     /**
  4426.      * Serialize to file system in <var>fileName</var> the object <var>portaDelegata</var> of type {@link org.openspcoop2.core.commons.search.PortaDelegata}
  4427.      *
  4428.      * @param fileName Xml file to serialize the object <var>portaDelegata</var>
  4429.      * @param portaDelegata Object to be serialized in xml file <var>fileName</var>
  4430.      * @param prettyPrint if true output the XML with indenting
  4431.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  4432.      */
  4433.     public void write(String fileName,PortaDelegata portaDelegata,boolean prettyPrint) throws SerializerException {
  4434.         this.objToXml(fileName, PortaDelegata.class, portaDelegata, prettyPrint);
  4435.     }
  4436.    
  4437.     /**
  4438.      * Serialize to file system in <var>file</var> the object <var>portaDelegata</var> of type {@link org.openspcoop2.core.commons.search.PortaDelegata}
  4439.      *
  4440.      * @param file Xml file to serialize the object <var>portaDelegata</var>
  4441.      * @param portaDelegata Object to be serialized in xml file <var>fileName</var>
  4442.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  4443.      */
  4444.     public void write(File file,PortaDelegata portaDelegata) throws SerializerException {
  4445.         this.objToXml(file, PortaDelegata.class, portaDelegata, false);
  4446.     }
  4447.     /**
  4448.      * Serialize to file system in <var>file</var> the object <var>portaDelegata</var> of type {@link org.openspcoop2.core.commons.search.PortaDelegata}
  4449.      *
  4450.      * @param file Xml file to serialize the object <var>portaDelegata</var>
  4451.      * @param portaDelegata Object to be serialized in xml file <var>fileName</var>
  4452.      * @param prettyPrint if true output the XML with indenting
  4453.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  4454.      */
  4455.     public void write(File file,PortaDelegata portaDelegata,boolean prettyPrint) throws SerializerException {
  4456.         this.objToXml(file, PortaDelegata.class, portaDelegata, prettyPrint);
  4457.     }
  4458.    
  4459.     /**
  4460.      * Serialize to output stream <var>out</var> the object <var>portaDelegata</var> of type {@link org.openspcoop2.core.commons.search.PortaDelegata}
  4461.      *
  4462.      * @param out OutputStream to serialize the object <var>portaDelegata</var>
  4463.      * @param portaDelegata Object to be serialized in xml file <var>fileName</var>
  4464.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  4465.      */
  4466.     public void write(OutputStream out,PortaDelegata portaDelegata) throws SerializerException {
  4467.         this.objToXml(out, PortaDelegata.class, portaDelegata, false);
  4468.     }
  4469.     /**
  4470.      * Serialize to output stream <var>out</var> the object <var>portaDelegata</var> of type {@link org.openspcoop2.core.commons.search.PortaDelegata}
  4471.      *
  4472.      * @param out OutputStream to serialize the object <var>portaDelegata</var>
  4473.      * @param portaDelegata Object to be serialized in xml file <var>fileName</var>
  4474.      * @param prettyPrint if true output the XML with indenting
  4475.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  4476.      */
  4477.     public void write(OutputStream out,PortaDelegata portaDelegata,boolean prettyPrint) throws SerializerException {
  4478.         this.objToXml(out, PortaDelegata.class, portaDelegata, prettyPrint);
  4479.     }
  4480.            
  4481.     /**
  4482.      * Serialize to byte array the object <var>portaDelegata</var> of type {@link org.openspcoop2.core.commons.search.PortaDelegata}
  4483.      *
  4484.      * @param portaDelegata Object to be serialized
  4485.      * @return Object to be serialized in byte array
  4486.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  4487.      */
  4488.     public byte[] toByteArray(PortaDelegata portaDelegata) throws SerializerException {
  4489.         return this.objToXml(PortaDelegata.class, portaDelegata, false).toByteArray();
  4490.     }
  4491.     /**
  4492.      * Serialize to byte array the object <var>portaDelegata</var> of type {@link org.openspcoop2.core.commons.search.PortaDelegata}
  4493.      *
  4494.      * @param portaDelegata Object to be serialized
  4495.      * @param prettyPrint if true output the XML with indenting
  4496.      * @return Object to be serialized in byte array
  4497.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  4498.      */
  4499.     public byte[] toByteArray(PortaDelegata portaDelegata,boolean prettyPrint) throws SerializerException {
  4500.         return this.objToXml(PortaDelegata.class, portaDelegata, prettyPrint).toByteArray();
  4501.     }
  4502.    
  4503.     /**
  4504.      * Serialize to String the object <var>portaDelegata</var> of type {@link org.openspcoop2.core.commons.search.PortaDelegata}
  4505.      *
  4506.      * @param portaDelegata Object to be serialized
  4507.      * @return Object to be serialized as String
  4508.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  4509.      */
  4510.     public String toString(PortaDelegata portaDelegata) throws SerializerException {
  4511.         return this.objToXml(PortaDelegata.class, portaDelegata, false).toString();
  4512.     }
  4513.     /**
  4514.      * Serialize to String the object <var>portaDelegata</var> of type {@link org.openspcoop2.core.commons.search.PortaDelegata}
  4515.      *
  4516.      * @param portaDelegata Object to be serialized
  4517.      * @param prettyPrint if true output the XML with indenting
  4518.      * @return Object to be serialized as String
  4519.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  4520.      */
  4521.     public String toString(PortaDelegata portaDelegata,boolean prettyPrint) throws SerializerException {
  4522.         return this.objToXml(PortaDelegata.class, portaDelegata, prettyPrint).toString();
  4523.     }
  4524.    
  4525.    
  4526.    
  4527.     /*
  4528.      =================================================================================
  4529.      Object: id-soggetto-ruolo
  4530.      =================================================================================
  4531.     */
  4532.    
  4533.     /**
  4534.      * Serialize to file system in <var>fileName</var> the object <var>idSoggettoRuolo</var> of type {@link org.openspcoop2.core.commons.search.IdSoggettoRuolo}
  4535.      *
  4536.      * @param fileName Xml file to serialize the object <var>idSoggettoRuolo</var>
  4537.      * @param idSoggettoRuolo Object to be serialized in xml file <var>fileName</var>
  4538.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  4539.      */
  4540.     public void write(String fileName,IdSoggettoRuolo idSoggettoRuolo) throws SerializerException {
  4541.         this.objToXml(fileName, IdSoggettoRuolo.class, idSoggettoRuolo, false);
  4542.     }
  4543.     /**
  4544.      * Serialize to file system in <var>fileName</var> the object <var>idSoggettoRuolo</var> of type {@link org.openspcoop2.core.commons.search.IdSoggettoRuolo}
  4545.      *
  4546.      * @param fileName Xml file to serialize the object <var>idSoggettoRuolo</var>
  4547.      * @param idSoggettoRuolo Object to be serialized in xml file <var>fileName</var>
  4548.      * @param prettyPrint if true output the XML with indenting
  4549.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  4550.      */
  4551.     public void write(String fileName,IdSoggettoRuolo idSoggettoRuolo,boolean prettyPrint) throws SerializerException {
  4552.         this.objToXml(fileName, IdSoggettoRuolo.class, idSoggettoRuolo, prettyPrint);
  4553.     }
  4554.    
  4555.     /**
  4556.      * Serialize to file system in <var>file</var> the object <var>idSoggettoRuolo</var> of type {@link org.openspcoop2.core.commons.search.IdSoggettoRuolo}
  4557.      *
  4558.      * @param file Xml file to serialize the object <var>idSoggettoRuolo</var>
  4559.      * @param idSoggettoRuolo Object to be serialized in xml file <var>fileName</var>
  4560.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  4561.      */
  4562.     public void write(File file,IdSoggettoRuolo idSoggettoRuolo) throws SerializerException {
  4563.         this.objToXml(file, IdSoggettoRuolo.class, idSoggettoRuolo, false);
  4564.     }
  4565.     /**
  4566.      * Serialize to file system in <var>file</var> the object <var>idSoggettoRuolo</var> of type {@link org.openspcoop2.core.commons.search.IdSoggettoRuolo}
  4567.      *
  4568.      * @param file Xml file to serialize the object <var>idSoggettoRuolo</var>
  4569.      * @param idSoggettoRuolo Object to be serialized in xml file <var>fileName</var>
  4570.      * @param prettyPrint if true output the XML with indenting
  4571.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  4572.      */
  4573.     public void write(File file,IdSoggettoRuolo idSoggettoRuolo,boolean prettyPrint) throws SerializerException {
  4574.         this.objToXml(file, IdSoggettoRuolo.class, idSoggettoRuolo, prettyPrint);
  4575.     }
  4576.    
  4577.     /**
  4578.      * Serialize to output stream <var>out</var> the object <var>idSoggettoRuolo</var> of type {@link org.openspcoop2.core.commons.search.IdSoggettoRuolo}
  4579.      *
  4580.      * @param out OutputStream to serialize the object <var>idSoggettoRuolo</var>
  4581.      * @param idSoggettoRuolo Object to be serialized in xml file <var>fileName</var>
  4582.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  4583.      */
  4584.     public void write(OutputStream out,IdSoggettoRuolo idSoggettoRuolo) throws SerializerException {
  4585.         this.objToXml(out, IdSoggettoRuolo.class, idSoggettoRuolo, false);
  4586.     }
  4587.     /**
  4588.      * Serialize to output stream <var>out</var> the object <var>idSoggettoRuolo</var> of type {@link org.openspcoop2.core.commons.search.IdSoggettoRuolo}
  4589.      *
  4590.      * @param out OutputStream to serialize the object <var>idSoggettoRuolo</var>
  4591.      * @param idSoggettoRuolo Object to be serialized in xml file <var>fileName</var>
  4592.      * @param prettyPrint if true output the XML with indenting
  4593.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  4594.      */
  4595.     public void write(OutputStream out,IdSoggettoRuolo idSoggettoRuolo,boolean prettyPrint) throws SerializerException {
  4596.         this.objToXml(out, IdSoggettoRuolo.class, idSoggettoRuolo, prettyPrint);
  4597.     }
  4598.            
  4599.     /**
  4600.      * Serialize to byte array the object <var>idSoggettoRuolo</var> of type {@link org.openspcoop2.core.commons.search.IdSoggettoRuolo}
  4601.      *
  4602.      * @param idSoggettoRuolo Object to be serialized
  4603.      * @return Object to be serialized in byte array
  4604.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  4605.      */
  4606.     public byte[] toByteArray(IdSoggettoRuolo idSoggettoRuolo) throws SerializerException {
  4607.         return this.objToXml(IdSoggettoRuolo.class, idSoggettoRuolo, false).toByteArray();
  4608.     }
  4609.     /**
  4610.      * Serialize to byte array the object <var>idSoggettoRuolo</var> of type {@link org.openspcoop2.core.commons.search.IdSoggettoRuolo}
  4611.      *
  4612.      * @param idSoggettoRuolo Object to be serialized
  4613.      * @param prettyPrint if true output the XML with indenting
  4614.      * @return Object to be serialized in byte array
  4615.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  4616.      */
  4617.     public byte[] toByteArray(IdSoggettoRuolo idSoggettoRuolo,boolean prettyPrint) throws SerializerException {
  4618.         return this.objToXml(IdSoggettoRuolo.class, idSoggettoRuolo, prettyPrint).toByteArray();
  4619.     }
  4620.    
  4621.     /**
  4622.      * Serialize to String the object <var>idSoggettoRuolo</var> of type {@link org.openspcoop2.core.commons.search.IdSoggettoRuolo}
  4623.      *
  4624.      * @param idSoggettoRuolo Object to be serialized
  4625.      * @return Object to be serialized as String
  4626.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  4627.      */
  4628.     public String toString(IdSoggettoRuolo idSoggettoRuolo) throws SerializerException {
  4629.         return this.objToXml(IdSoggettoRuolo.class, idSoggettoRuolo, false).toString();
  4630.     }
  4631.     /**
  4632.      * Serialize to String the object <var>idSoggettoRuolo</var> of type {@link org.openspcoop2.core.commons.search.IdSoggettoRuolo}
  4633.      *
  4634.      * @param idSoggettoRuolo Object to be serialized
  4635.      * @param prettyPrint if true output the XML with indenting
  4636.      * @return Object to be serialized as String
  4637.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  4638.      */
  4639.     public String toString(IdSoggettoRuolo idSoggettoRuolo,boolean prettyPrint) throws SerializerException {
  4640.         return this.objToXml(IdSoggettoRuolo.class, idSoggettoRuolo, prettyPrint).toString();
  4641.     }
  4642.    
  4643.    
  4644.    

  4645. }