Example #1
0
  @Override
  public TiersInformations clone() {
    TiersInformations result = new TiersInformations();

    result.setTiersNom(tiersNom);

    result.setTiersPrenom(tiersPrenom);

    result.setTiersTelephone(tiersTelephone);

    return result;
  }
Example #2
0
  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;
  }