spring-config.jobs.mapping.docMapping.xml Maven / Gradle / Ivy
The newest version!
<?xml version="1.0" encoding="UTF-8"?> <mappingFile> <command name="ADD_DOC_MASTER" targetEntity="io.github.jsoagger.core.model.document.DocumentMaster" writers-ref="VLLineBeanToDocumentWriter" processors-ref="VLCSVToBeanProcessor;VLLineBeanDomainProcessor" dependent-commands="ADD_DOC_ITERATION" dependent-commands-processor="IterationToMasterLinkProcessor"> <column id="command" mandatory="true" maxLength="255" /> <column id="number" mandatory="true" maxLength="255" /> <column id="name" mandatory="true" maxLength="255" /> <column id="description" mandatory="true" maxLength="255" /> <column id="typeInfo" mandatory="true" propertyEditor="TypeInfoByLogicalPathEditor" /> <column id="folder" mandatory="true" externalAttribute="true" /> </command> <command name="ADD_DOC_ITERATION" targetEntity="io.github.jsoagger.core.model.document.Document"> <column id="command" mandatory="true" maxLength="255" /> <!-- WorkInfo info --> <column id="workInfo" mandatory="false" propertyEditor="WorkInfoEditor" /> <column id="workingCopy" mandatory="false" externalAttribute="true" /> <column id="lockedBy" mandatory="false" externalAttribute="true" /> <column id="lockedSince" mandatory="false" externalAttribute="true" /> <!-- Version info --> <column id="versionInfo" mandatory="true" maxLength="10" propertyEditor="VersionInfoEditor" /> <column id="versionNumber" mandatory="true" maxLength="10" externalAttribute="true" /> <column id="isLatestVersion" mandatory="false" maxLength="10" externalAttribute="true" /> <!-- Iteration info --> <column id="iterationInfo" mandatory="true" propertyEditor="IterationInfoEditor" /> <column id="iterationNumber" mandatory="true" maxLength="10" externalAttribute="true" /> <column id="isLatestIteration" mandatory="false" maxLength="10" externalAttribute="true" /> <!-- Folder --> <column id="folder" mandatory="true" externalAttribute="true" /> </command> <command name="ADD_DOC_DOCMASTER_LINK" targetEntity="io.github.jsoagger.core.model.document.DocumentDocMasterLink" writers-ref="LineBeanToTypedLinkEntityWriter" processors-ref="VLCSVToBeanProcessor;VLLineBeanDomainProcessor"> <column id="command" mandatory="true" maxLength="255" /> <column id="constraintInternalName" mandatory="true" externalAttribute="true" /> <column id="roleA" mandatory="true" propertyEditor="ByExactNumberVersionIterationEditor" /> <column id="roleAClass" mandatory="true" externalAttribute="true" /> <column id="roleANumber" mandatory="true" externalAttribute="true" /> <column id="roleAVersion" mandatory="true" externalAttribute="true" /> <column id="roleAIteration" mandatory="false" externalAttribute="true" /> <column id="roleB" mandatory="true" propertyEditor="MasterByNumberEditor" /> <column id="roleBClass" mandatory="true" externalAttribute="true" /> <column id="roleBNumber" mandatory="true" externalAttribute="true" /> </command> <command name="ADD_DOC_DOCITERATION_LINK" targetEntity="io.github.jsoagger.core.model.document.DocumentDocumentLink" writers-ref="LineBeanToTypedLinkEntityWriter" processors-ref="VLCSVToBeanProcessor;VLLineBeanDomainProcessor"> <column id="command" mandatory="true" maxLength="255" /> <column id="constraintInternalName" mandatory="true" externalAttribute="true" /> <column id="roleA" mandatory="true" propertyEditor="ByExactNumberVersionIterationEditor" /> <column id="roleAClass" mandatory="true" externalAttribute="true" /> <column id="roleANumber" mandatory="true" externalAttribute="true" /> <column id="roleAVersion" mandatory="true" externalAttribute="true" /> <column id="roleAIteration" mandatory="false" externalAttribute="true" /> <column id="roleB" mandatory="true" propertyEditor="ByExactNumberVersionIterationEditor" /> <column id="roleBClass" mandatory="true" externalAttribute="true" /> <column id="roleBNumber" mandatory="true" externalAttribute="true" /> <column id="roleBVersion" mandatory="true" externalAttribute="true" /> <column id="roleBIteration" mandatory="false" externalAttribute="true" /> </command> </mappingFile>