Package dev.morphia.mapping
Class DiscriminatorLookup
- java.lang.Object
-
- dev.morphia.mapping.DiscriminatorLookup
-
@MorphiaInternal public final class DiscriminatorLookup extends Object
Provides lookup capabilities to find a type by its discriminatorDeveloper note.This is an internal item. Its function and presence are subject to change without warning. Its use is highly discouraged.
-
-
Constructor Summary
Constructors Constructor Description DiscriminatorLookup()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addModel(EntityModel entityModel)
Adds a model to the mapClass<?>
lookup(String discriminator)
Looks up a discriminator value
-
-
-
Method Detail
-
addModel
public void addModel(EntityModel entityModel)
Adds a model to the map- Parameters:
entityModel
- the model
-
-