Package google.registry.model.tld.label
Class DomainLabelEntry<T extends Comparable<?>,D extends DomainLabelEntry<?,?>>
java.lang.Object
google.registry.model.ImmutableObject
google.registry.model.tld.label.DomainLabelEntry<T,D>
- Type Parameters:
T
- The type of the value stored for the domain label, e.g.ReservationType
.
- All Implemented Interfaces:
Cloneable
,Comparable<D>
- Direct Known Subclasses:
PremiumList.PremiumEntry
,ReservedList.ReservedListEntry
@MappedSuperclass
public abstract class DomainLabelEntry<T extends Comparable<?>,D extends DomainLabelEntry<?,?>>
extends ImmutableObject
implements Comparable<D>
Represents a label entry parsed from a line in a reserved/premium list txt file.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
DomainLabelEntry.Builder<T extends DomainLabelEntry<?,
?>, B extends DomainLabelEntry.Builder<T, ?>> A generic builder base.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
-
Method Summary
Methods inherited from class google.registry.model.ImmutableObject
clone, cloneEmptyToNull, createVKey, equals, getSignificantFields, hashCode, toDiffableFieldMap, toHydratedString, toString, toStringHelper
-
Constructor Details
-
DomainLabelEntry
public DomainLabelEntry()
-
-
Method Details
-
getDomainLabel
Returns the label of the field, which also happens to be used as the key for the Map object that is serialized from the database. -
getValue
Returns the value of the field (used for determining which entry takes priority over another). -
compareTo
- Specified by:
compareTo
in interfaceComparable<T extends Comparable<?>>
-