Extend Entity
Extending Entities
Entities in Negroni can be extended to incorporate additional attributes and properties, enabling adaptability to evolving business requirements. This functionality allows users to enhance predefined entities with supplementary information, thereby enriching their data models.
Step-by-Step Guide to Extending an Entity
-
Selecting an Entity to Extend: To initiate the extension process, users must choose the entity they want to enhance. This entity can be either a core entity provided by Negroni or a custom entity created by the user.
-
Initiating the Extension: After selecting the entity, users can click the 'Extend Entity' button. This action prompts them to choose from a list of core entities available for extension. Upon making a selection, users can click 'Apply' to proceed.
-
Viewing Extended Attributes: Once the extension is applied, a new tab labeled 'Extended Attributes' will appear within the interface of the chosen entity. This tab displays all the attributes of the selected core entity that are now inherited by the chosen entity.
-
Inheritance of Attributes: The attributes from the selected core entity will be inherited by your chosen entity. However, these inherited attributes will be uneditable, ensuring the integrity and consistency of the extended entity’s data structure.
Important Considerations
- Uneditable Extended Attributes: Once extended, the inherited attributes from the core entity will remain fixed and uneditable to maintain data consistency.
- Customization and Flexibility: While the extended attributes are uneditable, you can still add custom attributes to your entities, offering a blend of stability and customization.
By following these steps, users effectively extend entities in Negroni, tailoring data models for specific business needs. This feature strikes a crucial balance between ensuring data consistency and offering flexibility for adapting to evolving business scenarios. It allows precision in data model customization by incorporating additional attributes, ensuring seamless integration into workflows without disrupting existing processes.