Package google.registry.model.reporting
Class HistoryEntry.HistoryEntryId
- java.lang.Object
-
- google.registry.model.ImmutableObject
-
- google.registry.model.reporting.HistoryEntry.HistoryEntryId
-
- All Implemented Interfaces:
UnsafeSerializable
,java.io.Serializable
,java.lang.Cloneable
- Enclosing class:
- HistoryEntry
@Embeddable public static class HistoryEntry.HistoryEntryId extends ImmutableObject implements UnsafeSerializable
Class to represent the composite primary key of aHistoryEntry
.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class google.registry.model.ImmutableObject
ImmutableObject.DoNotHydrate, ImmutableObject.IgnoredInDiffableMap, ImmutableObject.Insignificant
-
-
Field Summary
-
Fields inherited from class google.registry.model.ImmutableObject
hashCode
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
HistoryEntryId()
HistoryEntryId(java.lang.String repoId, long revisionId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getRepoId()
Returns the[domain|contact|host]_repo_id
of theHistoryEntry
.long
getRevisionId()
Returns thehistory_revision_id
of theHistoryEntry
.-
Methods inherited from class google.registry.model.ImmutableObject
clone, cloneEmptyToNull, createVKey, equals, getSignificantFields, hashCode, toDiffableFieldMap, toHydratedString, toString, toStringHelper
-
-
-
-
Method Detail
-
getRevisionId
public long getRevisionId()
Returns thehistory_revision_id
of theHistoryEntry
.
-
getRepoId
public java.lang.String getRepoId()
Returns the[domain|contact|host]_repo_id
of theHistoryEntry
.
-
-