Questions tagged [ooad]

Object Oriented Analysis and Design - use this tag for questions related to Object Oriented programming. Also include language tags such as java where appropriate.

Programming paradigm where entities are described as objects with features and capabilities. The main advantage of this approach is the ability to reuse and extend functionality of objects.

See also: Wikipedia entry on OOAD

256 questions
0
votes
4 answers

What is the difference between procedural code and Domain Driven Design style code?

I am going through Domain Driven Design(DDD) techniques and I am feeling like I didn't understand it well yet. DDD suggests putting the business logic(not infrastructure stuff like persistence, security etc) in Domain Objects, Repositories for…
K. Siva Prasad Reddy
  • 11,786
  • 12
  • 68
  • 95
0
votes
3 answers

How to design a scenario where one subscriber depend on other?

In my application, I have a scenario where if a change occurs on a particular module, it has to be notified to few other modules. I thought an observer pattern would fit here, by keeping the module on which the change will occur as subject and the…
Vinoth
  • 2,419
  • 2
  • 19
  • 34
0
votes
2 answers

Design suggestion in OOP

Problem An Organization can have 1 or more Credential's. There can be 1 Credential for each of the deployment environment like DEV, TEST, UAT, PROD etc. The Credential can be for UI or for App-to-App communication. Moreover, a user can indicate…
Aravind Yarram
  • 78,777
  • 46
  • 231
  • 327
0
votes
2 answers

OO design and hibernate

I have tried to model the job portal use case as in class diagram below. I have made Skill entity as shareable by both job as well as job seeker hoping to reuse. I have revised my oo design since I am sharing the skill I suppose it means its M:N…
Miten
  • 356
  • 7
  • 23
0
votes
1 answer

Implementing Universal Data Models in Object Oriented way?

I have a UDM (Universal Data Model) taken out of LEN SILVESTON’s book which I would like to implement as an object oriented design in C Sharp to model PARTIES, PERSONS & ORGANIZATIONS. Although moving from the logical model SUPERTYPES and…
underwater
  • 191
  • 1
  • 11
-1
votes
1 answer

What is the difference between sequence diagram diagram in anaysis phase and sequence diagram diagram design phase?

Could anyone explain me what is the difference between those diagram in each phase. thanks
quanchinhong
  • 142
  • 3
  • 18
-1
votes
1 answer

Template design pattern - how to "share" implementations?

Working on a project so I'll try to generalize this. Say I have an abstract class A with an abstract method method(). There are 4 subclasses of A: B, C, D, and E, but B and C have the same exact implementation of method(), and D and E have the same…
Hello
  • 219
  • 2
  • 7
-1
votes
2 answers

Use Case diagram - System as an Actor

Can I include the system as an actor on use case diagram? The system automatically sends emails and/or automatically updates some details of another user.
hasi
  • 11
  • 2
-1
votes
1 answer

Use case for Deliver Order

I have an assignment where i have to create use cases for the deliver order. So here's a summary, the delivery driver said he was given 3 shipping receipts from his company to pick up stocks at the warehouse. He usually arrives at the warehouse at…
-1
votes
2 answers

Object Oriented Analysis and Design, design pattern

I'm studying composite design pattern. I just wanted to ask that can a leaf in a composite pattern inherit from any other class than component?
Ramzah Rehman
  • 184
  • 2
  • 14
-1
votes
1 answer

How to get class Object from database through serializable method

Exception in thread "main" java.sql.SQLException: Method 'executeQuery(String)' not allowed on prepared statement. public Object getObject() throws SQLException, IOException, ClassNotFoundException { PreparedStatement ps; …
-1
votes
2 answers

Is a entity class can return some other entity instance in OOAD?

I have two classes: public class Car { private int id; private String name; private String vendor; /* ... */ } public class Garage { private int id; private String name; private String address; /* get-set and…
Bình Nguyên
  • 2,252
  • 6
  • 32
  • 47
-1
votes
3 answers

Difference between OOAD and UML?

I am new to software field. I don't know difference between OOAD and UML. Can anyone suggest tutorials to learn about OOAD.
user1679378
  • 1,370
  • 3
  • 17
  • 23
-2
votes
1 answer

Diagrams symbols in UML , OOAD

I have seen many symbols, notations related to UML and OOA&D. Most of the times those symbols don't have any labels so I am not able to understand what they are. For example, we have symbol for Generalization , Realization, Uses etc. Is there any…
CuriousMind
  • 8,301
  • 22
  • 65
  • 134
-3
votes
4 answers

When there is a class Car, should a car that is convertible subclass Car or not?

Say, if in our object design, there is already a Car class, and now there are some cars objects that convertibles. We can define another class Convertible and subclass Car, but then let's say, we later on create a class that's FourWheelDrive that…
nonopolarity
  • 146,324
  • 131
  • 460
  • 740
1 2 3
17
18