public static void feed(PerischoolActivityRegistrationRequest request) {
    LocalReferentialData lrd = new LocalReferentialData();
    lrd.setName("EveningNursery");
    List<LocalReferentialData> perischoolActivities = new ArrayList<LocalReferentialData>();
    perischoolActivities.add(lrd);
    request.setPerischoolActivity(perischoolActivities);

    PerischoolContactIndividual contactIndividual = new PerischoolContactIndividual();
    contactIndividual.setFirstName("John");
    contactIndividual.setLastName("Doe");
    contactIndividual.setHomePhone("0404040404");
    contactIndividual.setOfficePhone("0404040404");
    contactIndividual.setAddress(
        BusinessObjectsFactory.gimmeAdress("12", "Rue d'Aligre", "Paris", "75012"));
    List<PerischoolContactIndividual> contactIndividuals =
        new ArrayList<PerischoolContactIndividual>();
    contactIndividuals.add(contactIndividual);
    request.setContactIndividuals(contactIndividuals);

    PerischoolAuthorizedIndividual authorizedIndividual = new PerischoolAuthorizedIndividual();
    authorizedIndividual.setFirstName("Jane");
    authorizedIndividual.setLastName("Doe");
    authorizedIndividual.setHomePhone("0404040404");
    authorizedIndividual.setOfficePhone("0404040404");
    authorizedIndividual.setAddress(
        BusinessObjectsFactory.gimmeAdress("12", "Rue d'Aligre", "Paris", "75012"));
    List<PerischoolAuthorizedIndividual> authorizedIndividuals =
        new ArrayList<PerischoolAuthorizedIndividual>();
    authorizedIndividuals.add(authorizedIndividual);
    request.setAuthorizedIndividuals(authorizedIndividuals);
  }
  @Override
  public final TechnicalInterventionRequestDocument modelToXml() {

    Calendar calendar = Calendar.getInstance();
    LocalTime localTime = new LocalTime();
    Date date = null;
    TechnicalInterventionRequestDocument technicalInterventionRequestDoc =
        TechnicalInterventionRequestDocument.Factory.newInstance();
    TechnicalInterventionRequestDocument.TechnicalInterventionRequest technicalInterventionRequest =
        technicalInterventionRequestDoc.addNewTechnicalInterventionRequest();
    super.fillCommonXmlInfo(technicalInterventionRequest);
    int i = 0;

    technicalInterventionRequest.setInterventionDescription(getInterventionDescription());

    if (getInterventionPlace() != null)
      technicalInterventionRequest.setInterventionPlace(Address.modelToXml(getInterventionPlace()));

    i = 0;
    if (getInterventionType() != null) {
      fr.cg95.cvq.xml.common.LocalReferentialDataType[] interventionTypeTypeTab =
          new fr.cg95.cvq.xml.common.LocalReferentialDataType[getInterventionType().size()];
      for (LocalReferentialData object : getInterventionType()) {
        interventionTypeTypeTab[i++] = LocalReferentialData.modelToXml(object);
      }
      technicalInterventionRequest.setInterventionTypeArray(interventionTypeTypeTab);
    }

    technicalInterventionRequest.setOtherInterventionLabel(getOtherInterventionLabel());

    return technicalInterventionRequestDoc;
  }
  @Override
  public final CompostableWasteCollectionRequestDocument modelToXml() {

    Calendar calendar = Calendar.getInstance();
    LocalTime localTime = new LocalTime();
    Date date = null;
    CompostableWasteCollectionRequestDocument compostableWasteCollectionRequestDoc =
        CompostableWasteCollectionRequestDocument.Factory.newInstance();
    CompostableWasteCollectionRequestDocument.CompostableWasteCollectionRequest
        compostableWasteCollectionRequest =
            compostableWasteCollectionRequestDoc.addNewCompostableWasteCollectionRequest();
    super.fillCommonXmlInfo(compostableWasteCollectionRequest);
    int i = 0;

    if (getCollectionAddress() != null)
      compostableWasteCollectionRequest.setCollectionAddress(
          Address.modelToXml(getCollectionAddress()));

    i = 0;
    if (getCompostableWasteType() != null) {
      fr.cg95.cvq.xml.common.LocalReferentialDataType[] compostableWasteTypeTypeTab =
          new fr.cg95.cvq.xml.common.LocalReferentialDataType[getCompostableWasteType().size()];
      for (LocalReferentialData object : getCompostableWasteType()) {
        compostableWasteTypeTypeTab[i++] = LocalReferentialData.modelToXml(object);
      }
      compostableWasteCollectionRequest.setCompostableWasteTypeArray(compostableWasteTypeTypeTab);
    }

    compostableWasteCollectionRequest.setOtherWaste(getOtherWaste());

    return compostableWasteCollectionRequestDoc;
  }
  public static TechnicalInterventionRequest xmlToModel(
      TechnicalInterventionRequestDocument technicalInterventionRequestDoc) {
    TechnicalInterventionRequestDocument.TechnicalInterventionRequest
        technicalInterventionRequestXml =
            technicalInterventionRequestDoc.getTechnicalInterventionRequest();
    Calendar calendar = Calendar.getInstance();
    LocalTime localTime = new LocalTime();
    List list = new ArrayList();
    TechnicalInterventionRequest technicalInterventionRequest = new TechnicalInterventionRequest();
    technicalInterventionRequest.fillCommonModelInfo(
        technicalInterventionRequest, technicalInterventionRequestXml);

    technicalInterventionRequest.setInterventionDescription(
        technicalInterventionRequestXml.getInterventionDescription());

    if (technicalInterventionRequestXml.getInterventionPlace() != null)
      technicalInterventionRequest.setInterventionPlace(
          Address.xmlToModel(technicalInterventionRequestXml.getInterventionPlace()));

    List<fr.cg95.cvq.business.request.LocalReferentialData> interventionTypeList =
        new ArrayList<fr.cg95.cvq.business.request.LocalReferentialData>(
            technicalInterventionRequestXml.sizeOfInterventionTypeArray());
    for (LocalReferentialDataType object :
        technicalInterventionRequestXml.getInterventionTypeArray()) {
      interventionTypeList.add(
          fr.cg95.cvq.business.request.LocalReferentialData.xmlToModel(object));
    }
    technicalInterventionRequest.setInterventionType(interventionTypeList);

    technicalInterventionRequest.setOtherInterventionLabel(
        technicalInterventionRequestXml.getOtherInterventionLabel());

    return technicalInterventionRequest;
  }
  public static CompostableWasteCollectionRequest xmlToModel(
      CompostableWasteCollectionRequestDocument compostableWasteCollectionRequestDoc) {
    CompostableWasteCollectionRequestDocument.CompostableWasteCollectionRequest
        compostableWasteCollectionRequestXml =
            compostableWasteCollectionRequestDoc.getCompostableWasteCollectionRequest();
    Calendar calendar = Calendar.getInstance();
    LocalTime localTime = new LocalTime();
    List list = new ArrayList();
    CompostableWasteCollectionRequest compostableWasteCollectionRequest =
        new CompostableWasteCollectionRequest();
    compostableWasteCollectionRequest.fillCommonModelInfo(
        compostableWasteCollectionRequest, compostableWasteCollectionRequestXml);

    if (compostableWasteCollectionRequestXml.getCollectionAddress() != null)
      compostableWasteCollectionRequest.setCollectionAddress(
          Address.xmlToModel(compostableWasteCollectionRequestXml.getCollectionAddress()));

    List<fr.cg95.cvq.business.request.LocalReferentialData> compostableWasteTypeList =
        new ArrayList<fr.cg95.cvq.business.request.LocalReferentialData>(
            compostableWasteCollectionRequestXml.sizeOfCompostableWasteTypeArray());
    for (LocalReferentialDataType object :
        compostableWasteCollectionRequestXml.getCompostableWasteTypeArray()) {
      compostableWasteTypeList.add(
          fr.cg95.cvq.business.request.LocalReferentialData.xmlToModel(object));
    }
    compostableWasteCollectionRequest.setCompostableWasteType(compostableWasteTypeList);

    compostableWasteCollectionRequest.setOtherWaste(
        compostableWasteCollectionRequestXml.getOtherWaste());

    return compostableWasteCollectionRequest;
  }