Sparx Systems Forum

Enterprise Architect => General Board => Topic started by: Zerg on December 16, 2005, 08:25:25 am

Title: What for can I use "Object" entity?
Post by: Zerg on December 16, 2005, 08:25:25 am
At first I think, that "Object" entity need for creating "class" instanse to write programm, but then I generate code, it seems like class.
--
What for can I use "Object" entity?
Title: Re: What for can I use "Object" entity?
Post by: thomaskilian on December 19, 2005, 02:14:31 am
An Object is a Class instance. E.g. Class=Car, Object=MyFordEscort
Title: Re: What for can I use "Object" entity?
Post by: Zerg on December 19, 2005, 03:08:59 am
What's the difference between generated code of daughter class and object?
Are objects needeng only for diplaying on diagramm?
Title: Re: What for can I use "Object" entity?
Post by: thomaskilian on December 21, 2005, 02:47:20 am
Different levels of abstraction/concretisation. A class has methods and you describe what these methods shall do. Becoming more concrete you will add code to the methods enabling you to produce a source file in a certain language. Still this represents you class. Once you instantiate your class, you call it object. Calling the class Object is intention. But the step is from compiled source (which is stll called Class) to the invocation (now Object).

You are probably right with you assumption that Objects are just used in diagrams. You need them to show a REAL example since many people understand REAL things much easier than abstract things.