spring-config.jobs.mapping.enTemplateMapping.xml Maven / Gradle / Ivy
The newest version!
<?xml version="1.0" encoding="UTF-8"?> <mappingFile targetEntity="io.github.jsoagger.core.model.util.ENTemplate"> <command name="ADD" writers-ref="LineBeanToEnTemplateWriter" processors-ref="VLCSVToBeanProcessor"> <column id="command" mandatory="true" maxLength="255" /> <column id="internalName" mandatory="true" maxLength="255" blankAllowed="false" /> <column id="displayName" mandatory="true" maxLength="255" blankAllowed="false" /> <column id="description" mandatory="false" maxLength="255" blankAllowed="false" /> <column id="messageTitle" mandatory="true" maxLength="255" blankAllowed="false" /> <column id="type" mandatory="true" propertyEditor="VLENTemplateTypePropertyEditor" /> <column id="contentType" mandatory="true" maxLength="255" blankAllowed="false" /> <column id="contentInfo" mandatory="true" entityAttribute="true" propertyEditor="FilePathToPrimaryContentPropertyEditor" /> <column id="containerInfo" mandatory="true" propertyEditor="ContainerInfoByLogicalPathEditor"/> </command> <!-- EXPORT FOR UPDATE AND UPDATE --> <command name="UPDATE" writers-ref="LineBeanToEnTemplateWriter" processors-ref="VLCSVToBeanProcessor"> <column id="command" mandatory="true" maxLength="255" /> <column id="fullIdentifier" mandatory="true" propertyEditor="PersistableByFullIdEditor" externalAttribute="true"/> <column id="internalName" mandatory="true" maxLength="255" blankAllowed="false" /> <column id="displayName" mandatory="true" maxLength="255" blankAllowed="false" /> <column id="description" mandatory="false" maxLength="255" blankAllowed="false" /> <column id="messageTitle" mandatory="true" maxLength="255" blankAllowed="false" /> <column id="type" mandatory="true" propertyEditor="VLENTemplateTypePropertyEditor" /> <column id="templatePath" mandatory="true" maxLength="255" blankAllowed="false" /> </command> <command name="EXPORT_FOR_UPDATE"> <column id="command" constant="UPDATE" /> <column id="fullIdentifier" propertyEditor="ObjectFullIdentifierPropetyEditor"/> <column id="internal_name" /> <column id="display_name" /> <column id="description" /> <column id="message_title" /> <column id="type" /> <column id="template_path" /> </command> </mappingFile>