All Downloads are FREE. Search and download functionalities are using the official Maven repository.

spring-config.jobs.mapping.lifecycleMapping.xml Maven / Gradle / Ivy

The newest version!
<?xml version="1.0" encoding="UTF-8"?>

<mappingFile targetEntity="io.github.jsoagger.core.model.api.lifecyclemanaged.Lifecycle" targetMaster="io.github.jsoagger.core.model.api.lifecyclemanaged.LifecycleMaster">
     <command name="ADD" writers-ref="VLLineBeanToLifecycleWriter" processors-ref="VLCSVToBeanProcessor">
          <column id="command" mandatory="true" maxLength="255" />
          <column id="name" mandatory="true" maxLength="255" blankAllowed="false" masterAttribute="true" />
          <column id="description" mandatory="false" maxLength="255" blankAllowed="false" masterAttribute="true" />
          <column id="contentInfo" mandatory="true" entityAttribute="true" propertyEditor="FilePathToPrimaryContentPropertyEditor" />
          <column id="containerInfo" mandatory="true" propertyEditor="ContainerInfoByLogicalPathEditor"/>
     </command>

	<!--
		Export for update 
	 -->
     <command name="UPDATE" writers-ref="VLLineBeanToLifecycleWriter" processors-ref="VLCSVToBeanProcessor" 
     	  targetEntity="io.github.jsoagger.core.model.api.lifecyclemanaged.LifecycleMaster">
          <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="description" mandatory="false" maxLength="255" blankAllowed="false"/>
     </command>
     <command name="EXPORT_FOR_UPDATE" targetEntity="io.github.jsoagger.core.model.api.lifecyclemanaged.LifecycleMaster">
     	<column id="command" constant="UPDATE" />
     	<column id="fullIdentifier" propertyEditor="ObjectFullIdentifierPropetyEditor"/>
        <column id="name" 			mandatory="true"/>
        <column id="description" mandatory="false"/>
     </command>

	<!--
		Export primary content
		The content is on the iteration not on master!
	 -->
     <command name="EXPORT_FOR_UPDATE_PRIMARY_CONTENT" targetEntity="io.github.jsoagger.core.model.api.lifecyclemanaged.Lifecycle">
          <column id="command" constant="UPDATE_PRIMARY_CONTENT" />
          <column id="fullIdentifier" propertyEditor="ObjectFullIdentifierPropetyEditor"/>
          <column id="primary_content" propertyEditor="PrimaryContentToFilePropertyEditor" externalAttribute="true" />
     </command>
</mappingFile>






© 2015 - 2024 Weber Informatics LLC | Privacy Policy