Class GeneratedUpdateJavaTime.Base
- java.lang.Object
-
- io.ebeaninternal.server.deploy.generatedproperty.GeneratedUpdateJavaTime.Base
-
- All Implemented Interfaces:
GeneratedProperty
,GeneratedWhenModified
- Direct Known Subclasses:
GeneratedUpdateJavaTime.InstantDT
,GeneratedUpdateJavaTime.LocalDT
,GeneratedUpdateJavaTime.OffsetDT
,GeneratedUpdateJavaTime.ZonedDT
- Enclosing class:
- GeneratedUpdateJavaTime
public abstract static class GeneratedUpdateJavaTime.Base extends Object implements GeneratedProperty, GeneratedWhenModified
-
-
Constructor Summary
Constructors Constructor Description Base()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
includeInAllUpdates()
Return true if the property should be included in an update even if it is not loaded (ie.boolean
includeInInsert()
Return true if this should be included in insert statements.boolean
includeInUpdate()
Return true if this should always be includes in an update statement.boolean
isDDLNotNullable()
Return true if the GeneratedProperty implies the DDL to create the DB column should have a not null constraint.-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.ebeaninternal.server.deploy.generatedproperty.GeneratedProperty
getInsertValue, getUpdateValue
-
-
-
-
Constructor Detail
-
Base
public Base()
-
-
Method Detail
-
includeInUpdate
public boolean includeInUpdate()
Description copied from interface:GeneratedProperty
Return true if this should always be includes in an update statement.Used to include GeneratedUpdateTimestamp in dynamic table updates.
- Specified by:
includeInUpdate
in interfaceGeneratedProperty
-
includeInAllUpdates
public boolean includeInAllUpdates()
Description copied from interface:GeneratedProperty
Return true if the property should be included in an update even if it is not loaded (ie. Last Updated Timestamp).- Specified by:
includeInAllUpdates
in interfaceGeneratedProperty
-
includeInInsert
public boolean includeInInsert()
Description copied from interface:GeneratedProperty
Return true if this should be included in insert statements.- Specified by:
includeInInsert
in interfaceGeneratedProperty
-
isDDLNotNullable
public boolean isDDLNotNullable()
Description copied from interface:GeneratedProperty
Return true if the GeneratedProperty implies the DDL to create the DB column should have a not null constraint.- Specified by:
isDDLNotNullable
in interfaceGeneratedProperty
-
-