spring-config.jobs.mapping.orgMapping.xml Maven / Gradle / Ivy
The newest version!
<?xml version="1.0" encoding="UTF-8"?> <mappingFile targetEntity="io.github.jsoagger.core.model.people.organisation.Organization"> <command name="ADD_ORG_WITH_ACCOUNT" writers-ref="LineBeanToOrganizationWithAccountWriter" processors-ref="VLCSVToBeanProcessor"> <column id="command" mandatory="true" maxLength="255" /> <column id="name" mandatory="true" maxLength="255" blankAllowed="false" /> <column id="addressageName" mandatory="true" maxLength="255" blankAllowed="false" /> <column id="siren" mandatory="true" maxLength="255" blankAllowed="false" /> <column id="siret" mandatory="true" maxLength="255" blankAllowed="false" /> <column id="number" mandatory="true" maxLength="255" blankAllowed="false" /> <column id="codeNaf" mandatory="false" maxLength="255" blankAllowed="false" /> <column id="codeApe" mandatory="false" maxLength="255" blankAllowed="false" /> <column id="juridicalForm" mandatory="false" maxLength="255" blankAllowed="false" /> <column id="tvaIntra" mandatory="false" maxLength="255" blankAllowed="false" /> <column id="immatriculationDate" mandatory="false" maxLength="255" blankAllowed="false" /> <column id="greffeCode" mandatory="false" maxLength="255" blankAllowed="false" /> <column id="categorie" mandatory="false" maxLength="255" blankAllowed="false" /> <column id="codeNafCompany" mandatory="false" maxLength="255" blankAllowed="false" /> <column id="codeApeCompany" mandatory="false" maxLength="255" blankAllowed="false" /> <column id="email" mandatory="true" maxLength="255" blankAllowed="false" externalAttribute="true"/> <column id="typeInfo" mandatory="true" externalAttribute="true" propertyEditor="TypeInfoByLogicalPathEditor" /> </command> <command name="ADD_ORG_WITHOUT_ACCOUNT" writers-ref="LineBeanToOrganizationWriter" processors-ref="VLCSVToBeanProcessor"> <column id="command" mandatory="true" maxLength="255" /> <column id="name" mandatory="true" maxLength="255" blankAllowed="false" /> <column id="addressageName" mandatory="true" maxLength="255" blankAllowed="false" /> <column id="siren" mandatory="true" maxLength="255" blankAllowed="false" /> <column id="siret" mandatory="true" maxLength="255" blankAllowed="false" /> <column id="number" mandatory="true" maxLength="255" blankAllowed="false" /> <column id="codeNaf" mandatory="false" maxLength="255" blankAllowed="false" /> <column id="codeApe" mandatory="false" maxLength="255" blankAllowed="false" /> <column id="juridicalForm" mandatory="false" maxLength="255" blankAllowed="false" /> <column id="tvaIntra" mandatory="false" maxLength="255" blankAllowed="false" /> <column id="immatriculationDate" mandatory="false" maxLength="255" blankAllowed="false" /> <column id="greffeCode" mandatory="false" maxLength="255" blankAllowed="false" /> <column id="categorie" mandatory="false" maxLength="255" blankAllowed="false" /> <column id="codeNafCompany" mandatory="false" maxLength="255" blankAllowed="false" /> <column id="codeApeCompany" mandatory="false" maxLength="255" blankAllowed="false" /> <column id="email" mandatory="true" maxLength="255" blankAllowed="false" externalAttribute="true"/> <column id="typeInfo" mandatory="true" externalAttribute="true" propertyEditor="TypeInfoByLogicalPathEditor" /> </command> <!-- EXPORT/UPDATE --> <command name="UPDATE_ORG" writers-ref="LineBeanToOrganizationWriter" processors-ref="VLCSVToBeanProcessor"> <column id="command" mandatory="true" maxLength="255" /> <column id="fullIdentifier" propertyEditor="ObjectFullIdentifierPropetyEditor"/> <column id="name" mandatory="true" maxLength="255" blankAllowed="false" /> <column id="addressageName" mandatory="true" maxLength="255" blankAllowed="false" /> <column id="siren" mandatory="true" maxLength="255" blankAllowed="false" /> <column id="siret" mandatory="true" maxLength="255" blankAllowed="false" /> <column id="number" mandatory="true" maxLength="255" blankAllowed="false" /> <column id="codeNaf" mandatory="false" maxLength="255" blankAllowed="false" /> <column id="codeApe" mandatory="false" maxLength="255" blankAllowed="false" /> <column id="juridicalForm" mandatory="false" maxLength="255" blankAllowed="false" /> <column id="tvaIntra" mandatory="false" maxLength="255" blankAllowed="false" /> <column id="immatriculationDate" mandatory="false" maxLength="255" blankAllowed="false" /> <column id="greffeCode" mandatory="false" maxLength="255" blankAllowed="false" /> <column id="categorie" mandatory="false" maxLength="255" blankAllowed="false" /> <column id="codeNafCompany" mandatory="false" maxLength="255" blankAllowed="false" /> <column id="codeApeCompany" mandatory="false" maxLength="255" blankAllowed="false" /> </command> <command name="EXPORT_FOR_UPDATE_ORG" > <column id="command" constant="UPDATE_ORG"/> <column id="name" mandatory="true" /> <column id="fullIdentifier" propertyEditor="ObjectFullIdentifierPropetyEditor"/> <column id="addressage_name" /> <column id="siren" /> <column id="siret" /> <column id="code_naf" /> <column id="code_ape" /> <column id="juridical_form" /> <column id="tva_intra" /> <column id="immat_date" /> <column id="greffe_code" /> <column id="categorie" /> <column id="code_naf_company" /> <column id="code_ape_company" /> </command> </mappingFile>