Package google.registry.model.domain
Class Domain
java.lang.Object
google.registry.model.ImmutableObject
google.registry.model.UpdateAutoTimestampEntity
google.registry.model.EppResource
google.registry.model.domain.DomainBase
google.registry.model.domain.Domain
- All Implemented Interfaces:
Buildable
,EppResource.ForeignKeyedEppResource
,EppResource.ResourceWithTransferData<DomainTransferData>
,UnsafeSerializable
,Serializable
,Cloneable
A persistable domain resource including mutable and non-mutable fields.
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
A builder for constructingDomain
, since it is immutable.Nested classes/interfaces inherited from class google.registry.model.EppResource
EppResource.BuilderWithTransferData<T extends TransferData,
B extends EppResource.BuilderWithTransferData<T, B>>, EppResource.ForeignKeyedEppResource, EppResource.ResourceWithTransferData<T extends TransferData> 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.domain.DomainBase
MAX_REGISTRATION_YEARS
Fields inherited from class google.registry.model.ImmutableObject
hashCode
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionAn override ofEppResource.asBuilder()
with tighter typing.cloneProjectedAtTime
(org.joda.time.DateTime now) Return a clone of the resource with timed status values modified using the given time.Create the VKey for the specified EPP resource.createVKey
(String repoId) protected void
postLoad()
Post-load method to eager load the collections.Methods inherited from class google.registry.model.domain.DomainBase
extendRegistrationWithCap, getAdminContact, getAllContacts, getAuthInfo, getAutorenewBillingEvent, getAutorenewEndTime, getAutorenewPollMessage, getBillingContact, getContacts, getCurrentBulkToken, getCurrentSponsorRegistrarId, getDeletePollMessage, getDomainName, getDsData, getForeignKey, getGracePeriods, getGracePeriodsOfType, getGracePeriodStatuses, getIdnTableName, getLastTransferTime, getLaunchNotice, getLordnPhase, getNameservers, getReferencedContacts, getRegistrant, getRegistrationExpirationTime, getSmdId, getSubordinateHosts, getTechContact, getTld, getTransferData, loadNameserverHostNames, shouldPublishToDns
Methods inherited from class google.registry.model.EppResource
getCreationRegistrarId, getCreationTime, getDeletionTime, getLastEppUpdateRegistrarId, getLastEppUpdateTime, getPersistedCurrentSponsorRegistrarId, getStatusValues, loadCached, loadCached, setCacheForTest, setRepoId
Methods inherited from class google.registry.model.UpdateAutoTimestampEntity
copyUpdateTimestamp, getUpdateTimestamp, resetUpdateTimestamp, setUpdateTimestamp
Methods inherited from class google.registry.model.ImmutableObject
clone, cloneEmptyToNull, equals, getSignificantFields, hashCode, toDiffableFieldMap, toHydratedString, toString, toStringHelper
-
Constructor Details
-
Domain
public Domain()
-
-
Method Details
-
getRepoId
- Overrides:
getRepoId
in classEppResource
-
getNsHosts
-
postLoad
protected void postLoad()Post-load method to eager load the collections. -
createVKey
Description copied from class:EppResource
Create the VKey for the specified EPP resource.- Overrides:
createVKey
in classDomainBase
-
cloneProjectedAtTime
Description copied from class:EppResource
Return a clone of the resource with timed status values modified using the given time.- Overrides:
cloneProjectedAtTime
in classDomainBase
-
createVKey
-
asBuilder
An override ofEppResource.asBuilder()
with tighter typing.- Specified by:
asBuilder
in interfaceBuildable
- Overrides:
asBuilder
in classDomainBase
-