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

Pages: [1]
1
General Board / Generics
« on: February 16, 2007, 10:08:32 am »
If I have the following code:

public interface IMyInterface<T>
{
 T GetMyObject();
}

public class MyClass : IMyInterface<MyObject>
{
 MyObject GetMyObject();
}

I do not know how to make in EA so that the GetMyObject method in MyClass class changes the return type from T to MyObject automatically when the IMyInterface<MyObject> was specified.

Any ideas?

2
General Board / Namespace issue
« on: February 07, 2007, 02:52:34 pm »
If a have a class diagram with two classes: Order and OrderDetail and I draw the Dependency line from the Order to the OrderDetail class, the generated code for the Order class has the using statement that is not necessary since both classes share the same namespace.

Is there a workaround so I do not end up with something like this:

using Example
namespace Example
{
  .............
}

3
General Board / Under what model should activity diagrams be?
« on: March 22, 2007, 01:45:36 pm »
There are different models available in EA, I need to know under which one should activity diagrams be defined.  I guess possible options are Business Process, Requirements, Use Case, Domain Model, Class.

Thanks

4
General Board / Shared classes between different EA Projects
« on: February 13, 2007, 11:10:48 am »
Hi All,

Let's say there is more than one project going on and obviously some of the classes are going to be shared between them.  Also assume different people will work on those projects.  

Based on the scenario explained before these are my questions:
1) Should we have one EA project per project or per functionality?
2) Can I define classes in one EA project and share them with another EA project?  So if I change it in one EA project that will also change the other EA projects where that class is being used
3) I will still like to have a master EA project that reflects all the system but I guess it will only work if you have an architect and that's not our situation where you have a lead per project.

Any ideas

5
General Board / Re: Relationship between classes and dlls
« on: February 08, 2007, 02:28:18 pm »
Right now I have created the class diagrams and a package per each namespace.  But I do not know how or where to specify that specific classes are going to be in a dll, I'm assuming I do that in the component model but do not know how to do the link

6
General Board / Relationship between classes and dlls
« on: February 08, 2007, 09:54:39 am »
How can I represent a relation between the classes that I have created and the dlls were they are going to be deployed.  I'm assuming I can use the component model to diagram the dlls, but I want to link that component to the classes in the class model.  Is there a way to do that?

7
General Board / Re: Are partial classes supported in EA 6.5.800?
« on: February 06, 2007, 01:51:13 pm »
It worked, thanks

8
General Board / Re: Are partial classes supported in EA 6.5.800?
« on: February 06, 2007, 09:41:23 am »
The only information I have found so far is that there is a tagged value called "partial" for the partial keyword in the help file.  But have not figured out yet how to apply it to the class.  Any ideas?

9
General Board / Are partial classes supported in EA 6.5.800?
« on: February 05, 2007, 05:32:27 pm »
I want to know if there is a way to mark a class as partial in EA version 6.5.800

Pages: [1]