Package google.registry.model.poll
Class PollMessage.Autorenew
- java.lang.Object
-
- google.registry.model.ImmutableObject
-
- google.registry.model.poll.PollMessage
-
- google.registry.model.poll.PollMessage.Autorenew
-
- All Implemented Interfaces:
Buildable
,DatastoreAndSqlEntity
,DatastoreEntity
,SqlEntity
,TransferData.TransferServerApproveEntity
,UnsafeSerializable
,java.io.Serializable
,java.lang.Cloneable
- Enclosing class:
- PollMessage
@Entity public static class PollMessage.Autorenew extends PollMessage
An auto-renew poll message which recurs annually.Auto-renew poll messages are not deleted until the registration of their parent domain has been canceled, because there will always be a speculative renewal for next year until that happens.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PollMessage.Autorenew.Builder
A builder forPollMessage.Autorenew
since it is immutable.-
Nested classes/interfaces inherited from class google.registry.model.poll.PollMessage
PollMessage.Autorenew, PollMessage.OneTime
-
Nested classes/interfaces inherited from class google.registry.model.ImmutableObject
ImmutableObject.DoNotCompare, ImmutableObject.DoNotHydrate, ImmutableObject.EmptySetToNull, ImmutableObject.IgnoredInDiffableMap, ImmutableObject.Insignificant
-
Nested classes/interfaces inherited from interface google.registry.model.Buildable
Buildable.GenericBuilder<S,B extends Buildable.GenericBuilder<?,?>>, Buildable.Overlayable<T>
-
-
Field Summary
-
Fields inherited from class google.registry.model.ImmutableObject
hashCode
-
-
Constructor Summary
Constructors Constructor Description Autorenew()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PollMessage.Autorenew.Builder
asBuilder()
Override Buildable.asBuilder() to give this method stronger typing.static VKey<PollMessage.Autorenew>
convertVKey(VKey<? extends PollMessage> key)
Converts an unspecialized VKey<PollMessage> to a VKey of the derived class.VKey<PollMessage.Autorenew>
createVKey()
org.joda.time.DateTime
getAutorenewEndTime()
com.google.common.collect.ImmutableList<EppResponse.ResponseData>
getResponseData()
java.lang.String
getTargetId()
-
Methods inherited from class google.registry.model.poll.PollMessage
createVKey, getEventTime, getId, getMsg, getParentKey, getRegistrarId
-
Methods inherited from class google.registry.model.ImmutableObject
clone, cloneEmptyToNull, equals, getSignificantFields, hashCode, toDiffableFieldMap, toHydratedString, toString, toStringHelper
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface google.registry.model.replay.DatastoreAndSqlEntity
toDatastoreEntity, toSqlEntity
-
Methods inherited from interface google.registry.model.replay.DatastoreEntity
beforeDatastoreSaveOnReplay
-
Methods inherited from interface google.registry.model.replay.SqlEntity
beforeSqlSaveOnReplay, getPrimaryKeyString
-
-
-
-
Method Detail
-
getTargetId
public java.lang.String getTargetId()
-
getAutorenewEndTime
public org.joda.time.DateTime getAutorenewEndTime()
-
createVKey
public VKey<PollMessage.Autorenew> createVKey()
- Specified by:
createVKey
in interfaceTransferData.TransferServerApproveEntity
- Specified by:
createVKey
in classPollMessage
-
convertVKey
@Nullable public static VKey<PollMessage.Autorenew> convertVKey(VKey<? extends PollMessage> key)
Converts an unspecialized VKey<PollMessage> to a VKey of the derived class.
-
getResponseData
public com.google.common.collect.ImmutableList<EppResponse.ResponseData> getResponseData()
- Specified by:
getResponseData
in classPollMessage
-
asBuilder
public PollMessage.Autorenew.Builder asBuilder()
Description copied from class:PollMessage
Override Buildable.asBuilder() to give this method stronger typing.- Specified by:
asBuilder
in interfaceBuildable
- Specified by:
asBuilder
in classPollMessage
-
-