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 |
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 |
|
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 |
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 |