Package google.registry.model.transfer
Class DomainTransferData
- java.lang.Object
-
- google.registry.model.ImmutableObject
-
- google.registry.model.transfer.BaseTransferObject
-
- google.registry.model.transfer.TransferData
-
- google.registry.model.transfer.DomainTransferData
-
- All Implemented Interfaces:
Buildable
,UnsafeSerializable
,java.io.Serializable
,java.lang.Cloneable
@Embeddable public class DomainTransferData extends TransferData
Transfer data for domain.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DomainTransferData.Builder
-
Nested classes/interfaces inherited from class google.registry.model.transfer.TransferData
TransferData.TransferServerApproveEntity
-
Nested classes/interfaces inherited from class google.registry.model.ImmutableObject
ImmutableObject.DoNotHydrate, 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 Modifier and Type Field Description VKey<BillingCancellation>
billingCancellationId
static DomainTransferData
EMPTY
-
Fields inherited from class google.registry.model.ImmutableObject
hashCode
-
-
Constructor Summary
Constructors Constructor Description DomainTransferData()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DomainTransferData.Builder
asBuilder()
DomainTransferData.Builder
copyConstantFieldsToBuilder()
Returns a fresh Builder populated only with the constant fields of this TransferData, i.e.protected DomainTransferData.Builder
createEmptyBuilder()
VKey<BillingRecurrence>
getServerApproveAutorenewEvent()
VKey<PollMessage.Autorenew>
getServerApproveAutorenewPollMessage()
java.lang.Long
getServerApproveAutorenewPollMessageHistoryId()
VKey<BillingEvent>
getServerApproveBillingEvent()
com.google.common.collect.ImmutableSet<VKey<? extends TransferData.TransferServerApproveEntity>>
getServerApproveEntities()
Period
getTransferPeriod()
org.joda.time.DateTime
getTransferredRegistrationExpirationTime()
boolean
isEmpty()
-
Methods inherited from class google.registry.model.transfer.TransferData
getHistoryEntryId, getTransferRequestTrid
-
Methods inherited from class google.registry.model.transfer.BaseTransferObject
getGainingRegistrarId, getLosingRegistrarId, getPendingTransferExpirationTime, getTransferRequestTime, getTransferStatus
-
Methods inherited from class google.registry.model.ImmutableObject
clone, cloneEmptyToNull, createVKey, equals, getSignificantFields, hashCode, toDiffableFieldMap, toHydratedString, toString, toStringHelper
-
-
-
-
Field Detail
-
EMPTY
public static final DomainTransferData EMPTY
-
billingCancellationId
public VKey<BillingCancellation> billingCancellationId
-
-
Method Detail
-
copyConstantFieldsToBuilder
public DomainTransferData.Builder copyConstantFieldsToBuilder()
Description copied from class:TransferData
Returns a fresh Builder populated only with the constant fields of this TransferData, i.e. those that are fixed and unchanging throughout the transfer process.These fields are:
- transferRequestTrid
- transferRequestTime
- gainingClientId
- losingClientId
- transferPeriod
- Overrides:
copyConstantFieldsToBuilder
in classTransferData
-
getTransferPeriod
public Period getTransferPeriod()
-
getTransferredRegistrationExpirationTime
@Nullable public org.joda.time.DateTime getTransferredRegistrationExpirationTime()
-
getServerApproveBillingEvent
@Nullable public VKey<BillingEvent> getServerApproveBillingEvent()
-
getServerApproveAutorenewEvent
@Nullable public VKey<BillingRecurrence> getServerApproveAutorenewEvent()
-
getServerApproveAutorenewPollMessage
@Nullable public VKey<PollMessage.Autorenew> getServerApproveAutorenewPollMessage()
-
getServerApproveAutorenewPollMessageHistoryId
@Nullable public java.lang.Long getServerApproveAutorenewPollMessageHistoryId()
-
getServerApproveEntities
public com.google.common.collect.ImmutableSet<VKey<? extends TransferData.TransferServerApproveEntity>> getServerApproveEntities()
- Overrides:
getServerApproveEntities
in classTransferData
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in classTransferData
-
createEmptyBuilder
protected DomainTransferData.Builder createEmptyBuilder()
- Specified by:
createEmptyBuilder
in classTransferData
-
asBuilder
public DomainTransferData.Builder asBuilder()
- Specified by:
asBuilder
in interfaceBuildable
- Specified by:
asBuilder
in classTransferData
-
-