Media & Marketing

Author

Carlos Barge

Class Diagram can be used for modeling the structural view of an object-oriented system, while entity-relationship diagram (ERD) typically models the persistent view for a relational database.

Your objects need to be persisted the data inside a database and the ERD is used for this purpose.

Entity-Relationship(ER) Diagrams are used to design the database perspective of the project, unlike the class diagram which is used to design the application domain model of the project.

The objects, which are produced according to the templates ( Classes), are stored within a database for persistence purposes. So there is a semantic relation between them that’s it.

You can actually generate a Class diagram into ERD or vice versa by using a modeling tool. If you want to control the database using pure java you can actually perform object-relational mapping (ORM) for relating the class diagram with the ERD and subsequently the database.

An entity relationship diagram gives a snapshot of how these entities relate to each other. You could call it the blueprint that underpins your business architecture, offering a visual representation of the relationships between different sets of data (entities).

In the diagram, entities are represented by boxes with lines linking them to various attributes, which describe the entity’s qualities or characteristics.

Everything links up according to the relationships between the entities – or how they interact with each other. Relationships are sometimes referred to as cardinalities, which describes the interactions numerically – but let’s simply call them relationships.

Free Pre-Assessment Request

Do you want to know how your competitors are doing business?

Tell us a little about yourself below to gain data for free


Hi What’s your name?

Next

Hi [First Name], what is your company’s name and website?

Previous

Next

Is your company looking for any data on the following services:

Previous

Next

Gotcha! Do you want to monitor any specific competitor or market?

List of Competitors

  • Add competitor…

Previous

Next

Finally, what’s your email address and your phone number?

Previous

Send

Your Data is on the Way!

Our data scientists team is working for you by collecting data and we’ll come back to you shortly with a pre-assessment and proposal.

WYgroup BI uses the information you provide to us to contact you about our relevant content, products, and services . You can unsubscribe from communications from HubSpot at any time. For more information, check out WYgroup’s Privacy Notice.
Comments

Leave a Comment:

Your email address will not be published. Required fields are marked *