Questions tagged [object-diagram]

Also known as an "Instance Diagram", a UML Object Diagram shows how class instances associate with each other, as opposed to just the relationship between the classes shown in a Class Diagram.

Also known as an "Instance Diagram", a UML "Object Diagram" shows how class instances associate with each other, as opposed to just the relationship between the classes shown in a "Class Diagram".

36 questions
2
votes
3 answers

UML State Machine: Class diagram of a state with Transitions, Triggers and Events

TL;DR: How should I represent a UML Transition (see next line) in a UML Object Diagram? event(event_parameters) [guard_condition] / doStuff() In my BSc thesis project, I am working with UML StateMachines (behavioural, no protocol SMs). Besides the…
tjalling
  • 453
  • 5
  • 16
2
votes
2 answers

OCL 2.0 Constraints

Hi there we´re currently working with MagicDraw 17.0. and we got the following problem. We would like to validate whether an object in an object diagram has any connected objects. For example if an object "man" has a link to another object…
1
vote
2 answers

What is the purpose of an UML Object Diagram?

I'd like to clarity something: As I understand it, the purpose of object diagram is to show relationships among objects. The sequence in which these objects interact is not relevant. Is this correct? If possible, could you provide general comments…
James Raitsev
  • 92,517
  • 154
  • 335
  • 470
1
vote
2 answers

PHP4 and UML: does it make sense to design an object diagram?

I am documenting a PHP4 system I'm building for a client. The system will be written following an object-oriented logic, using the MVC pattern. I have already sketched up a class diagram; however, I am now wondering if it makes sense to create…
Unique_Key
  • 13
  • 3
1
vote
2 answers

representative diagram of .net framework Bace class library for better understanding of Types and Members Cooperations

Is it possible to get any representative diagram (such as object diagram or class diagram) from .Net types of a name space. The diagram could represent the relations and dependencies between the .Net types and members, and we could understand better…
siamak
  • 669
  • 1
  • 10
  • 28
1
vote
1 answer

Class Diagram and Object Diagram

I am making a structural diagram in UML using classes and objects and wondered if I was doing it correctly. Would the following (on the right) be the correct way to represent an object diagram of the left-hand side class diagram?
DonnellyOverflow
  • 3,981
  • 6
  • 27
  • 39
1
vote
1 answer

How to identify associations originating from an array attribute in an UML object diagram?

Like you can see from the diagram it has three objects. Object_1 has a variable-sized ordered array with references to objects 2 and 3 in that order which is exactly the thing I want to say with the diagram. My problem is that I didn't see anything…
nyrtzi
  • 38
  • 5
1
vote
2 answers

How to validate an Object Diagram (aka "Instance Diagram") against a Meta Model?

I have to develop an API that take as an input a Meta Model (class diagram) and his instance (object diagram) but I don't know how to do it in a programaticly way. I made some research and I found that I can play with EMF API but I'm not sure how to…
TheCyberXP
  • 915
  • 1
  • 12
  • 24
0
votes
1 answer

How to extract class diagram from use case description from a system?

http://www.iraqup.com/up/20120410/0iBvE-M60l_102420431.GIF Here is an image for a system used in X company and the use case for it is (List Department’s Employees). The administrator identifies the department ID number. The system displays all…
0
votes
1 answer

Modeling an Association Class In Rails - Student Registration Example

I'm trying to model the classic example of a association model and link objects. The image below sets forth a class diagram showing association classes and Object diagram showing link objects. The image shows a part an object diagram…
Mutuelinvestor
  • 3,384
  • 10
  • 44
  • 75
0
votes
3 answers

How must an object diagram look like?

I searched the web, but I find a bunch of very different diagrams. Most of them don't even look like object diagrams. They have no object's value. I want to know how I must draw an object diagram in such a way, that my prof won't tell me it's…
Thanks
  • 40,109
  • 71
  • 208
  • 322
0
votes
1 answer

Class Diagram or Object Diagram for Zend framework Gdata

I am looking for a Class Diagram for Zend Gdata. Zend_Gdata_Spreadsheets_SpreadsheetEntry object I would like to know if there is a Class Diagram or is it called an Object Diagram, for this is.
Hellonearthis
  • 1,664
  • 1
  • 18
  • 26
0
votes
1 answer

can i make a class diagram from an object diagram in UML ?

as i know , an object diagram is a real case from a class diagram in UML , is it possible to draw a class diagram from an object diagram ? ( of course giving only the classes that appears on the object diagram ) .
0
votes
2 answers

UML: Why associations are not shown in Object Diagram in Visio 2003?

I am working with Visio 2003; full name is Microsoft Office Visio for Enterprise Architects (11.8328.8405) SP3. I have 2 classes Job and Task. These are the rules: Each Job has 1 or more corresponding Tasks. A Task cannot exist without a…
ChumboChappati
  • 1,442
  • 4
  • 18
  • 38
0
votes
1 answer

Class diagram for ad system

So I created an class diagram according to the assignment, is this the right way to do it ? I am especially not sure about the Column class because it seems to me that it can be just variable. You are building application that will load data from…
rtom
  • 585
  • 1
  • 12
  • 26