X - The type of the entity viewpublic interface ManagedViewType<X> extends Type<X>
Type.MappingType| Modifier and Type | Method and Description |
|---|---|
MethodAttribute<? super X,?> |
getAttribute(String name)
Returns the attribute of the entity view specified by the given name.
|
Set<MethodAttribute<? super X,?>> |
getAttributes()
Returns the attributes of the entity view.
|
MappingConstructor<X> |
getConstructor(Class<?>... parameterTypes)
Returns the mapping constructor of the entity view specified by the given parameter types.
|
MappingConstructor<X> |
getConstructor(String name)
Returns the constructor of the entity view specified by the given name.
|
Set<String> |
getConstructorNames()
Returns the names of the constructors of the entity view.
|
Set<MappingConstructor<X>> |
getConstructors()
Returns the mapping constructors of the entity view.
|
int |
getDefaultBatchSize()
Returns the default batch size for the attributes of this view type.
|
Class<?> |
getEntityClass()
Returns the entity class that the entity view uses.
|
FlushMode |
getFlushMode()
The flush mode to use for the entity view or null if not updatable.
|
FlushStrategy |
getFlushStrategy()
The flush strategy to use for the entity view or null if not updatable.
|
String |
getInheritanceMapping()
Returns the inheritance mapping that should be used for inheritance subtype selection.
|
Set<ManagedViewType<? extends X>> |
getInheritanceSubtypes()
Returns the transitive closure of all subtypes that should be considered for inheritance selection.
|
Set<String> |
getPersistabilityValidationExcludedEntityAttributes()
The entity attributes that are excluded from the persistability validation, never
null. |
Method |
getPostCreateMethod()
Returns the method to be invoked after creating an entity view via
EntityViewManager.create(Class). |
boolean |
isCreatable()
Returns whether the entity view is creatable.
|
boolean |
isPersistabilityValidationEnabled()
Returns whether the persistability validation is enabled for this entity view.
|
boolean |
isUpdatable()
Returns whether the entity view is updatable.
|
getConvertedType, getConverter, getJavaType, getMappingTypeClass<?> getEntityClass()
int getDefaultBatchSize()
Set<MethodAttribute<? super X,?>> getAttributes()
MethodAttribute<? super X,?> getAttribute(String name)
name - The name of the attribute which should be returnedSet<MappingConstructor<X>> getConstructors()
MappingConstructor<X> getConstructor(Class<?>... parameterTypes)
parameterTypes - The parameter types of the constructor which should be returned.Set<String> getConstructorNames()
MappingConstructor<X> getConstructor(String name)
name - The name of the constructor which should be returnedString getInheritanceMapping()
Set<ManagedViewType<? extends X>> getInheritanceSubtypes()
boolean isUpdatable()
boolean isCreatable()
Method getPostCreateMethod()
EntityViewManager.create(Class).FlushMode getFlushMode()
FlushStrategy getFlushStrategy()
boolean isPersistabilityValidationEnabled()
Copyright © 2014–2018 Blazebit. All rights reserved.