X
- The type of the entity viewType<X>
FlatViewType<X>
, ViewType<X>
public interface ManagedViewType<X> extends Type<X>
Type.MappingType
Modifier and Type | Method | Description |
---|---|---|
MethodAttribute<? super X,?> |
getAttribute(java.lang.String name) |
Returns the attribute of the entity view specified by the given name.
|
java.util.Set<MethodAttribute<? super X,?>> |
getAttributes() |
Returns the attributes of the entity view.
|
MappingConstructor<X> |
getConstructor(java.lang.Class<?>... parameterTypes) |
Returns the mapping constructor of the entity view specified by the given parameter types.
|
MappingConstructor<X> |
getConstructor(java.lang.String name) |
Returns the constructor of the entity view specified by the given name.
|
java.util.Set<java.lang.String> |
getConstructorNames() |
Returns the names of the constructors of the entity view.
|
java.util.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.
|
java.lang.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.
|
java.lang.String |
getInheritanceMapping() |
Returns the inheritance mapping that should be used for inheritance subtype selection.
|
java.util.Set<ManagedViewType<? extends X>> |
getInheritanceSubtypes() |
Returns the transitive closure of all subtypes that should be considered for inheritance selection.
|
java.util.Set<java.lang.String> |
getPersistabilityValidationExcludedEntityAttributes() |
The entity attributes that are excluded from the persistability validation, never
null . |
java.lang.reflect.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, getMappingType
java.lang.Class<?> getEntityClass()
int getDefaultBatchSize()
java.util.Set<MethodAttribute<? super X,?>> getAttributes()
MethodAttribute<? super X,?> getAttribute(java.lang.String name)
name
- The name of the attribute which should be returnedjava.util.Set<MappingConstructor<X>> getConstructors()
MappingConstructor<X> getConstructor(java.lang.Class<?>... parameterTypes)
parameterTypes
- The parameter types of the constructor which should be returned.java.util.Set<java.lang.String> getConstructorNames()
MappingConstructor<X> getConstructor(java.lang.String name)
name
- The name of the constructor which should be returnedjava.lang.String getInheritanceMapping()
java.util.Set<ManagedViewType<? extends X>> getInheritanceSubtypes()
boolean isUpdatable()
boolean isCreatable()
java.lang.reflect.Method getPostCreateMethod()
EntityViewManager.create(Class)
.FlushMode getFlushMode()
FlushStrategy getFlushStrategy()
boolean isPersistabilityValidationEnabled()
java.util.Set<java.lang.String> getPersistabilityValidationExcludedEntityAttributes()
null
.Copyright © 2014–2018 Blazebit. All rights reserved.