Insert Implementation Code to Operation via Open API
Visual Paradigm support defining implementation detail to operation model via the specification dialog. Besides you can also do this via Open API. In this example we will show you how to create a simple class model with an operation, and specify its implementation. Read more
Model Entity with Custom Column Types
Visual Paradigm support wide range of databases for user to model the data structure of their systems. Once the data model is done you can generate persistent layer source code in Hibernate and use it as the out-of-the-box data access layer for building your database applications. All the data types which covered by Hibernate are directly supported by Visual Paradigm. But what if your model involved some domain specific data type which not covered by Hibernate? In this case you can make use of the User Type property to model it. To model with non-supported column types:
Switch from Classic Resource Centric Interface to Resource Catalog
The Visual Paradigm Resource Centric interface is a handy feature for user to create diagrams without the need to memorize the syntax of the modeling language. It automatically filtered what you can do with the model element you working on in the diagram. In recent release Visual Paradigm enhanced the Resource Centric interface to become the Resource Catalog, which further boost the usability of the Resource Centric interface and make your diagraming task even easier. By default you will be switched to the Resource Catalog interface. But just in case you have missed the switch you can follow the details in this article to change the interface to Resource Catalog.
User Story scenarios
User story is one of the very important component for users who capture requirements with Visual Paradigm. Each user story features a set of properties for you to describe the different aspect of a user problem or requirement. A property is called scenario. Each scenario involves a set of steps, recording the preferred system behavior in accomplishing that specific user story.
Why the relationships between entities not point to FK column?
Entity Relationship Diagram (ERD) is a tool for model the structure of a database. It mainly consists of the entity (database tables) as well as the relationships between them. Unlike the traditional UML diagrams, the relationship in ERD not just indicate the entitles are related to each other, it also specifies which column(s) between the source and target entities are linked, which also known as the primary key and foreign key relationship. People often want to have the relationships stick to its associated columns. But instead of manually adjust the connection point for the relationship connector, Visual Paradigm can automatically do it for you.
Why there are “a” and “M” icon showing in my shapes?
Sometimes you may notices that the elements on diagram having a small “a” and “M” icon showing on its top left corner. What does this mean?
How to highlight element on diagram using Open API
Visual Paradigm’s Open API not just provides a way to extend the functionality of Visual Paradigm, but also offer you a door to integrate Visual Paradigm with 3rd party software. The integration is not necessary to single direction, from model to 3rd party software, but also from your 3rd party software to models in your Visual Paradigm project. i.e. models being updated by external system. In this situation an indication on diagram could be very helpful to indicate what model elements being updated. Starting from v13.1 Visual Paradigm’s Open API support highlight diagram elements on your diagram. This can help you to indicate what element was being updated by your 3rd party software. In this article we will show you how to highlight the elements in your diagrams. Read more
How to format the date property obtained from diagram or model element
Date is a very important property in model since it recorded the timestamp when a diagram or model element was being created or modified. In Visual Paradigm all diagrams and most of the model elements are having date property for storing its creation date time, as well as the last modified date time. In this article we will show you how to retrieve the date time property and format it into human readable text. Read more
Accessing Model Hierarchy Recursively
When working with a nested model, you may want to access and printout the details of elements within a hierarchy recursively. Since the level of model can be unlimited, it is hard to write a custom element template with a chunk of code repeated a certain number of time, not to mention this way of coding will make the template messy and hard to maintain. To solve this problem you can form a recursive template call by applying the concept of template referencing. If you are a programmer, the idea is exactly the same as a recursive method call in programming. All you need to do is to add the element in the appropriate place in the template, to instruct the template engine to process the same template, forming a self-loop. We will walk you through the details in this article.
How to override operations form superclass
Method overriding is a very common technique in object-oriented programming. It allows developer deliver specific implementation of a method in the subclass although it already defined by the superclass. When overriding a method the subclass replace the implementation in superclass by providing a method which exactly same as the one in superclass, i.e same name, parameter and also the return type. In Visual Paradigm you don’t need to redefine the operation in subclass to model the override. You can simply do it in one click inside the specification dialog. To override the operation: Read more