Package google.registry.model.host
Class Host
- java.lang.Object
-
- All Implemented Interfaces:
Buildable
,EppResource.ForeignKeyedEppResource
,UnsafeSerializable
,java.io.Serializable
,java.lang.Cloneable
@Entity(name="Host") public class Host extends HostBase implements EppResource.ForeignKeyedEppResource
A persistable Host resource including mutable and non-mutable fields.The
Id
of the Host is the repoId.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Host.Builder
A builder for constructingHost
, 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.ImmutableObject
hashCode
-
-
Constructor Summary
Constructors Constructor Description Host()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Host.Builder
asBuilder()
Override ofBuildable.asBuilder()
so that the extra methods are visible.VKey<Host>
createVKey()
Create the VKey for the specified EPP resource.java.lang.String
getRepoId()
-
Methods inherited from class google.registry.model.host.HostBase
cloneProjectedAtTime, computeLastTransferTime, getForeignKey, getHostName, getInetAddresses, getLastSuperordinateChange, getLastTransferTime, getSuperordinateDomain, isSubordinate
-
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
-
-
-
-
Method Detail
-
getRepoId
public java.lang.String getRepoId()
- Overrides:
getRepoId
in classEppResource
-
createVKey
public VKey<Host> createVKey()
Description copied from class:EppResource
Create the VKey for the specified EPP resource.- Overrides:
createVKey
in classHostBase
-
asBuilder
public Host.Builder asBuilder()
Description copied from class:EppResource
Override ofBuildable.asBuilder()
so that the extra methods are visible.
-
-