Class DiscriminatorLookup

  • public final class DiscriminatorLookup
    extends Object
    Provides lookup capabilities to find a type by its discriminator
    Developer note.
    This is an internal item. Its function and presence are subject to change without warning. Its use is highly discouraged.
    • Constructor Detail

      • DiscriminatorLookup

        public DiscriminatorLookup​(ClassLoader classLoader)
        Creates a new lookup
        classLoader - the classloader to use for look ups
    • Method Detail

      • addModel

        public void addModel​(EntityModel entityModel)
        Adds a model to the map
        entityModel - the model
      • lookup

        public Class<?> lookup​(String discriminator)
        Looks up a discriminator value
        discriminator - the value to search witih
        the mapped class