Sparx Systems Forum
Enterprise Architect => Bugs and Issues => Topic started by: remek on March 23, 2010, 11:47:42 pm
-
I have examined the new API for EA 8.0.
I have find a small issue.
Enumeration ObjectType has 2 new Items
they are: otStep and otExtension.
To be consistient they should be named otScenarioStep and otScenarioExtension.
BR
Remek
-
Have you formally reported it?
Paolo
-
Yes, I did.
Remek
-
The only times when I see a two word qualification on the names is when it is required to remove ambiguity.
eg. otAttributeTag, otConnectorTag.
On the other hand there are plenty of items that aren't qualified.
eg. otSwimlane is not otDiagramSwimlane
otTest is not otElementTest
otScenario is not otElementScenario
which would then imply otElementScenarioStep and otElementScenarioExtension (except of course that an extension actually comes from a step)
So, please explain how it's more consistent to add the word scenario into those types.
-
otAttributeTag has a corresponding AttributeTagClass and interface AttributeTag
the same for
otConnectorTag - ConnectorTagClass, ConnectorTag
otSwimlane - SwimlaneClass, Swimlane
otTest - TestClass, Test
otScenario - ScenarioClass, Scenario
the same for Step and Extension
otStep - ScenarioStepClass, ScenarioStep
otExtension - ScenarioExtensionClass, ScenarioExtension
As you can see the naming pattern is not the same, to the "old" object
and "new" ones.
BR
Remek