dozer-mapping.out-mappings.permission-out.xml Maven / Gradle / Ivy
The newest version!
<?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"> <!-- Fetched: persistence info --> <mapping map-id="permission_root_data" wildcard="true" type="one-way" relationship-type="non-cumulative" trim-strings="true"> <class-a>io.github.jsoagger.core.model.people.account.Permission</class-a> <class-b>io.github.jsoagger.core.model.people.account.PermissionVO</class-b> </mapping> <!-- Just with name and id --> <mapping map-id="permission_minimal" wildcard="false" type="one-way" relationship-type="non-cumulative" trim-strings="true"> <class-a>io.github.jsoagger.core.model.people.account.Permission</class-a> <class-b>io.github.jsoagger.core.model.people.account.PermissionVO</class-b> <field> <a>name</a> <b>name</b> </field> <field> <a>id</a> <b>persistenceInfo.id</b> </field> </mapping> </mappings>