META-INF.dozer.tms-bean-mappings.xml Maven / Gradle / Ivy
The newest version!
<?xml version="1.0" encoding="UTF-8"?> <mappings xmlns="http://dozermapper.github.io/schema/bean-mapping" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://dozermapper.github.io/schema/bean-mapping http://dozermapper.github.io/schema/bean-mapping.xsd"> <configuration> <stop-on-errors>true</stop-on-errors> <date-format>MM/dd/yyyy HH:mm</date-format> <wildcard>true</wildcard> <custom-converters> <converter type="org.ameba.mapping.LocalDateTimeConverter"> <class-a>java.time.LocalDateTime</class-a> <class-b>java.time.LocalDateTime</class-b> </converter> </custom-converters> </configuration> <mapping> <class-a map-null="false">org.openwms.tms.routing.RouteImpl</class-a> <class-b>org.openwms.tms.routing.ui.RouteVO</class-b> <field> <a is-accessible="true">pKey</a> <b is-accessible="true">key</b> </field> <field> <a is-accessible="true">routeId</a> <b is-accessible="true">name</b> </field> <field> <a is-accessible="true">description</a> <b is-accessible="true">description</b> </field> <field type="one-way"> <a is-accessible="true">sourceLocation.locationId</a> <b is-accessible="true">sourceLocationName</b> </field> <field> <a is-accessible="true">sourceLocationGroupName</a> <b is-accessible="true">sourceLocationGroupName</b> </field> <field type="one-way"> <a is-accessible="true">targetLocation.locationId</a> <b is-accessible="true">targetLocationName</b> </field> <field> <a is-accessible="true">targetLocationGroupName</a> <b is-accessible="true">targetLocationGroupName</b> </field> <field> <a is-accessible="true">enabled</a> <b is-accessible="true">enabled</b> </field> </mapping> <mapping> <class-a map-null="false">org.openwms.tms.routing.Action</class-a> <class-b>org.openwms.tms.routing.ui.ActionVO</class-b> <field> <a is-accessible="true">pKey</a> <b is-accessible="true">key</b> </field> <field> <a is-accessible="true">name</a> <b is-accessible="true">name</b> </field> <field> <a is-accessible="true">actionType</a> <b is-accessible="true">type</b> </field> <field> <a is-accessible="true">description</a> <b is-accessible="true">description</b> </field> <field type="one-way"> <a is-accessible="true">route</a> <b is-accessible="true">route</b> </field> <field> <a is-accessible="true">programKey</a> <b is-accessible="true">program</b> </field> <field> <a is-accessible="true">locationKey</a> <b is-accessible="true">location</b> </field> <field> <a is-accessible="true">locationGroupName</a> <b is-accessible="true">locationGroupName</b> </field> <field> <a is-accessible="true">enabled</a> <b is-accessible="true">enabled</b> </field> </mapping> </mappings>