enterprise-architect

how to list all the packages I have checked out?

纵饮孤独 提交于 2019-12-30 11:05:55
问题 I am working in a multi-user environment with models shared using CVS. The model is large with lots of packages. Sometimes, I have a package checked out without realising it, preventing others from working with the package. Is there some way I can list all the packages that I have checked out so that I can check in the ones I don't need? 回答1: Enterprise Architect has a built-in query which exactly meets your needs: Open the "Find in Project" window by Ctrl+F. A search window will be displayed

How can i link to attribute of an instance of a class

谁说我不能喝 提交于 2019-12-25 07:49:35
问题 In an EA model I have a class. The class defines an attribute. I want to be able to have an instance of this class (an object) with the attribute visible on a diagram and the ability to link specifically to that attribute (as in the Link to Element Feature option). Is it possible? 回答1: Yes and no. You need to set the run state of the object Once the following dialog is completed, it can look like The value is free text and not linked to the original attribute, but better than nothing. 来源:

How to hide key information from table in ERD in Sparx EA?

风流意气都作罢 提交于 2019-12-25 07:47:47
问题 How to hide key information from table depiction in ERD in Sparx Enterprise Architect? 回答1: Open the context menu of the element Features.../...Visibility in the Hide Stereotypes box enter PK,FK That should hide them. 来源: https://stackoverflow.com/questions/42341146/how-to-hide-key-information-from-table-in-erd-in-sparx-ea

Association Class vs. Attribute

谁都会走 提交于 2019-12-24 12:04:30
问题 Let's assume I have 2 classes with association relation. What is the difference between adding attributes to one of the classes and adding an Association Class with attributes? I understand that association class describes the association relation, but cannot I use simple class attributes instead? What are the added values of Association Class? 回答1: Association and attributes are actually different renderings of the same thing. The difference is more a bit of esoteric nature. An association

Why am I getting the error “Field 't_objectproperties.Notes' can't be a zero-length string”?

不想你离开。 提交于 2019-12-24 12:03:58
问题 I have an Enterprise Architect 12 project with enabled Security and activated 'Require User Lock to Edit' option. I locked my view and then imported my C# code via Code Engineering > Import Source Directory. That worked fine so far and I then released the lock. I wanted to update my model to reflect my code changed so I applied the lock and reran Import Source Directory. It started synchronizing the objects but at some point it started popping up a message box saying DAO.Recordset[3315] Field

Magic getters and setters in Enterprise Architect

佐手、 提交于 2019-12-23 12:13:29
问题 I'm using Enterprise Architect to make a UML class diagram and generate PHP5 code with it. Using this, one can make getters and setters for an attribute, which looks like this in the code (only relevant lines shown): private $id; public function getId() { return $this->id; } /** * * @param newVal */ public function setId($newVal) { $this->id = $newVal; } I'd like to use the magic methods __get($property) and __set($property, $value) instead of seperate methods for each property. Is it

Change class element to interface element

自作多情 提交于 2019-12-23 07:28:32
问题 When modelling a class diagram the toolbox contains special objects for a class and for an interface. They differs by their icons which are shown in the Project Browser if they were added to a diagram. (Their properties seems to be the same.) Is it possible to change an object which was created as class to an object of type interface ? Or do I have to delete the class and create a new interface ? 回答1: Yes, it's possible and quite simple. Select the class and look at the Element Properties

Sort project browser tree view programmatically

时光总嘲笑我的痴心妄想 提交于 2019-12-23 06:35:08
问题 I need to know how to set the order of elements shown in EA's project browser programmatically (in order to mimic the green arrows). 回答1: The tree view can not be sorted freely. EA puts a couple of constraints on the sorting. So diagrams, packages and a couple of other elements appear always on top and in groups. This is hard coded. Use Element.TreePos to change the order where appropriate to simulate a manual order. FWIW: Features have another queer behavior sometimes. You might need to

Enterprise architect shows weird symbol. What does it mean?

天大地大妈咪最大 提交于 2019-12-22 08:07:21
问题 sometimes a red triangle appears over some (not all!) of my requirement artifacts that I have constructed before starting more detailed UML work and development. I have no idea what causes it or what it is meant to express. What's more, I cannot get rid of it. ;) As far as I know this has nothing to do with the UML or SysML specification - or does it? Can anyone explain? Thanks :) 回答1: It has nothing to do with UML or SySML. What is says is that someone bookmarked the element. You may have

Rational, EA, or something else?

前提是你 提交于 2019-12-21 09:27:07
问题 Does anyone have any thoughts on Rational Software Architect vs Sparx EA? Are there other tools I should be looking at? Specifically, I'm interested in the following; Adherance to some methodology (RUP, SOMF, etc.) -- we're not settled on one now, but need to pick one that suits a SoA architecture. Multi-modeling -- I need to model all the way from hardware (ideally with cost/spec tracking across physical and cloud) to deployment, classes/services, etc. Roundtrip -- reverse our code/data and