Manual
Project Structure
In Jjodel, a project is a container that organizes all the resources necessary for creating, defining, and visualizing models. Each Jjodel project follows a structured hierarchy that includes metamodels, models, and viewpoints. This structure ensures a modular approach, enabling users to separate model definitions, visualizations, and data constraints, which enhances reusability and manageability.
Project Summary
The project root serves as the main directory where all project entities are stored. It includes essential metadata about the project, such as the project’s name, description, and creation details.
Metamodels
The Metamodels define the structure and constraints of the models in the project. Each metamodel specifies classes, attributes, relationships, and constraints that the project’s models must adhere to. The metamodel defines the allowable elements and relationships in the project and serves as the template for generating models. Multiple metamodels can coexist within a project, allowing for complex multi-domain modeling.
The Metamodel Editor provides a visual interface for creating and modifying metamodel elements, such as classes, attributes, and relationships. It also includes the ability to add constraints and define inheritance between classes.
Models
The Models store instances of metamodel elements. Models represent the actual data and structure as defined by the metamodel. Each model adheres to the rules and structure imposed by its corresponding metamodel, ensuring consistency within the project.
The Model Editor enables users to instantiate metamodel elements and establish relationships between them. The editor includes features for defining attributes, adding references, and visualizing the overall model structure according to the metamodel.
Viewpoints
Viewpoints define how models are visualized. Each viewpoint contains configurations that specify the appearance, layout, and interaction of model elements. This allows users to create tailored views for different modeling purposes within the same project.
The View Editor provides a graphical interface for configuring how model elements should appear and behave in a particular viewpoint. Users can customize attributes like colors, shapes, and connection styles for a personalized modeling experience.
Validation Viewpoint
A Validation Viewpoint defines rules that ensure data consistency and validate model integrity. These constraints enforce business rules or structural requirements that models must meet. Constraints are applied within the metamodel or model and can be associated with specific elements or relationships.
Validation rules are associated with notifications that convey to modelers useful information to restore the validity of the model.
Export Options
Jjodel provides options to export metamodel and models in Ecore/XMI, JSON, among others, allowing for seamless integration with other tools and platforms. A whole project can be downloaded in the Jjodel Representation Format (.jjodel) and contains the complete project with all its components several formats.
Logs
Jjodel includes a logging mechanism to record errors and warning. These logs help users track modifications and maintain an audit trail, useful for collaborative projects or maintaining historical versions of the model. Logs can be accessed from within the project to review changes made over time.