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

com.inspiresoftware.lib.dto.geda.examples.usecases.maps.DtoMapToMapByKeyClass Maven / Gradle / Ivy

There is a newer version: 3.2.0
Show newest version

/*
 * This code is distributed under The GNU Lesser General Public License (LGPLv3)
 * Please visit GNU site for LGPLv3 http://www.gnu.org/copyleft/lesser.html
 *
 * Copyright Denis Pavlov 2009
 * Web: http://www.genericdtoassembler.org
 * SVN: https://svn.code.sf.net/p/geda-genericdto/code/trunk/
 * SVN (mirror): http://geda-genericdto.googlecode.com/svn/trunk/
 */

package com.inspiresoftware.lib.dto.geda.examples.usecases.maps;

import com.inspiresoftware.lib.dto.geda.annotations.Dto;
import com.inspiresoftware.lib.dto.geda.annotations.DtoMap;
import org.junit.Ignore;

import java.util.Map;


/**
 * Test DTO for Assembler.
 *
 * @author Denis Pavlov
 * @since 1.0.0
 *
 */
@Dto
@Ignore
public class DtoMapToMapByKeyClass implements DtoMapByKeyIterface {
	
	@DtoMap(value = "items",
			   dtoBeanKey = "dtoItem",
			   entityBeanKeys = "entityItem",
			   dtoToEntityMatcher = MapEntityByKeyMatcher.class,
			   entityGenericType = EntityItemInterface.class,
			   useEntityMapKey = true)
	private Map items;

	/**
	 * @return items
	 */
	public Map getItems() {
		return items;
	}

	/**
	 * @param items items
	 */
	public void setItems(final Map items) {
		this.items = items;
	} 
	
	
	
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy