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

dozer-mapping.out-mappings.group-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, container
           -->
          <mapping 	map-id="group_root_data" 
          			wildcard="false" 
          			type="one-way"  
          			relationship-type="non-cumulative" 
          			trim-strings="true">
          		
				<class-a>io.github.jsoagger.core.model.people.account.Group</class-a>   
				<class-b>io.github.jsoagger.core.model.people.account.GroupVO</class-b>
				
				<field-exclude>
					<a>containerInfo</a>
					<b>container</b>
				</field-exclude>
				<field-exclude>
					<a>members</a>
					<b>members</b>
				</field-exclude>  
				<field-exclude>
					<a>children</a>
					<b>subGroups</b>
				</field-exclude>           		
				<field-exclude>
					<a>parent</a>
					<b>parent</b>
				</field-exclude> 
          </mapping>
          
          <!-- 
          		Fetched: persistence info, container
           -->
          <mapping 	map-id="group_root_data_fetchChildren" 
          			wildcard="false" 
          			type="one-way"  
          			relationship-type="non-cumulative" 
          			trim-strings="true">
          		
				<class-a>io.github.jsoagger.core.model.people.account.Group</class-a>   
				<class-b>io.github.jsoagger.core.model.people.account.GroupVO</class-b>
				
				<field-exclude>
					<a>containerInfo</a>
					<b>container</b>
				</field-exclude>
				<field-exclude>
					<a>members</a>
					<b>members</b>
				</field-exclude>  
				<field-exclude>
					<a>parent</a>
					<b>parent</b>
				</field-exclude> 
          </mapping>
          
          <!-- 
          		With members and children
           -->
          <mapping 	map-id="group_fetch_member_and_children" 
          			wildcard="false" 
          			type="one-way"  
          			relationship-type="non-cumulative" 
          			trim-strings="true">
					
				<class-a>io.github.jsoagger.core.model.people.account.Group</class-a>   
				<class-b>io.github.jsoagger.core.model.people.account.GroupVO</class-b>
				     
				<field-exclude>
					<a>parent</a>
					<b>parent</b>
				</field-exclude> 
          </mapping>
</mappings>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy