Class DomainLabelEntry<T extends java.lang.Comparable<?>,​D extends DomainLabelEntry<?,​?>>

  • Type Parameters:
    T - The type of the value stored for the domain label, e.g. ReservationType.
    All Implemented Interfaces:
    java.lang.Cloneable, java.lang.Comparable<D>
    Direct Known Subclasses:
    PremiumList.PremiumEntry, ReservedList.ReservedListEntry

    @MappedSuperclass
    public abstract class DomainLabelEntry<T extends java.lang.Comparable<?>,​D extends DomainLabelEntry<?,​?>>
    extends ImmutableObject
    implements java.lang.Comparable<D>
    Represents a label entry parsed from a line in a reserved/premium list txt file.
    • Constructor Detail

      • DomainLabelEntry

        public DomainLabelEntry()
    • Method Detail

      • getDomainLabel

        public java.lang.String 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

        public abstract T getValue()
        Returns the value of the field (used for determining which entry takes priority over another).
      • compareTo

        public int compareTo​(D other)
        Specified by:
        compareTo in interface java.lang.Comparable<T extends java.lang.Comparable<?>>