spring-config.jobs.mapping.viewDefinitionMapping.xml Maven / Gradle / Ivy
The newest version!
<?xml version="1.0" encoding="UTF-8"?> <mappingFile> <command name="ADD_VIEW_DEF_ROOT" writers-ref="LineBeanToViewDefinitionWriter" processors-ref="VLCSVToBeanProcessor" targetEntity="io.github.jsoagger.core.model.uimodel.UIViewDefinition" dependent-commands="ADD_ATTACHMENT_ON_NEW_CH" dependent-commands-processor="AttachmentsContentProcessor"> <column id="command" mandatory="true" maxLength="255" /> <column id="internalName" mandatory="true" maxLength="255" /> <column id="displayName" mandatory="true" maxLength="255" /> <column id="contentInfo" mandatory="true" entityAttribute="true" propertyEditor="FilePathToPrimaryContentPropertyEditor" /> <column id="description" mandatory="false" maxLength="255" /> </command> <!-- As dependent-commands definition must be in same file as its parent command, each file importing attachments must be declare below definition. --> <command name="ADD_ATTACHMENT_ON_NEW_CH" targetEntity="io.github.jsoagger.core.model.api.contentHolder.ContentItemAttachment"> <column id="command" mandatory="true" maxLength="255" /> <column id="mimeType" mandatory="true" maxLength="255" externalAttribute="true"/> <column id="name" mandatory="true" maxLength="255" /> <!-- Type can be file or url--> <column id="type" mandatory="true" maxLength="255" externalAttribute="true"/> <!-- If type is file: path to that file --> <!-- If type is url: the url --> <column id="content" mandatory="true" externalAttribute="true"/> </command> </mappingFile>