spring-config.jobs.mapping.contentFormatMapping.xml Maven / Gradle / Ivy
The newest version!
<?xml version="1.0" encoding="UTF-8"?> <mappingFile targetEntity="io.github.jsoagger.core.model.api.contentHolder.ContentItemFormat"> <command name="ADD" writers-ref="LineBeanToContentFormatWriter" processors-ref="VLCSVToBeanProcessor"> <column id="command" mandatory="true" maxLength="255" /> <column id="name" mandatory="true" maxLength="255" blankAllowed="false" /> <column id="mimeType" mandatory="true" maxLength="255" blankAllowed="false" /> <column id="description" mandatory="false" maxLength="255" blankAllowed="false" /> <column id="iconPath" mandatory="false" maxLength="255" /> <column id="preferedApplicationName" mandatory="false" maxLength="255" /> <column id="extensions" mandatory="true" maxLength="255" blankAllowed="false" /> </command> <!-- EXPORT_FOR_UPDATE: exports updatable columns only --> <command name="UPDATE" writers-ref="LineBeanToContentFormatWriter" processors-ref="VLCSVToBeanProcessor"> <column id="command" mandatory="true" maxLength="255" /> <column id="fullIdentifier" mandatory="true" externalAttribute="true" propertyEditor="PersistableByFullIdEditor"/> <column id="name" mandatory="true" maxLength="255" blankAllowed="false" /> <column id="mimeType" mandatory="true" maxLength="255" blankAllowed="false" /> <column id="description" mandatory="false" maxLength="255" blankAllowed="false" /> <column id="iconPath" mandatory="false" maxLength="255" /> <column id="preferedApplicationName" mandatory="false" maxLength="255" /> <column id="extensions" mandatory="true" maxLength="255" blankAllowed="false" /> </command> <command name="EXPORT_FOR_UPDATE"> <column id="command" constant="UPDATE" /> <column id="fullIdentifier" propertyEditor="ObjectFullIdentifierPropetyEditor"/> <column id="name" /> <column id="mime_type" /> <column id="description" /> <column id="icon_path" /> <column id="application" /> <column id="extensions" /> </command> </mappingFile>