Class EntityTypeKey<T>


  • public abstract class EntityTypeKey<T>
    extends java.lang.Object
    The key of an entity type, the name must be unique.

    Not for user extension.

    • Constructor Summary

      Constructors 
      Constructor Description
      EntityTypeKey()  
    • Method Summary

      All Methods Static Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      static <T> EntityTypeKey<T> create​(java.lang.Class<T> messageClass, java.lang.String name)
      Creates an EntityTypeKey.
      abstract java.lang.String name()
      Name of the entity type.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • EntityTypeKey

        public EntityTypeKey()
    • Method Detail

      • create

        public static <T> EntityTypeKey<T> create​(java.lang.Class<T> messageClass,
                                                  java.lang.String name)
        Creates an EntityTypeKey. The name must be unique.
      • name

        public abstract java.lang.String name()
        Name of the entity type.