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.


Messages - Bill Egge

Pages: 1 2 3 [4] 5 6 7
46
General Board / Import keeping "old" information
« on: April 26, 2005, 02:16:32 pm »
How can I import source code and have the model remove anyting from itself that is not in the source code?

For instance, If I remove a method in the source file and the re-import the source unit - the method will still be in the model, I want it removed.

This is a problem because I have made many changes to the source code, so many that it would take less time to delete the entire model and start over with a fresh import.  Still, that would be time consuming because I have about 30 classes.

47
General Board / Artifacts inside Nodes
« on: April 25, 2005, 05:59:58 am »
Is it possible to have an artifact contained by a node?  I have only found a way to place the artifact on the diagram and connect it to the node with a <<deploy>> association.  But I have not found a way to insert the artifact "inside" the node.


48
General Board / Philosophical view of the term "constraint&qu
« on: April 21, 2005, 06:16:07 pm »
As I was making objective definitions of UML concepts, I ran across something weird.

The term constraint as it is applied to an association.

On objective inspection of actual associations, the meaning of constraint simply defines the relationship bewteen 2 classes.

So I wondered why it was not simply called, "Defined Association" rather than an "Association Constraint".

In fact, if there is any association between 2 classes it must follow the law of identity and thus all associations are "defined", or at least can be.

There is no such thing as an association without an identity.

The word "constraint" gives the idea that this is a certain kind of association, a constrained one as opposed to one that is not constrained.  But there is no such thing as a non constrained association if constrained is meant to mean the identity of the relationship.

So, the term "constrained" association has no context and makes no sense.

Maybe the UML should call this an "Association Declaration" or something like that, but not a constraint.


49
General Board / Re: Field getting added to Delphi Class   m_TRowL
« on: April 15, 2005, 05:19:06 am »
Thank you,  I decided to try your alternative and it worked.  But I had to edit it from the properties of the composite line in the diagram by setting the role.

Thank you.


50
General Board / Field getting added to Delphi Class   m_TRowL
« on: April 14, 2005, 06:22:51 pm »
I have a class named TTableGen which has a reference to a TRowLooper.  Each time I generate the code, a new field gets added to the TTableGen class in the public area in the form of

m_TRowLooper: TRowLooper;


Why is it doing that?  I already have a field named FRowLooper but for some reason EA wants to create this new field.


This is what the class is suppose to look like:
Code: [Select]

 TTableGen = class
 private
   FColumns: TColumnArray;
   FRowLooper: TRowLooper;
   procedure LoadColumns(Main: _Recordset);
   procedure LoadRowLooper(Main: _Recordset);
 public
   function GetText: String;
   procedure LoadFromRecordset(R: _Recordset);
   constructor Create; overload;
   destructor Destroy; override;
   property Columns: TColumnArray read FColumns write FColumns;
   property RowLooper: TRowLooper read FRowLooper write FRowLooper;
 end;


I re-import the source and turn right around and generate the source and I get this:

Code: [Select]

 TTableGen = class
 private
   FColumns: TColumnArray;
   FRowLooper: TRowLooper;
   procedure LoadColumns(Main: _Recordset);
   procedure LoadRowLooper(Main: _Recordset);
 public
   m_TColumn: TColumn;
   m_TRowLooper: TRowLooper;
   function GetText: String;
   procedure LoadFromRecordset(R: _Recordset);
   constructor Create; overload;
   destructor Destroy; override;
   property Columns: TColumnArray read FColumns write FColumns;
   property RowLooper: TRowLooper read FRowLooper write FRowLooper;
 end;


The only explanation I can come up with is that I added a composite relationship between these classes in the diagram editor.


51
General Board / Re: Notes in a diagram
« on: April 12, 2005, 01:09:01 pm »
Thats a good idea.

52
General Board / Re: Notes in a diagram
« on: April 12, 2005, 10:43:20 am »
Thank you!

53
General Board / Notes in a diagram
« on: April 12, 2005, 06:26:50 am »
Is there a way to insert the note associated with some element?  Currently I have to add a note to the diagram, but that ends up with me having 2 notes saying the same thing.

For instance I have a table column named Eeo_Class that can accept the values 1..9.  Each value means this:
1=Officials and Managers
2=Professionals
3=Technicians
4=Sales Workers
5=Office and Clerical
6=Craft Workers
7=Operatives
8=Laborers
9=Service Workers

In EA I added this to the notes section for that column.

But I also want to display this note in a diagram.  The only way I know how to do this is to add a note to the diagram and duplicate the text.

Is there a way I can simply display the note for that element rather than creating a note element?

Sometimes I modify the note, this means I have to synchronize the notes.

54
General Board / UML Question - Relationships
« on: April 04, 2005, 10:04:11 am »
If I diagramed the relationship between a word document and a mail merge data source (excel file for example) what kind of association would I use?

55
General Board / Diagram Reader?
« on: April 02, 2005, 01:13:39 pm »
I was going to purchase EA next week, and as I was diagramming a database with the demo I thought about sharing this diagram with others who use the database.  But then, I wondered if it was nessesary for them to own EA in order to view the diagrams?

Is there a free "reader" so that people can view the diagrams I create with EA or must I export them as images?


56
Bugs and Issues / No code in Views
« on: November 21, 2015, 02:15:47 am »
I imported a database from SQL Server 2005 and no views have code in them.  Is there a limitation with SQL Server 2005?

57
Uml Process / Re: What is a Control Token?
« on: June 12, 2008, 12:11:47 am »
But the concept of a control token only applies to certain designs, in my cupofcoffee example there are no tokens.  It is possible to build cupofcoffee with Control Tokens but not nessesary, the use is a design decision but the idea of a control token is not inherent in an activity.  For this reason, a PetriNet is mearly a design pattern.

58
Uml Process / Re: What is a Control Token?
« on: June 11, 2008, 11:26:27 pm »
It appears to be a nueron (http://en.wikipedia.org/wiki/Neuron).  Electric current to nuerons are the Control Tokens.

In my opinion, this (A Petri Net) is a design pattern and a single design pattern should not be used to model ALL activities and therefore UML should not use Petri Nets for Activity Diagrams.  :-/

59
Uml Process / Re: What is a Control Token?
« on: June 11, 2008, 03:41:15 am »
Thank you, can I ask where you got the link to the UML specs?  I went to the OMG website but was unable to find it.

60
Uml Process / Re: What is a Control Token?
« on: June 11, 2008, 03:08:24 am »
I am not seeing "what" a control token is.  For instance if I make an activity diagram of making coffee - Add Hot Water > Add Instant Coffee > Add Sugar > Mix with Spoon.  What are the Control Tokens?

Pages: 1 2 3 [4] 5 6 7