public final String modelToXmlString() {
   TiersInformationsType object = (TiersInformationsType) this.modelToXml();
   XmlOptions opts = new XmlOptions();
   opts.setSavePrettyPrint();
   opts.setSavePrettyPrintIndent(4);
   opts.setUseDefaultNamespace();
   opts.setCharacterEncoding("UTF-8");
   return object.xmlText(opts);
 }
  public static TiersInformations xmlToModel(TiersInformationsType tiersInformationsDoc) {
    Calendar calendar = Calendar.getInstance();
    LocalTime localTime = new LocalTime();
    List list = new ArrayList();
    TiersInformations tiersInformations = new TiersInformations();

    tiersInformations.setTiersNom(tiersInformationsDoc.getTiersNom());

    tiersInformations.setTiersPrenom(tiersInformationsDoc.getTiersPrenom());

    tiersInformations.setTiersTelephone(tiersInformationsDoc.getTiersTelephone());

    return tiersInformations;
  }
  public final TiersInformationsType modelToXml() {

    Calendar calendar = Calendar.getInstance();
    Date date = null;
    LocalTime localTime = new LocalTime();
    TiersInformationsType tiersInformations = TiersInformationsType.Factory.newInstance();
    int i = 0;

    tiersInformations.setTiersNom(this.tiersNom);

    tiersInformations.setTiersPrenom(this.tiersPrenom);

    tiersInformations.setTiersTelephone(this.tiersTelephone);

    return tiersInformations;
  }