Class EppHistoryVKey<K,​E extends EppResource>

  • Type Parameters:
    K - type of the VKey
    E - type of the EPP resource that the key belongs to
    All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable
    Direct Known Subclasses:
    BillingVKey, DomainHistoryVKey

    @MappedSuperclass
    public abstract class EppHistoryVKey<K,​E extends EppResource>
    extends ImmutableObject
    implements java.io.Serializable
    Base class for VKey which ofyKey has a HistoryEntry key as its parent and a key for EPP resource as its grandparent.

    For such a VKey, we need to provide two type parameters to indicate the type of VKey itself and the type of EPP resource respectively.

    See Also:
    Serialized Form
    • Method Detail

      • createKindPath

        @Nullable
        public static java.lang.String createKindPath​(@Nullable
                                                      com.googlecode.objectify.Key<?> ofyKey)
        Creates the kind path for the given ofyKey}.

        The kind path is a string including all kind names(delimited by slash) of a hierarchical Key, e.g., the kind path for BillingEvent.OneTime is "DomainBase/HistoryEntry/OneTime".

      • createVKey

        public VKey<K> createVKey()
        Creates a VKey from this instance.
      • createSqlKey

        public abstract java.io.Serializable createSqlKey()
      • createOfyKey

        public abstract com.googlecode.objectify.Key<K> createOfyKey()