enterprise-architect

How do you set the database schema, at the package level, in SPARX Enterprise Architect?

醉酒当歌 提交于 2021-02-10 12:57:46
问题 Example: I have a Data Model with a package called Academic. Inside of Academic, I have tables called Instructor and Student. When I "Generate DDL", I'd like Instructor and Student to be generated as: CREATE TABLE [Academic].[Instructor] ... CREATE TABLE [Academic].[Student] ... I have tried setting the tagged value named OWNER (EAUML::table::OWNER) on each table (which works), however I'd like to think that I could somehow set this at the package level and have all of the tables within

How do you set the database schema, at the package level, in SPARX Enterprise Architect?

一个人想着一个人 提交于 2021-02-10 12:52:32
问题 Example: I have a Data Model with a package called Academic. Inside of Academic, I have tables called Instructor and Student. When I "Generate DDL", I'd like Instructor and Student to be generated as: CREATE TABLE [Academic].[Instructor] ... CREATE TABLE [Academic].[Student] ... I have tried setting the tagged value named OWNER (EAUML::table::OWNER) on each table (which works), however I'd like to think that I could somehow set this at the package level and have all of the tables within

Enterprise Architect 9: Add Note to Connector

≡放荡痞女 提交于 2020-03-24 06:15:37
问题 I want to add notes to connectors in an Enterprise Architect diagram programmatically. So far I only managed to add notes to elements with the following code: foreach (EA.Element element in Package.Elements) { foreach (EA.Connector conn in element.Connectors) { EA.Element newNote = Package.Elements.AddNew("MyNote", "Note"); newNote.Notes = "Some string"; newNote.Update(); //position calculation is left out here EA.DiagramObject k = diagram.DiagramObjects.AddNew(position, ""); k.ElementID =

How to set a class operation call as transition in an UML state machine diagram? (Sparx EA)

瘦欲@ 提交于 2020-02-05 13:49:34
问题 Is it possible to reuse an operation call of a class as transition in an UML diagram of Sparx Enterprise Architect (I've got version 9)? If yes, how do I do that? It's possible to use it as action in an activity diagram and as message in an object diagram, but I can't figure it out for the state machine. I wish there was more integration for software developers... Furthermore, I wish I could set a state in the diagram as special state of a class instance (class instance == object). 回答1: Is it

How to set a class operation call as transition in an UML state machine diagram? (Sparx EA)

一世执手 提交于 2020-02-05 13:47:05
问题 Is it possible to reuse an operation call of a class as transition in an UML diagram of Sparx Enterprise Architect (I've got version 9)? If yes, how do I do that? It's possible to use it as action in an activity diagram and as message in an object diagram, but I can't figure it out for the state machine. I wish there was more integration for software developers... Furthermore, I wish I could set a state in the diagram as special state of a class instance (class instance == object). 回答1: Is it

Enterprise Architect scripting with java - add CustomProperty

拥有回忆 提交于 2020-02-02 06:26:06
问题 I want to add a legend to my activity diagram, which will be generate programatically by java and the ea-api. I already know how to create the legend element and show it in the diagram (Type: "Text" und Subtype: 76): Element legend = elements.AddNew("Color Legend", "Text"); elements.Refresh(); legend.SetSubtype(76); legend.Update(); //Show in diagram DiagramObject diagramObject = diagramObjects.AddNew("l=0; r=100; t=0; b=-100;", ""); diagramObjects.Refresh(); // reference the DiagramObject to

Enterprise Architect scripting with java - add CustomProperty

冷暖自知 提交于 2020-02-02 06:22:12
问题 I want to add a legend to my activity diagram, which will be generate programatically by java and the ea-api. I already know how to create the legend element and show it in the diagram (Type: "Text" und Subtype: 76): Element legend = elements.AddNew("Color Legend", "Text"); elements.Refresh(); legend.SetSubtype(76); legend.Update(); //Show in diagram DiagramObject diagramObject = diagramObjects.AddNew("l=0; r=100; t=0; b=-100;", ""); diagramObjects.Refresh(); // reference the DiagramObject to

How can I transform Entity-Based diagram to a JPA java code

做~自己de王妃 提交于 2020-01-24 13:11:47
问题 I have class diagram created with "Sparx Enterprise Architect v8.0" and i need to generate JPA-based classes with annotations that reflect relations to use it in the code. The problem is that i can convert it to EJB but not JPA which is required for my task. 回答1: I don't know this product, however they claim that it: supports modeling of database schema and automatic generation of DDL scripts for eleven DBMS targets out-of-the-box Once you have the database schema I believe there are various

RACI (Resposible,Accountable,Consulted,Informed) matrix

痴心易碎 提交于 2020-01-17 14:52:27
问题 How Can create RACI (Resposible,Accountable,Consulted,Informed) matrix in Sparx Enterprise Architect? In visual Paradigm, RACI chart can be created easily, based on lanes and associated activities within them 回答1: The image below shows one possible way to do this. I selected diagram type 'Custom' but I expect you could use many other diagram types if you prefer. I right-clicked on the diagram, selected 'Swim Lanes, Matrix, and Kanban' from the context menu, then used the 'Matrix' option to