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.PremiumListEntry, 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

      • getLabel

        public java.lang.String getLabel()
        Returns the label of the field, which also happens to be used as the key for the Map object that is serialized from Datastore.
      • 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<?>>