-
Notifications
You must be signed in to change notification settings - Fork 7
Entity Type Enhancement
homedirectory edited this page Aug 7, 2024
·
5 revisions
In TG extensive use is made of dynamic entity type enhancements - generated Java classes that enhance entity types they are based on in various ways.
For example:
- Instrumented entity types - enhanced with interception of property setters, which enables property validators and definers.
- Criteria entity types - enhanced with crit-only properites; core component of entity centres.
Entity type enhancements can be categorised into 2 groups:
-
Structural enhancement - the structure of an enhanced type differs from that of its base type. E.g., new properties are added.
- Criteria entity types
- Entity types with custom calculated properties
-
Non-structural enhancement - the opposite of structural enhancement.
- Instrumented entity types
- Proxied entity types
Structure of an entity type is defined to consist of the following:
- Entity nature
- Properties
- Type-level annotations that affect entity nature or its properties (e.g.,
@KeyType
determines the type of propertykey
).
This categorisation is especially useful in application to computations that operate on the structure of an entity type and use caching: non-structurally enhanced entity types can be treated as their base types.
Per aspera ad astra
- Web UI Design and Web API
- Safe Communication and User Authentication
- Gitworkflow
- JavaScript: Testing with Maven
- Java Application Profiling
-
TG Development Guidelines
- TLS and HAProxy for development
- TG Development Checklist
- Entities and their validation
- Entity Properties
- Entity Type Enhancement
- EQL
- Tooltip How To
- All about Matchers
- Streaming data
- Synthetic entities
- Activatable entities
- Jasper Reports
- Opening Compound Master from another Compound Master
- Window management test plan
- Multi Time Zone Environment
- GraphQL Web API
- Guice
- Maven
- Full Text Search
- Deployment recipes
- Application Configuration
- JRebel Installation and Integration
- Compile-time mechanisms