Package google.registry.model
package google.registry.model
-
ClassDescriptionInterface for
ImmutableObject
subclasses that have a builder.Boilerplate for immutable builders.Buildable.GenericBuilder<S,B extends Buildable.GenericBuilder<?, ?>> Boilerplate for abstract immutable builders that need to be able to cast "this".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.Utility methods related to caching database entities.A timestamp that auto-updates when first saved to the database.A collection of static utility classes/functions to convert entities to/from YAML files.A custom JSON deserializer for aCreateAutoTimestamp
.A custom JSON deserializer forCurrencyUnit
.A custom JSON serializer forCurrencyUnit
.A custom JSON serializer for aDuration
object.A custom JSON deserializer forMoney
.A custom JSON serializer forMoney
.A custom JSON serializer for an Optional of aDuration
object.A custom JSON serializer for an Optional String.A custom serializer for Enum Set to sort the order and make YAML generation deterministic.A custom serializer for String Set to sort the order and make YAML generation deterministic.A custom JSON deserializer for aTimedTransitionProperty
ofFeatureFlag.FeatureStatus
.A custom JSON deserializer for aTimedTransitionProperty
ofMoney
.EntityYamlUtils.TimedTransitionPropertySerializer<E extends Enum<E>>A custom JSON serializer for aTimedTransitionProperty
ofEnum
values.A custom JSON deserializer for aTimedTransitionProperty
ofTld.TldState
.A custom JSON deserializer for a list ofAllocationToken
VKeys.A custom JSON serializer for a list ofAllocationToken
VKeys.An EPP entity object (i.e.Abstract builder forEppResource
types.EppResource.BuilderWithTransferData<T extends TransferData,B extends EppResource.BuilderWithTransferData<T, B>> An interface for builders of resources that have transfer data.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.Utilities for working withEppResource
.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.An immutable object that implementsImmutableObject.equals(java.lang.Object)
,ImmutableObject.hashCode
andImmutableObject.toString()
.Marker to indicate thatImmutableObject.toHydratedString()
should not hydrate a field.Marker to indicate that this filed should be ignored byImmutableObject.toDiffableFieldMap()
.Indicates that the field does not take part in the immutability contract.Interface for objects that may be converted to JSON.Helper class forJsonifiable
classes to generate JSON maps for RPC responses.Dagger module for the entity (model) classes.A collection of static methods that deal with reflection on model classes.Class to help build and persist all the OT&E entities in the database.Represents stats derived from HistoryEntry objects on actions taken by registrars.Enum defining the distinct statistics (types of registrar actions) to record.Static utility functions for resource transfers.Marker interface for Nomulus entities whose serialization are implemented in a fragile way.A timestamp that auto-updates on each save to Cloud SQL.Base class for entities that contains anUpdateAutoTimestamp
which is updated every time the entity is persisted.