OSDN Git Service

DBFlute-0.9.3に更新
[ea2ddl/ea2ddl.git] / ea2ddl-dao / src / main / java / jp / sourceforge / ea2ddl / dao / allcommon / cbean / mapping / EntityDtoMapper.java
1 package jp.sourceforge.ea2ddl.dao.allcommon.cbean.mapping;\r
2 \r
3 /**\r
4  * The mapper of entity-to-dto.\r
5  * @param <ENTITY> The type of entity.\r
6  * @param <DTO> The type of dto.\r
7  * @author DBFlute(AutoGenerator)\r
8  */\r
9 public interface EntityDtoMapper<ENTITY, DTO> {\r
10 \r
11     /**\r
12      * Map entity to data transfer object.\r
13      * @param entity Entity. (NotNull)\r
14      * @return Data transfer object. (NotNull)\r
15      */\r
16     public DTO map(ENTITY entity);\r
17 }\r