objectiser / scribble

Language for describing interactions between multiple participants.
http://www.scribble.org
1 stars 0 forks source link

Change containment annotation approach to simple visitor #13

Closed objectiser closed 14 years ago

objectiser commented 14 years ago

A visit method could more easily control what is being visited, rather than using a generic approach which would not guarantee the order of visitation.

objectiser commented 14 years ago

Postpone until after protocol/conversation decision, as it may be that the protocol model will be fixed (i.e. not extensible) and therefore the visitor interface could have a method per object that will be visited. Currently a generic visit(ModelObject) method is used, to cope with extensibility.

objectiser commented 14 years ago

Done