Package google.registry.model.transfer
Class TransferData
- java.lang.Object
-
- google.registry.model.ImmutableObject
-
- google.registry.model.transfer.BaseTransferObject
-
- google.registry.model.transfer.TransferData
-
- All Implemented Interfaces:
Buildable
,UnsafeSerializable
,java.io.Serializable
,java.lang.Cloneable
- Direct Known Subclasses:
ContactTransferData
,DomainTransferData
@MappedSuperclass public abstract class TransferData extends BaseTransferObject implements Buildable
Common transfer data forEppResource
types. Only applies to domains and contacts; hosts are implicitly transferred with their superordinate domain.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TransferData.Builder<T extends TransferData,B extends TransferData.Builder<T,B>>
Builder forTransferData
because it is immutable.static interface
TransferData.TransferServerApproveEntity
Marker interface for objects that are written in anticipation of a server approval, and therefore need to be deleted under any other outcome.-
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 inherited from class google.registry.model.ImmutableObject
hashCode
-
-
Constructor Summary
Constructors Constructor Description TransferData()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract TransferData.Builder<?,?>
asBuilder()
TransferData.Builder<?,?>
copyConstantFieldsToBuilder()
Returns a fresh Builder populated only with the constant fields of this TransferData, i.e.protected abstract TransferData.Builder<?,?>
createEmptyBuilder()
java.lang.Long
getHistoryEntryId()
com.google.common.collect.ImmutableSet<VKey<? extends TransferData.TransferServerApproveEntity>>
getServerApproveEntities()
Trid
getTransferRequestTrid()
abstract boolean
isEmpty()
-
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
-
-
-
-
Method Detail
-
isEmpty
public abstract boolean isEmpty()
-
getHistoryEntryId
public java.lang.Long getHistoryEntryId()
-
getTransferRequestTrid
@Nullable public Trid getTransferRequestTrid()
-
getServerApproveEntities
public com.google.common.collect.ImmutableSet<VKey<? extends TransferData.TransferServerApproveEntity>> getServerApproveEntities()
-
asBuilder
public abstract TransferData.Builder<?,?> asBuilder()
-
createEmptyBuilder
protected abstract TransferData.Builder<?,?> createEmptyBuilder()
-
copyConstantFieldsToBuilder
public TransferData.Builder<?,?> copyConstantFieldsToBuilder()
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
-
-