Class TimedTransitionProperty.TimedTransition<V extends java.io.Serializable>
- All Implemented Interfaces:
- Direct Known Subclasses:
- Enclosing class:
- TimedTransitionProperty<V extends java.io.Serializable,T extends TimedTransitionProperty.TimedTransition<V>>
public abstract static class TimedTransitionProperty.TimedTransition<V extends java.io.Serializable> extends ImmutableObject implements UnsafeSerializableA transition to a value of type
Vat a certain time. This superclass only has a field for the
DateTime, which means that subclasses should supply the field of type
Vand implementations of the abstract getter and setter methods to access that field. This design is so that subclasses tagged with @Embed can define a custom field name for their value, for the purpose of backwards compatibility and better readability of the Datastore representation.
The public visibility of this class exists only so that it can be subclassed; clients should never call any methods on this class or attempt to access its members, but should instead treat it as a customizable implementation detail of
TimedTransitionProperty. However, note that subclasses must also have public visibility so that they can be instantiated via reflection in a call to
- See Also:
- Serialized Form
Constructors Constructor Description
All Methods Instance Methods Abstract Methods Modifier and Type Method Description
protected abstract V
getValue()Returns the value that this transition will activate.
protected abstract void
setValue(V value)Sets the value that will be activated at this transition's time.
Methods inherited from class google.registry.model.ImmutableObject
clone, cloneEmptyToNull, equals, getSignificantFields, hashCode, toDiffableFieldMap, toHydratedString, toString, toStringHelper