Package google.registry.model
-
Interface Summary Interface Description Buildable Interface forImmutableObject
subclasses that have a builder.Buildable.Overlayable<T> Interface for objects that can produce an "overlay", which means a copy where non-null fields from another object are copied over, but null fields on the source are not.EppResource.BuilderWithTransferData<T extends TransferData,B extends EppResource.BuilderWithTransferData<T,B>> An interface for builders of resources that have transfer data.EppResource.ForeignKeyedEppResource EppResources that are loaded via foreign keys should implement this marker interface.EppResource.ResourceWithTransferData<T extends TransferData> An interface for resources that have transfer data.Jsonifiable Interface for objects that may be converted to JSON.UnsafeSerializable Marker interface for Nomulus entities whose serialization are implemented in a fragile way. -
Class Summary Class Description Buildable.Builder<S> Boilerplate for immutable builders.Buildable.GenericBuilder<S,B extends Buildable.GenericBuilder<?,?>> Boilerplate for abstract immutable builders that need to be able to cast "this".CacheUtils Utility methods related to caching database entities.CreateAutoTimestamp A timestamp that auto-updates when first saved to the database.EppResource An EPP entity object (i.e.EppResource.Builder<T extends EppResource,B extends EppResource.Builder<T,B>> Abstract builder forEppResource
types.EppResourceUtils Utilities for working withEppResource
.ForeignKeyUtils Util class to map a foreign key to theVKey
to the active instance ofEppResource
whose unique repoId matches the foreign key string at a given time.IdService Allocates along
to use as a@Id
, (part) of the primary SQL key for an entity.ImmutableObject An immutable object that implementsImmutableObject.equals(java.lang.Object)
,ImmutableObject.hashCode
andImmutableObject.toString()
.JsonMapBuilder Helper class forJsonifiable
classes to generate JSON maps for RPC responses.ModelUtils A collection of static methods that deal with reflection on model classes.OteAccountBuilder Class to help build and persist all the OT&E entities in the database.OteStats Represents stats derived from HistoryEntry objects on actions taken by registrars.ResourceTransferUtils Static utility functions for resource transfers.UpdateAutoTimestamp A timestamp that auto-updates on each save to Cloud SQL.UpdateAutoTimestampEntity Base class for entities that contains anUpdateAutoTimestamp
which is updated every time the entity is persisted. -
Enum Summary Enum Description OteStats.StatType Enum defining the distinct statistics (types of registrar actions) to record. -
Annotation Types Summary Annotation Type Description ImmutableObject.DoNotHydrate Marker to indicate thatImmutableObject.toHydratedString()
should not hydrate a field.ImmutableObject.IgnoredInDiffableMap Marker to indicate that this filed should be ignored byImmutableObject.toDiffableFieldMap()
.ImmutableObject.Insignificant Indicates that the field does not take part in the immutability contract.