Package google.registry.model
Class UpdateAutoTimestamp
java.lang.Object
google.registry.model.ImmutableObject
google.registry.model.UpdateAutoTimestamp
- All Implemented Interfaces:
UnsafeSerializable
,Serializable
,Cloneable
A timestamp that auto-updates on each save to Cloud SQL.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class google.registry.model.ImmutableObject
ImmutableObject.DoNotHydrate, ImmutableObject.IgnoredInDiffableMap, ImmutableObject.Insignificant
-
Field Summary
Fields inherited from class google.registry.model.ImmutableObject
hashCode
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic UpdateAutoTimestamp
create
(org.joda.time.DateTime timestamp) org.joda.time.DateTime
Returns the timestamp, orSTART_OF_TIME
if it's null.Methods inherited from class google.registry.model.ImmutableObject
clone, cloneEmptyToNull, createVKey, equals, getSignificantFields, hashCode, toDiffableFieldMap, toHydratedString, toString, toStringHelper
-
Constructor Details
-
UpdateAutoTimestamp
public UpdateAutoTimestamp()
-
-
Method Details
-
getTimestamp
public org.joda.time.DateTime getTimestamp()Returns the timestamp, orSTART_OF_TIME
if it's null. -
create
-