public class GeneratedUpdateTimestamp extends Object implements GeneratedProperty
| Constructor and Description |
|---|
GeneratedUpdateTimestamp() |
| Modifier and Type | Method and Description |
|---|---|
Object |
getInsertValue(BeanProperty prop,
Object bean)
Return now as a Timestamp.
|
Object |
getUpdateValue(BeanProperty prop,
Object bean)
Return now as a Timestamp.
|
boolean |
includeInInsert()
Include this in every insert.
|
boolean |
includeInUpdate()
For dynamic table updates make sure this is included.
|
boolean |
isDDLNotNullable()
Return true if the GeneratedProperty implies the DDL to create the DB
column should have a not null constraint.
|
public Object getInsertValue(BeanProperty prop, Object bean)
getInsertValue in interface GeneratedPropertypublic Object getUpdateValue(BeanProperty prop, Object bean)
getUpdateValue in interface GeneratedPropertypublic boolean includeInUpdate()
includeInUpdate in interface GeneratedPropertypublic boolean includeInInsert()
includeInInsert in interface GeneratedPropertypublic boolean isDDLNotNullable()
GeneratedPropertyisDDLNotNullable in interface GeneratedPropertyCopyright © 2014. All Rights Reserved.