dent.api.ks-common-api.2.0.0-cm.source-code.dozerBeanMapping.xml Maven / Gradle / Ivy
<?xml version="1.0" encoding="UTF-8"?> <mappings xmlns="http://dozer.sourceforge.net" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://dozer.sourceforge.net http://dozer.sourceforge.net/schema/beanmapping.xsd"> <!-- ********************************************************************* --> <!-- KS-COMMON-API --> <!-- ********************************************************************* --> <!-- ks-common-api: org.kuali.student.common.versionmanagement.dto mappings --> <!-- mapping> <class-a>org.kuali.student.r1.common.versionmanagement.dto.VersionInfo </class-a> <class-b>org.kuali.student.r2.common.versionmanagement.dto.VersionInfo </class-b> </mapping --> <!-- ks-common-api: org.kuali.student.r*.common.dto mappings --> <mapping> <class-a>org.kuali.student.r1.common.dto.StatusInfo</class-a> <class-b>org.kuali.student.r2.common.dto.StatusInfo</class-b> <field> <a>success</a> <b>isSuccess</b> </field> </mapping> <mapping> <class-a>org.kuali.student.r1.common.dto.TypeInfo</class-a> <class-b>org.kuali.student.r2.core.class1.type.dto.TypeInfo</class-b> <field> <a>id</a> <b>key</b> </field> <field custom-converter="org.kuali.student.common.conversion.util.converter.AttributeInfoConverter"> <a>attributes</a><!-- This is a Map<String, String> --> <b>attributes</b><!-- This is a List<AttributeInfo> --> <a-hint>java.util.HashMap</a-hint> <b-hint>java.util.ArrayList</b-hint> </field> <field custom-converter="org.kuali.student.common.conversion.util.converter.DescToRichTextConverter"> <a>descr</a><!-- This is a String --> <b get-method="getDescr" set-method="setDescr">descr</b><!-- This is a RichTextInfo --> </field> </mapping> </mappings>