spring-config.jobs.mapping.elementMapping.xml Maven / Gradle / Ivy
The newest version!
<?xml version="1.0" encoding="UTF-8"?> <mappingFile> <command name="ADD_ELEMENT_MASTER" targetEntity="io.github.jsoagger.core.model.part.ElementMaster" writers-ref="VLLineBeanToElementWriter" processors-ref="VLCSVToBeanProcessor;VLLineBeanDomainProcessor" dependent-commands="ADD_ELEMENT_ITERATION" dependent-commands-processor="IterationToMasterLinkProcessor"> <column id="command" mandatory="true" maxLength="255" /> <column id="number" mandatory="false" maxLength="255" /> <column id="name" mandatory="true" maxLength="255" /> <column id="description" mandatory="true" maxLength="255" /> <column id="source" mandatory="false" propertyEditor="ElementSourceEnumConverter" /> <column id="typeInfo" mandatory="true" propertyEditor="TypeInfoByLogicalPathEditor" /> <column id="folder" mandatory="true" externalAttribute="true" /> </command> <command name="ADD_ELEMENT_ITERATION" targetEntity="io.github.jsoagger.core.model.part.Element"> <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_ELEMENT_TO_ELEMENT_MASTER_LINK" targetEntity="io.github.jsoagger.core.model.part.ElementToElementMasterLink" 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="ElementByVersionIterationEditor" /> <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="ElementMasterByNumberEditor" /> <column id="quantity" mandatory="true" externalAttribute="true" /> <column id="quantityUnit" mandatory="true" externalAttribute="true" /> </command> <command name="ADD_ELEMENT_TO_ELEMENT_LINK" targetEntity="io.github.jsoagger.core.model.part.ElementToElementLink" 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="ElementByVersionIterationEditor" /> <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="ElementByVersionIterationEditor" /> <column id="roleBNumber" mandatory="true" externalAttribute="true" /> <column id="roleBVersion" mandatory="true" externalAttribute="true" /> <column id="roleBIteration" mandatory="false" externalAttribute="true" /> </command> </mappingFile>