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

dozer-mapping.in-mappings.group-in.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">
          
          <mapping 	map-id="create_group" 
          			wildcard="false" 
          			type="one-way"  
          			relationship-type="non-cumulative" 
          			trim-strings="true">
          		
          		<class-a>io.github.jsoagger.core.model.people.account.GroupVO</class-a>
				<class-b>io.github.jsoagger.core.model.people.account.Group</class-b>   
				
				<field>
					<a>name</a>
					<b>name</b>
				</field>
				<field>
					<a>description</a>
					<b>description</b>
				</field>
				
				<field-exclude>
					<a>container</a>
					<b>containerInfo</b>
				</field-exclude>
				<field-exclude>
					<a>members</a>
					<b>members</b>
				</field-exclude>  
				<field-exclude>
					<a>subGroups</a>
					<b>children</b>
				</field-exclude>           		
				<field-exclude>
					<a>parent</a>
					<b>parent</b>
				</field-exclude>
			</mapping>
			
			
			<mapping 	map-id="update_group" 
          			wildcard="false" 
          			type="one-way"  
          			relationship-type="non-cumulative" 
          			trim-strings="true">
          		
          		<class-a>io.github.jsoagger.core.model.people.account.GroupVO</class-a>
				<class-b>io.github.jsoagger.core.model.people.account.Group</class-b>   
				
				<field>
					<a>name</a>
					<b>name</b>
				</field>
				<field>
					<a>description</a>
					<b>description</b>
				</field>
				<field>
					<a>persistenceInfo.id</a>
					<b>id</b>
				</field>
				<field>
					<a>persistenceInfo.version</a>
					<b>version</b>
				</field>
				
				<field-exclude>
					<a>container</a>
					<b>containerInfo</b>
				</field-exclude>
				<field-exclude>
					<a>members</a>
					<b>members</b>
				</field-exclude>  
				<field-exclude>
					<a>subGroups</a>
					<b>children</b>
				</field-exclude>           		
				<field-exclude>
					<a>parent</a>
					<b>parent</b>
				</field-exclude>
			</mapping>
</mappings>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy