Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Michael Hafner

Pages: [1]
1
Dear all,

it doesn't seem so, but: Is it possible to enable the "info view" of a diagram object via script?

Thank-you
Michael

2
Suggestions and Requests / More than two aliasses | Tagged Values
« on: November 14, 2016, 09:22:21 pm »
Dear EA,
it would be nice to have more than one alias - or to be able to use tagged values for display. We often have to model in two languages, with several name formats (machine readable, human readable; Java vs UML &c.). We solve this by creating a tagged value type for each name type, but as we can't show these tagged values in the name compartment, we are not able to adapt our diagrams to a given context.
Best
Michael

3
Suggestions and Requests / Small request: Version info in project browser
« on: October 04, 2015, 09:13:03 pm »
Dear all,
a small request: It would be great to be able to optionally show version/phase/status info in the project browser (possible with stereotypes).
Best
Michael

4
General Board / Properties: Redefinition: Display in EA 9.0
« on: July 30, 2012, 08:02:23 pm »
Dear all,
is there any possibility to display the redefinition of a property on a diagram?

I think, documentation of an earlier version (7.*?) had it that attributes with identical names would "be merged" somehow in this case:


Att_01 isAttributeOfClass Cls_01 &&


Att_01 isAttributeOfClass Cls_02 &&


Cls_02 isSubClassOf Cls_01


(Cls_02.Att_01 being regarded as a redefinition of Cls_01.Att_01)

However, the feature did not seem to work at the time, and obviously has been discarded. According to UML 2.3 (http://www.omg.org/spec/UML/2.3/Superstructure/PDF/), redefinition should be stated thus:

‘redefines’ <property-name>

So that, in the context of Cls_02,


Att_01 {redefines Att_01}

EA has a very efficient way to model redefinition, but is there a way  to display it  as well - ?

Best,

Michael




5
General Board / V 7.5: OCL-Validation: "&" Message
« on: April 08, 2010, 07:39:57 pm »
Dear all,
its a little embarrassing, but:

Why do I get: "Failed to validate OCL expression: There was an error parsing on line 1. Unexpected symbol: &"

...after entering:

inv: self.author->isEmpty() implies self.type = 'instrumental music'

...as a class-constraint? There isn't any ampersand in the statement after all? - If I replace the "arrow" with a dot, everthing is fine:

inv: self.author.isEmpty() implies self.type = 'instrumental music'

But thats not what I wanted to say...

Best,
Michael

6
General Board / Change of class name not shown in attribute type
« on: May 25, 2010, 02:24:37 am »
Dear all,

v7.5; sometimes it works fine, most times it doesn't:

1. Create classes "Class_1", "Class_2"
2. Add attribute "attribute" to Class_1, set type to "Class_2"
3. Change name of Class_2 to "Class_3":

Problem: Class_1.attribute.type remains "Class_2". ("Select Attribute Type" shows Class_3, though.)
Tríed: "Save" or "reload" does not help.
Checked: No other classes with name "Class_2" in the model.

Did I miss something?

Best,
Michael

7
General Board / Redefinition of UML-Attributes: How?
« on: March 25, 2010, 09:06:26 pm »
Dear all,

UML Superstructure 2.2 states that features may be redefined either "explicit[ly] with the use of a {redefines <x>} property string on the feature or implicit[ly] by having a feature with the same name as another feature in one of the owning classifier’s more general classifiers." (7.3.44)

EA: "When Enterprise Architect displays inherited features, it creates a merged list from all generalized parents and from all realized interfaces. If a child Class redefines something found in a parent, the parent feature is omitted from the Merge List."
http://www.sparxsystems.com/uml_tool_guide/modeling_with_uml/setfeaturevisibility.html

I take it, however, that it is not possible in EA to explicitly redefine attributes? I have not found any advice on this in the documention.

Best,
Michael

8
General Board / Tagged Value Type RefGUID as link?
« on: March 27, 2010, 02:59:02 am »
Dear all,

EA's Tagged Value Type RefGUID provides references from one model element to another. http://www.sparxsystems.com.au/downloads/resources/booklets/enterprise_architect_sdk.pdf#page=87

Unfortunately, this reference seems not to be navigable in any way,  neither within EA nor in the HTML documentation - in which the the target's GUID is replaced with its name (as a simple text string, and without any qualifier, say its namespace) - ?

Is it possible to somehow convert the reference into a link to the target's (or its owner's) page during export?

Best,
Michael




9
Bugs and Issues / MySQL Repository: ODBC connection fails, EA closes
« on: March 01, 2011, 06:44:04 am »
Dear all,

v8.0: Trying to establish a connection to a MySQL repository, I encounter a problem:

1. MySQL is up an running
2. EA schema is set up in db
3. ODBC driver is installed (MySQL ODBC 5.1 Driver; TCP/IP Server, Port 3306)
4. Test of connection is succesful

5. However, when starting the project transfer, I receive the following message: "Enterprise Architect has experienced a network error and will close down". Not surprisingly, EA closes down after that...

Q #1: What may be the reason for this (and why does EA have to close down in this situation)?

Q #2: I only need to "dump" the project database into a MySQL database; is there any other way to do this (in case the network problem can't be solved)?

Thanks for any help!
Michael

10
Uml Process / EA-Connector to element feature - UML compatible?
« on: January 30, 2010, 10:07:56 pm »
Dear all,

EA makes it possible to connect elements to element features - a very useful feature, but is it UML? Browsing UML 2.2, I do not find any reference to it, neither to the notation nor to the concept - ?

Best,
Michael

http://www.sparxsystems.com.au/uml_tool_guide/modeling_with_uml/connect_to_element_feature.html

11
Dear all,

being big fans of EA as a powerful UML tool, we are considering the use of EA as an OWL modeling tool as well. Working with EA-diagrams is much quicker than with more text/dialog based tools like, say, Protegé.

Would that be a wise choice? Documentation about MDG technology ODM is sparse; will this technology be kept alive (maintained, updated)? By whom?

Thank you
Michael

12
Automation Interface, Add-Ins and Tools / ODM #1: Export to OWL
« on: October 17, 2014, 01:18:20 am »
Dear all,

trying out EA's OWL functionality, I can't find the import/export menu.

Documentation:

"The MDG Technology for ODM provides four management commands to help you maintain your ODM models:

· Export OWL/RDF models as an .rdf or .xml file

· Import OWL or RDF content (in .owl or .rdf xml file format) as an ODM model package

[...]

Extensions | ODM | <command>
Extensions | Import | OWL/RDF, or
Extensions | Publish | OWL/RDF"



MDG Technology is available; OWL toolbox and scripts are working properly, but the Extensions menu is empty, and there doesn't seem to be any other way to access these functions.

Best,
Michael

13
Dear all,

the OWL toolbox doesn't seem to support the modeling of classes as instances - ?

In UML, we can use generalization sets/ powertypes to partition sets /group sets of subclasses; but I'm afraid this won't translate into an OWL-type during export. We can't use the instance/object element (as we want to classifiy a class), and there is no stereotyped dependency for this either. Of cource, one might create a stereotyped dependency, but the export function would not know we did that.

Any ideas?

Thank you
Michael


14
Dear all,

I need to insert new entries into table t_xref via script - or better, I would like to subset properties automatically, and there seems to be no way to do this by using the classes from the Element Feature Package.

However, I can't insert anything into t_xref by Repositoy.SQLQuery because DAO expects a primary key in XrefID - which, in this case, is a GUID.

Is there a way to create valid GUIDs by script?

Thanks for any suggestions.

Michael





15
Dear all,
I need to read out information about generalization sets via script, but I seem unable to figure out how. I've tried connector attributes "Properties" and "CustomProperties" so far. Can it be done in EA9?

(I need to collect all classes which are elements of the same powertype to put them into a diagram.)

Thanx
Michael

Pages: [1]