spring-config.jobs.mapping.linksConstraintsMapping.xml Maven / Gradle / Ivy
The newest version!
<?xml version="1.0" encoding="UTF-8"?> <mappingFile targetEntity="io.github.jsoagger.core.model.link.TypedObjectLinkConstraint"> <command name="ADD_TYPEDOBJECT_LINK_CONSTRAINT" writers-ref="VLLineBeanToLinkconstraintWriter" processors-ref="VLCSVToBeanProcessor" dependent-commands="ADD_TYPEDOBJECT_LINK_CONSTRAINT_AGREGATION" dependent-commands-processor="LinkTypeDependendRowsProcessor"> <column id="command" mandatory="true" maxLength="255" /> <column id="ownerLinkTypeLogicalPath" mandatory="true" externalAttribute="true" /> <column id="displayName" mandatory="true" /> <column id="description" mandatory="true" /> <column id="internalName" mandatory="true" /> <column id="i18nKey" mandatory="false" /> <column id="containerInfo" mandatory="true" propertyEditor="ContainerInfoByLogicalPathEditor"/> </command> <command name="ADD_TYPEDOBJECT_LINK_CONSTRAINT_AGREGATION"> <column id="command" mandatory="true" maxLength="255" /> <column id="roleATypeFullPath" mandatory="true" /> <column id="roleBTypeFullPath" mandatory="true" /> <column id="displayName" mandatory="false" maxLength="200" /> <column id="internalName" mandatory="false" maxLength="200" /> <column id="i18nKey" mandatory="false" maxLength="200" /> <column id="includeChildren" mandatory="true" /> </command> <!-- ADD A NEW AGREATION TO AN EXISTING ADD_TYPEDOBJECT_LINK_CONSTRAINT. USE WHEN CONSTRAINTS HAVE BEEN ALREADY LOADED AND WANT TO ADD NEW ONE ON EXISTING --> <command name="ADD_TYPEDOBJECT_LINK_CONSTRAINT_AGREGATION_TO_EXISTING" writers-ref="VLLineBeanAddConstraintLinkAgregationToExistingWriter" targetEntity="io.github.jsoagger.core.model.link.TypedObjectLinkConstraintAgregation" processors-ref="VLCSVToBeanProcessor;VLLineBeanDomainProcessor" > <column id="command" mandatory="true" maxLength="255" /> <column id="linkInternalName" mandatory="true" /> <column id="linkDisplayName" mandatory="true" /> <column id="linkI18nKey" mandatory="true" /> <column id="roleA" mandatory="false" maxLength="200" propertyEditor="TypeByLogicalPathEditor"/> <column id="roleB" mandatory="true" externalAttribute="true"/> <column id="linkConstraintInternalName" mandatory="true" externalAttribute="true" /> </command> </mappingFile>