Attributes overview
Some useful (utility) classes for managing attributes for different EntityModule objects:
-
EntityAttributes
contains a variation of common attribute constants and some static helper methods -
EntityAttributeRegistrars
contains helper registrar factory methods -
EntityViewFactoryAttributes
contains common attribute constants and helper methods, specific for entity views
EntityConfiguration attributes
The following table lists commonly present attributes on an EntityConfiguration
.
Key | Value |
---|---|
|
In case of an entity registered through a Spring Data repository. |
|
In case of an entity registered through a Spring Data repository. |
|
In case of an entity registered through a Spring Data repository. |
|
In case of an entity registered through a Spring Data repository that exposed |
|
Holds the |
|
Holds the |
|
Optionally holds the name of the |
|
Holds an |
|
When set on an |
|
When set on an |
|
When set on an |
|
When set to true the list view will link to the detail view if the user has the read action, but never to the update view by default. |
EntityPropertyDescriptor attributes
The following table lists commonly present attributes on an EntityPropertyDescriptor
.
Key | Value |
---|---|
|
In case of a property of a |
|
Contains the default |
|
Optional: required to be a |
|
When present holds the Java beans property descriptor that was used to create the |
|
When set on an |
|
When set on an |
|
When set on an |
|
Only applicable if the property is of an enum type.
When set, the attribute holds the |
|
Optional: Holds an |
|
Can hold the configuration instance that should be used when generating a select control for this propery.
Unless a specific |
|
Should be a |
|
The |
|
If set, holds the |
|
Can hold the configuration instance that should be used when want to use a currency or percentage control for this property. This can add currency or percentage modes based on the JQuery autoNumeric plugin |
|
|
|
Holds a property selector that defines which properties of the embedded object should be rendered. |
EntityViewFactory attributes
The following table lists commonly present attributes on an EntityViewFactory
.
Key | Value |
---|---|
|
The registry the view belongs to, either the |
|
If present, holds the |
|
In case of an entity registered through a Spring Data repository that exposed |
|
Name of the view under which it is registered in the |
|
Optionally contains a |
|
Optionally contains a |
|
The |