Package org.damap.base.annotations.gdpr
Annotation Interface GdprContext
Marks a field in an entity as context information for EU General Data Protection Regulation
compliance.
Fields marked with @GdprContext are NOT personal data, but add context information to
GDPR data. E.g. DMP titles etc. are not personal data, but can be useful to understand when a
user is listed as contributor.
If the type of a field annotated with @GdprContext is not primitive,
properties shall be used to specify which properties of the entity shall be retrieved. You may
specify multiple (primitive) properties separated by comma and specify nested properties by using
dots (like "name, address.street, address.city").
Side note: Queries for nested properties are built using recursion, keep this in mind when using this annotation.
For more usage instructions, see Gdpr.
-
Optional Element Summary
Optional Elements
-
Element Details
-
properties
String[] properties- Default:
- {}
-