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 - AndyJ

Pages: 1 2 [3]
31
Bugs and Issues / Classes Missing in Generated PDF files.
« on: May 27, 2011, 08:51:08 am »
Some classes are being dropped from class diagrams when using File|Print to PDF in version 9 release 905.

A registered support request has been raised, and Sparx have confirmed the bug.

So far it has been quite obvious when this occurs as the connectors remain, but the classes are not visible.

32
Bugs and Issues / Glossary - Embedded Hard Returns ???
« on: June 28, 2010, 10:24:19 am »
Hi people,

I'm not sure that this qualifies as a bug, so I'm looking for other opinions...

I'd noticed that my exported project glossary contained a hard return after each Description (You may also know this column as Meaning).

After looking closely I discovered that I had inadvertently embedded a hard return with each item created.

These hard returns are not visible in the Description window.

To remove them, I've placed the mouse in the end of the Description, and used the following keystrokes: End, Shft-End, Del.

I have no recollection of placing hard returns at the end of the Descriptions and wonder how they ended up in there.

My best guess is that I had (more or less automatically) inserted a hard return while keying each item...

Has anyone else seen this?

Andy.

33
Uml Process / Values for an instantiated class
« on: October 19, 2011, 02:50:54 pm »
Hi people,

I've found examples of this question being asked before, but didn't find any answers...

I have a class which includes an enumerated attribute.

I want to show the specific value for that attribute against a specific instance of the class.

However, if I create an instance of the class, it has no attributes, and no method that I can find to add attributes...

How should I show the value of the attribute on a class diagram for a specific instance of a class?

34
Uml Process / How would you model this?
« on: June 15, 2011, 09:29:11 am »
Hi team, I'm scratching my head over this one, and wondering if I'm trying to push UML a bit too far...

My team is modelling current "As Is" business processes, and in support of this activity, we're producing detailed domain models (class diagrams) showing low level details of information that is currently being collected and disseminated.

In many cases we've used enumerations to record the literal values that are currently collected...

Here's the stumbling block.

We have one concept that is currently represented by a table with approx 100 rows. We want to include the literal values from this table into the modelling effort.

Different classes of users are allowed to see different sets of values.
Different classes of users are allowed to select different sets of values.
Some values are historic and can be viewed, but cannot be selected or added...

I've had a look at the UML table class, but this seems to be limited to a fairly high level description of the columns of a table.

Is enumeration still the appropriate method to model this kind of information?

We want the literal values to be visible to our business users during this modelling process, as it is an important feed in to modelling the business rules...

All suggestions will be gratefully received.

Andy

35
Uml Process / Modelling Software Services - HOWTO?
« on: September 07, 2010, 11:22:35 am »
Hi team,

I'm floundering in the documentation a little, and struggling to model some required "services"...

To use a simple service as an example, I'm trying to show:

1. The Mainframe that the service is running on (Component? Node?)
2. The Port that the service listens to.
3. The acceptable input (in this case OrgUnitCode)
4. The possible returns: (valid|invalid) and if invalid an error message.

I'm looking at "Interfaces" in this tutorial: http://www.sparxsystems.com/resources/tutorial/component_model.html

But am struggling to achieve what is shown there... Can anyone point me to a step-by-step explanation, or provide the steps that are used to achieve that diagram example?


Andy

36
Uml Process / Use Cases, Alt Flows and Exceptions
« on: June 28, 2010, 01:41:17 pm »
Hmm...

I'm trying to recreate a set of Use Cases in the Structured Scenario editor.

I have a typical scenario within an alternative flow "Add Person/s" where I would expect two different scenarios:

1. Person exists on the system already and the details are confirmed or updated.

2. Person does not exist on the system already and all details are manually added.

The steps a quite different depending on case 1 or 2 within this alternative flow.

Add Person is not sufficiently interesting to be its own Use Case.

Several of the steps within the alternative flow would usually have exceptions that are minor variations outside of the happy path...

All of these make me wonder why an alternative flow cannot itself branch to an alternative flow and exception flow.

Are others wondering about the practicality of this restriction?

I'm looking at the specifics to see if any of the alternative flows can be rolled up into the basic flow, but this has the potential to create a really ugly, exceptionally long basic flow.

37
One of my developers, has just generated an XSD from a class diagram.

He's scratching his head about association classes.  Associations are being rendered, but association classes are appearing as classes, with no relationship to any other class.

Is this working as intended?

Here's an example from a simple class diagram:

<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
      <xs:element name="Class1" type="Class1"/>
      <xs:complexType name="Class1">
            <xs:sequence>
                  <xs:element name="Class2" type="Class2" minOccurs="1" maxOccurs="1"/>
            </xs:sequence>
      </xs:complexType>
      <xs:element name="Class2" type="Class2"/>
      <xs:complexType name="Class2">
            <xs:sequence/>
      </xs:complexType>
      <xs:element name="Freddo" type="Freddo"/>
      <xs:complexType name="Freddo">
            <xs:sequence>
                  <xs:element name="chocolate" type="xs:int" minOccurs="1" maxOccurs="1"/>
            </xs:sequence>
      </xs:complexType>
      <xs:element name="Class3" type="Class3"/>
      <xs:complexType name="Class3">
            <xs:sequence/>
      </xs:complexType>
      <xs:element name="Class4" type="Class4"/>
      <xs:complexType name="Class4">
            <xs:sequence>
                  <xs:element name="Class3" type="Class3" minOccurs="1" maxOccurs="1"/>
            </xs:sequence>
      </xs:complexType>
</xs:schema>


38
Hi people,

I'm not sure if I'm seeing a problem or not.

I've just imported a set of updated requirements into EA.
These requirements have GUID defined from EA.

What I'm seeing is that the requirements now appear in two locations in EA, the original package, and the "Import" package.

If I try to search for a requirement, only one of the locations is returned in the search.

The requirements contain the same information in both locations, but I'm worried that there may be consequences of having the same GUID in two different locations in the Project Browser.

Clearly search is not expecting this, and other parts of the tool may not.

Can anyone advise?

Andy

39
Hi People,

I'm trying to include the project glossary into my produced documentation.

It's happily reproducing in the .RTF template, but doesn't have a bookmark that I can find.

I've tried adding bookmarks within the template editor, but haven't successfully invoked them from the parent Word document.

Has anyone managed to get this to work?

Andy

40
Hi people,

Two (possibly easy) questions.

1. When preparing a Use Case, is there a method of linking requirements to a Use Case which results in those requirements being exported to rtf along with their linked Use Case? So far the best I can come up with, is to add the Requirements to a package which is a child of the Use Case.

2. It there any way to add the "System" and "Participant" icons at the beginning of each step in the Structured Scenario editor to the content in the rtf?

Thanks people,

Andy

41
Hi people,

We're trying to find a way to publish the model so that other interested parties can see what has been produced.

HTML export looks good except...

...when the structure of the model changes (for example, moving a diagram into another folder) all of the published links (published in confluence pages) now point to wrong things...

For example, ...Enterprise%20Architect/html/CI/EARoot/EA1/EA6.htm may point to one diagram now, but after republishing the model, it may point to a different diagram.

Is there anyway to create links to diagrams in the published model which are not so fragile?

Andy

42
Hi people,

I'm fiddling around trying to see if I can build a custom search to use EA as a "Data Dictionary"

The following SQL works fine, but I'm hoping to find a method to return a match if the search term is contained within the Object.Name.

Can anyone suggest a method?

I've tried putting wildcards in the Search Term box, and tried
'<Search Term>'IN(t_object.Name) but haven't lucked onto a solution yet.

As an example, I'd like the search term "Order" to return "Sales Order" and "Order Profile".

The current SQL is provided for info.

Andy

SELECT t_attribute.ea_guid AS CLASSGUID, 'Attribute' AS CLASSTYPE,
t_object.Name as Table_Name,
t_object.Tagged,
t_attribute.Name,
t_attribute.Notes,
t_objectproperties.Property,
t_objectproperties.Value
FROM t_attribute, t_object, t_objectproperties
WHERE t_attribute.Object_ID = t_object.Object_ID AND t_object.Object_ID=t_objectproperties.Object_ID AND t_object.Name='<Search Term>'

43
Hi People,

I've created a couple of different glossary types to help keep things readable for a pair of closely related sub-projects.

Is there a method available to limit a rtf document template to producing the glossary to a sub-set of "types" ?

I've found the Project|Documentation|Glossary|Report method, which allows me to produce a very basic glossary report, but cannot find a method to allow me to use the glossary template (i.e. table format) with this method.

44
Hi team, I'm happily exporting and updating model content to Word documents (particularly Use Cases) using the "Copy RTF Bookmark" method...

...Is there an equivalent method for importing the Project Glossary into the same documents?

45
Hi people,

I've created a simple shape script to display a person shape for classes stereotyped as a stakeholder...

As part of the script I've included the following code to display information about the stakeholder:

println("<<#stereotype#>>");
println("#NAME#");
println("#TAG:Stakeholder Type#");

Is it possible to control where this information is displayed in relation to the shape?

Is there another more appropriate method to display this information alongside the shape?

Currently I've put the shape on to the far right of the canvas to leave room for this text, but it makes associations look quite odd (lines terminating in blank space adjacent to the apparent shape.)

If anyone can point to a good reference about shape scripts I'd also appreciate it.

Pages: 1 2 [3]