public abstract class AbstractDiscriminatorRegistry<T,X extends T> extends Object
Constructor and Description |
---|
AbstractDiscriminatorRegistry() |
Modifier and Type | Method and Description |
---|---|
protected abstract Class<X> |
getBaseClass() |
String |
getDiscriminatorForType(Class<? extends T> aClass)
Get the discriminator for the given Class.
|
Set<String> |
getDiscriminatorsForType(Class<? extends T> aClass)
Get the discriminators needed to lookup the given
Class |
Class<? extends T> |
getTypeForDiscriminator(String discriminator) |
boolean |
isConcretelyMappedType(Class<? extends T> aClass)
Tests if the provided type is concretely mapped
|
public AbstractDiscriminatorRegistry() throws org.hibernate.MappingException
org.hibernate.MappingException
public Set<String> getDiscriminatorsForType(Class<? extends T> aClass)
Class
aClass
- public String getDiscriminatorForType(Class<? extends T> aClass)
aClass
- @Nullable public Class<? extends T> getTypeForDiscriminator(@NotNull String discriminator)
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.