一个数据访问层Torque3.1的生成器的源代码

源代码在线查看: interface.vm

软件大小: 241 K
上传用户: xiaochonghan
关键词: Torque 3.1 数据访问 生成器
下载地址: 免注册下载 普通下载 VIP

相关代码

				package ${package};								import java.io.Serializable;				import java.util.Date;				import java.math.BigDecimal;								/**				#if ($addTimeStamp)				 * This interface was autogenerated by Torque on:				 *				 * [$now]				 *				#end				 * You should not use this interface directly.  It should not even be				 * extended all references should be to ${table.JavaName}Interface				 */				public interface ${basePrefix}${table.JavaName}Interface extends Serializable				{								    #foreach ($col in $table.Columns)				        #set ( $cfc=$col.JavaName )				        #set ( $cfc=$cfc.replaceFirst(".", $cfc.substring(0,1).toUpperCase()) )				        #set ( $clo=$col.Name.toLowerCase() )				        #set ( $cjtype = $col.JavaPrimitive )								     /**				      * Get the $cfc				      * @return $cjtype				      */				     public $cjtype get${cfc}();								     /**				      * Set the value of $cfc				      */				     public void set${cfc}($cjtype v );								     #end								}							

相关资源