All Downloads are FREE. Search and download functionalities are using the official Maven repository.

spring-config.jobs.mapping.userMapping.xml Maven / Gradle / Ivy

The newest version!
<?xml version="1.0" encoding="UTF-8"?>

<mappingFile targetEntity="io.github.jsoagger.core.model.people.person.Person">
     <command name="ADD_PERSON_WITH_ACCOUNT" writers-ref="LineBeanToPersonWriter" processors-ref="VLCSVToBeanProcessor">
          <column id="command" mandatory="true" maxLength="255" />
          <column id="gender" mandatory="true" maxLength="10" />
          <column id="lastName" mandatory="true" maxLength="255" />
          <column id="firstName" mandatory="true" maxLength="500" />
          <column id="middleName" mandatory="false" maxLength="255" />
          <column id="birthDate" mandatory="true" maxLength="50" format="dd/MM/yyyy" propertyEditor="VLDateStringPropertyEditor" />
          <column id="comment"   mandatory="false" maxLength="255" />
          <column id="email" 	  mandatory="true" maxLength="500" externalAttribute="true" />
          <column id="birthPlace" mandatory="true" maxLength="255" />
          <column id="typeInfo"  mandatory="true" maxLength="255" propertyEditor="TypeInfoByLogicalPathEditor"/>
          <column id="personType" mandatory="true" maxLength="500"   externalAttribute="true" />
     </command>
     
     <command name="ADD_PERSON_WITHOUT_ACCOUNT" writers-ref="LineBeanToPersonWriter" processors-ref="VLCSVToBeanProcessor">
          <column id="command" mandatory="true" maxLength="255" />
          <column id="gender" mandatory="true" maxLength="10" />
          <column id="lastName" mandatory="true" maxLength="255" />
          <column id="firstName" mandatory="true" maxLength="500" />
          <column id="middleName" mandatory="false" maxLength="255" />
          <column id="birthDate" mandatory="true" maxLength="50" format="dd/MM/yyyy" propertyEditor="VLDateStringPropertyEditor" />
          <column id="comment" mandatory="false" maxLength="255" />
          <column id="birthPlace" mandatory="true" maxLength="255" />
          <column id="personType" mandatory="true" maxLength="500" externalAttribute="true" />
     </command>
     
     <!-- 
     	EXPORT USER/PERSON
      -->
       <command name="UPDATE_PERSON" writers-ref="LineBeanToPersonWriter" processors-ref="VLCSVToBeanProcessor">
          <column id="command" mandatory="true" maxLength="255" />
          <column id="fullIdentifier" propertyEditor="ObjectFullIdentifierPropetyEditor"/>
          <column id="gender" mandatory="true" maxLength="10" />
          <column id="lastName" mandatory="true" maxLength="255" />
          <column id="firstName" mandatory="true" maxLength="500" />
          <column id="middleName" mandatory="false" maxLength="255" />
          <column id="birthDate" mandatory="true" maxLength="50" format="dd/MM/yyyy" propertyEditor="VLDateStringPropertyEditor" />
          <column id="comment" mandatory="false" maxLength="255" />
          <column id="birthPlace" mandatory="true" maxLength="255" />
     </command>
      <command name="EXPORT_FOR_UPDATE_PERSON" targetEntity="io.github.jsoagger.core.model.people.person.Person">
        <column id="command" constant="UPDATE_PERSON"/>
        <column id="fullIdentifier" propertyEditor="ObjectFullIdentifierPropetyEditor"/>
        <column id="gender" />
        <column id="last_name" />
        <column id="first_name" />
        <column id="middle_name" />
        <column id="birth_date" />
        <column id="comment" />
        <column id="birth_place" />
    </command>
</mappingFile>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy