Book a Demo

Author Topic: Group classes in multiple packages  (Read 11803 times)

Nicolae

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Group classes in multiple packages
« on: August 19, 2009, 10:10:30 pm »
Hello,

I do not know how to solve the following issue:

I have an interface class from which all my business entities are implemented. This level fits to the data layer. But in the same time an entity that implements that interface also belongs to a module (a part of the project)

How can i manage this in my diagrams?

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Group classes in multiple packages
« Reply #1 on: August 19, 2009, 11:11:29 pm »
If I undertand correctly you have a generic "BusinessEntity" type of interface that is implemented by every business entity in your model.
Business Entities belong to one (and only one) module.
So your browser would look something like:
- (package) Generic
  - (interface) Business Entity
- (package) Module1
  - (class) Business Entity1 realizes Business Entity
- (package) Module2
  - (class) Business Entity2 realizes Business Entity
  - (class) Business Entity3 realizes Business Entity

If that is correct, what exactly is the problem with the diagrams?

Geert