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.registry.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.registry.Message;
  25. import org.openspcoop2.core.registry.Operation;
  26. import org.openspcoop2.core.registry.ProtocolProperty;
  27. import org.openspcoop2.core.registry.ResourceParameter;
  28. import org.openspcoop2.core.registry.ResourceRequest;
  29. import org.openspcoop2.core.registry.ResourceRepresentation;
  30. import org.openspcoop2.core.registry.Resource;
  31. import org.openspcoop2.core.registry.ResourceResponse;
  32. import org.openspcoop2.core.registry.IdRuolo;
  33. import org.openspcoop2.core.registry.ResourceRepresentationJson;
  34. import org.openspcoop2.core.registry.MessagePart;
  35. import org.openspcoop2.core.registry.IdPortaDominio;
  36. import org.openspcoop2.core.registry.Documento;
  37. import org.openspcoop2.core.registry.IdSoggetto;
  38. import org.openspcoop2.core.registry.IdAccordoServizioParteSpecifica;
  39. import org.openspcoop2.core.registry.GruppoAccordo;
  40. import org.openspcoop2.core.registry.GruppiAccordo;
  41. import org.openspcoop2.core.registry.IdScope;
  42. import org.openspcoop2.core.registry.ConfigurazioneServizio;
  43. import org.openspcoop2.core.registry.AccordoServizioParteSpecifica;
  44. import org.openspcoop2.core.registry.Fruitore;
  45. import org.openspcoop2.core.registry.ProprietaOggetto;
  46. import org.openspcoop2.core.registry.Property;
  47. import org.openspcoop2.core.registry.Ruolo;
  48. import org.openspcoop2.core.registry.AccordoCooperazionePartecipanti;
  49. import org.openspcoop2.core.registry.Proprieta;
  50. import org.openspcoop2.core.registry.Azione;
  51. import org.openspcoop2.core.registry.Connettore;
  52. import org.openspcoop2.core.registry.ConfigurazioneServizioAzione;
  53. import org.openspcoop2.core.registry.RuoloSoggetto;
  54. import org.openspcoop2.core.registry.Scope;
  55. import org.openspcoop2.core.registry.ResourceRepresentationXml;
  56. import org.openspcoop2.core.registry.AccordoServizioParteComuneServizioCompostoServizioComponente;
  57. import org.openspcoop2.core.registry.AccordoServizioParteComuneServizioComposto;
  58. import org.openspcoop2.core.registry.PortType;
  59. import org.openspcoop2.core.registry.IdAccordoCooperazione;
  60. import org.openspcoop2.core.registry.AccordoCooperazione;
  61. import org.openspcoop2.core.registry.CredenzialiSoggetto;
  62. import org.openspcoop2.core.registry.RegistroServizi;
  63. import org.openspcoop2.core.registry.AccordoServizioParteComune;
  64. import org.openspcoop2.core.registry.PortaDominio;
  65. import org.openspcoop2.core.registry.Gruppo;
  66. import org.openspcoop2.core.registry.Soggetto;
  67. import org.openspcoop2.core.registry.IdGruppo;
  68. import org.openspcoop2.core.registry.RuoliSoggetto;
  69. import org.openspcoop2.core.registry.IdAccordoServizioParteComune;

  70. import java.io.ByteArrayOutputStream;
  71. import java.io.FileOutputStream;
  72. import java.io.OutputStream;
  73. import java.io.File;
  74. import java.lang.reflect.Method;

  75. import javax.xml.bind.JAXBElement;

  76. /**    
  77.  * XML Serializer of beans
  78.  *
  79.  * @author Poli Andrea (poli@link.it)
  80.  * @author $Author$
  81.  * @version $Rev$, $Date$
  82.  */
  83. public abstract class AbstractSerializer {


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




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

  5597. }