类 TimestampGenerator
java.lang.Object
org.anyline.entity.generator.init.TimestampGenerator
- 所有已实现的接口:
PrimaryGenerator
-
嵌套类概要
从接口继承的嵌套类/接口 org.anyline.entity.generator.PrimaryGenerator
PrimaryGenerator.GENERATOR -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明booleanbooleancreate(Object entity, DatabaseType type, String table, LinkedHashMap<String, Column> columns, String other) boolean生成主键值并完成赋值
-
构造器详细资料
-
TimestampGenerator
public TimestampGenerator()
-
-
方法详细资料
-
create
public boolean create(Object entity, DatabaseType type, String table, List<String> columns, String other) 从接口复制的说明:PrimaryGenerator生成主键值并完成赋值- 指定者:
create在接口中PrimaryGenerator- 参数:
entity- entity或DataRowtype- 数据库类型table- 表columns- 主键, 有可能是空, 可以通过EntityAdapterProxy提取other- 其他参数- 返回:
- 是否成功创建
-
create
public boolean create(Object entity, DatabaseType type, String table, LinkedHashMap<String, Column> columns, String other) - 指定者:
create在接口中PrimaryGenerator
-
create
-