Book a Demo

Author Topic: Do Objects Have Classifiers?  (Read 3850 times)

sbaldrick

  • EA User
  • **
  • Posts: 29
  • Karma: +0/-0
    • View Profile
Do Objects Have Classifiers?
« on: November 19, 2010, 11:29:36 am »
When I create an object, I can find no way to specify the class of which it is an instance.

Personally, I think that as with assigning datatypes to attributes, one should have to create the class before creating an object that should be assigned to a class.

(This is an analysis POV, maybe some languages allow instances without classes.)

Les.

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: Do Objects Have Classifiers?
« Reply #1 on: November 19, 2010, 11:58:04 am »
Quote
(This is an analysis POV, maybe some languages allow instances without classes.)
UML would be one of those languages: InstanceSpecification has an association "classifier : Classifier[[highlight]0[/highlight]..*]"
The Sparx Team
[email protected]

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: Do Objects Have Classifiers?
« Reply #2 on: November 19, 2010, 12:57:00 pm »
Quote
When I create an object, I can find no way to specify the class of which it is an instance.
Sorry, forgot to answer this bit: try Ctrl+L
The Sparx Team
[email protected]