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

dozer-mapping.out-mappings.role-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 and container
		-->
        <mapping 	map-id="role_root_data" 
          			wildcard="false" 
          			type="one-way"  
          			relationship-type="non-cumulative" 
          			trim-strings="true">
          		
				<class-a>io.github.jsoagger.core.model.people.account.Role</class-a>   
				<class-b>io.github.jsoagger.core.model.people.account.RoleVO</class-b>
				
				
				<field>
					<a>name</a>
					<b>name</b>
				</field>
				<field>
					<a>description</a>
					<b>description</b>
				</field>
				<field>
					<a>id</a>
					<b>persistenceInfo.id</b>
				</field>
				<field>
					<a>version</a>
					<b>persistenceInfo.version</b>
				</field>
				<field>
					<a>persistenceInfo.lastModifiedDate</a>
					<b>persistenceInfo.lastModificationDate</b>
				</field>
				<field>
					<a>persistenceInfo.lastModifiedBy</a>
					<b>persistenceInfo.lastModifiedBy</b>
				</field>
				<field>
					<a>persistenceInfo.createDate</a>
					<b>persistenceInfo.creationDate</b>
				</field>
				<field>
					<a>persistenceInfo.lastModifiedBy</a>
					<b>persistenceInfo.createdBy</b>
				</field>
				
				<field-exclude>
					<a>groups</a>
					<b>groups</b>
				</field-exclude>
				<field-exclude>
					<a>accounts</a>
					<b>accounts</b>
				</field-exclude>
				<field-exclude>
					<a>permissions</a>
					<b>permissions</b>
				</field-exclude>
				
		</mapping>
		 
		<!-- 
				Fetched: persistence info, container, permission
		-->
        <mapping 	map-id="role_permissions" 
          			wildcard="false" 
          			type="one-way"  
          			relationship-type="non-cumulative" 
          			trim-strings="true">
          		
				<class-a>io.github.jsoagger.core.model.people.account.Role</class-a>   
				<class-b>io.github.jsoagger.core.model.people.account.RoleVO</class-b>
				
				
				<field>
					<a>name</a>
					<b>name</b>
				</field>
				<field>
					<a>description</a>
					<b>description</b>
				</field>
				<field>
					<a>id</a>
					<b>persistenceInfo.id</b>
				</field>
				<field>
					<a>version</a>
					<b>persistenceInfo.version</b>
				</field>
				<field>
					<a>persistenceInfo.lastModifiedDate</a>
					<b>persistenceInfo.lastModificationDate</b>
				</field>
				<field>
					<a>persistenceInfo.lastModifiedBy</a>
					<b>persistenceInfo.lastModifiedBy</b>
				</field>
				<field>
					<a>persistenceInfo.createDate</a>
					<b>persistenceInfo.creationDate</b>
				</field>
				<field>
					<a>persistenceInfo.createdBy</a>
					<b>persistenceInfo.createdBy</b>
				</field>
				<field>
					<a>containerInfo.containerInstance</a>
					<b>container</b>
				</field>
				<field>
					<a>permissions</a>
					<b>permissions</b>
				</field>
				
				<field-exclude>
					<a>groups</a>
					<b>groups</b>
				</field-exclude>
				<field-exclude>
					<a>accounts</a>
					<b>accounts</b>
				</field-exclude>
		</mapping>
		  
</mappings>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy