X
- The type of the entity viewpublic interface ViewType<X>
Modifier and Type | Method and Description |
---|---|
MethodAttribute<? super X,?> |
getAttribute(String name)
Returns the attribute of the entity view specified by the given name.
|
AttributeFilterMapping |
getAttributeFilter(String filterName)
Returns the attribute filter mapping of the entity view with the given name.
|
Set<AttributeFilterMapping> |
getAttributeFilters()
Returns the attribute filter mappings of the entity view.
|
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.
|
Class<?> |
getEntityClass()
Returns the entity class that the entity view uses.
|
FilterMapping<?> |
getFilter(String filterName)
Returns the filter mapping of the entity view with the given name.
|
Set<FilterMapping<?>> |
getFilters()
Returns the filter mappings of the entity view.
|
MethodAttribute<? super X,?> |
getIdAttribute()
Returns the id attribute of the entity view.
|
Class<X> |
getJavaType()
Returns the java type of the entity view.
|
String |
getName()
Returns the name of the entity view.
|
ViewFilterMapping |
getViewFilter(String filterName)
Returns the view filter mapping of the entity view with the given name.
|
Set<ViewFilterMapping> |
getViewFilters()
Returns the view filter mappings of the entity view.
|
boolean |
isPartiallyUpdateable()
Returns whether the entity view is partially updateable.
|
boolean |
isUpdateable()
Returns whether the entity view is updateable.
|
String getName()
boolean isUpdateable()
boolean isPartiallyUpdateable()
Class<X> getJavaType()
Class<?> getEntityClass()
MethodAttribute<? super X,?> getIdAttribute()
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 returnedFilterMapping<?> getFilter(String filterName)
filterName
- The name of the filter mapping which should be returnedSet<FilterMapping<?>> getFilters()
AttributeFilterMapping getAttributeFilter(String filterName)
filterName
- The name of the attribute filter mapping which should be returnedSet<AttributeFilterMapping> getAttributeFilters()
ViewFilterMapping getViewFilter(String filterName)
filterName
- The name of the view filter mapping which should be returnedSet<ViewFilterMapping> getViewFilters()
Copyright © 2015 Blazebit. All Rights Reserved.