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
,Serializable
,Cloneable
- Direct Known Subclasses:
ContactTransferData
,DomainTransferData
@MappedSuperclass
public abstract class TransferData
extends BaseTransferObject
implements Buildable
Common transfer data for
EppResource
types. Only applies to domains and contacts; hosts
are implicitly transferred with their superordinate domain.- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
TransferData.Builder<T extends TransferData,
B extends TransferData.Builder<T, B>> Builder forTransferData
because it is immutable.static interface
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
-
Method Summary
Modifier and TypeMethodDescriptionabstract TransferData.Builder
<?, ?> TransferData.Builder
<?, ?> Returns a fresh Builder populated only with the constant fields of this TransferData, i.e.protected abstract TransferData.Builder
<?, ?> com.google.common.collect.ImmutableSet
<VKey<? extends TransferData.TransferServerApproveEntity>> 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
-
Constructor Details
-
TransferData
public TransferData()
-
-
Method Details
-
isEmpty
public abstract boolean isEmpty() -
getHistoryEntryId
-
getTransferRequestTrid
-
getServerApproveEntities
public com.google.common.collect.ImmutableSet<VKey<? extends TransferData.TransferServerApproveEntity>> getServerApproveEntities() -
asBuilder
-
createEmptyBuilder
-
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
-