Package google.registry.model.domain
Class DomainCommand.Update
java.lang.Object
google.registry.model.ImmutableObject
google.registry.model.eppinput.ResourceCommand.AbstractSingleResourceCommand
google.registry.model.eppinput.ResourceCommand.ResourceUpdate<DomainCommand.Update.AddRemove,Domain.Builder,DomainCommand.Update.Change>
google.registry.model.domain.DomainCommand.Update
- All Implemented Interfaces:
DomainCommand.CreateOrUpdate<DomainCommand.Update>
,ResourceCommand
,ResourceCommand.SingleResourceCommand
,Cloneable
- Enclosing class:
DomainCommand
public static class DomainCommand.Update
extends ResourceCommand.ResourceUpdate<DomainCommand.Update.AddRemove,Domain.Builder,DomainCommand.Update.Change>
implements DomainCommand.CreateOrUpdate<DomainCommand.Update>
An update to a
Domain
.-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
The inner change type on a domain update command.static class
The inner change type on a domain update command.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.eppinput.ResourceCommand
ResourceCommand.AbstractSingleResourceCommand, ResourceCommand.ResourceCheck, ResourceCommand.ResourceCreateOrChange<B extends Buildable.Builder<?>>, ResourceCommand.ResourceUpdate<A extends ResourceCommand.ResourceUpdate.AddRemove,
B extends EppResource.Builder<?, ?>, C extends ResourceCommand.ResourceCreateOrChange<B>>, ResourceCommand.SingleResourceCommand -
Field Summary
Modifier and TypeFieldDescriptionprotected DomainCommand.Update.AddRemove
protected DomainCommand.Update.Change
protected DomainCommand.Update.AddRemove
Fields inherited from class google.registry.model.ImmutableObject
hashCode
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncloneAndLinkReferences
(org.joda.time.DateTime now) Creates a copy of thisDomainCommand.Update
with hard links to hosts and contacts.protected DomainCommand.Update.AddRemove
protected DomainCommand.Update.Change
protected DomainCommand.Update.AddRemove
boolean
Methods inherited from class google.registry.model.eppinput.ResourceCommand.ResourceUpdate
getInnerAdd, getInnerChange, getInnerRemove
Methods inherited from class google.registry.model.eppinput.ResourceCommand.AbstractSingleResourceCommand
getAuthInfo, getTargetId
Methods inherited from class google.registry.model.ImmutableObject
clone, cloneEmptyToNull, createVKey, 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.eppinput.ResourceCommand.SingleResourceCommand
getAuthInfo, getTargetId
-
Field Details
-
innerChange
-
innerAdd
-
innerRemove
-
-
Constructor Details
-
Update
public Update()
-
-
Method Details
-
getNullableInnerChange
-
getNullableInnerAdd
-
getNullableInnerRemove
-
noChangesPresent
public boolean noChangesPresent() -
cloneAndLinkReferences
public DomainCommand.Update cloneAndLinkReferences(org.joda.time.DateTime now) throws DomainCommand.InvalidReferencesException Creates a copy of thisDomainCommand.Update
with hard links to hosts and contacts.As a side effect, this will turn null innerAdd/innerRemove/innerChange into empty versions of those classes, which is harmless because the getters do that anyways.
- Specified by:
cloneAndLinkReferences
in interfaceDomainCommand.CreateOrUpdate<DomainCommand.Update>
- Throws:
DomainCommand.InvalidReferencesException
-