Book a Demo

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

Pages: [1]
1
Suggestions and Requests / Profiles assigned to packages
« on: March 21, 2006, 09:04:42 am »
Profiles assigned to packages, not the whole model.

Currently, profiles are imported to the model and available at every level. If your model is an aggregate of several models (eg the Unified Process), some stereotypes apply to only certain phases (ie. models development) of the project.

Eg.

-Models
+<<model>> Business Model
+<<model>> System Model

The Unified Process's business modelling profile would be assigned and only available to the business model package. Business stereotypes such as <<worker>> have no application in the system model.

2
General Board / UPDM Name Change?
« on: March 27, 2008, 06:40:49 am »
Why did the MDG Technology for UPDM get its name changed to DoDAF/MODAF?  :-[

3
General Board / Re: Best diagram to model layered architecture
« on: February 07, 2008, 01:29:52 pm »
[quote  What would be the best diagram and approach if I want to model a layered architecture and show multiple applications using the layers, so that the layers would have to be listed multiple times.

I tried to do this with a component diagram, and I modeled each layer as a package, but I could not have multiple instances of the package (nor any other type I could find).

Is there a better diagram where I can list components multiple times?

Thanks[/quote]


To show a layered architecture you can use a component diagram. Layers are notated with a "text element" that states the layer name then is followed by 100+ dashes so the text goes across the screen forming a boundary. You DO NOT use packages for layers! Packages represent a namespaces! Layers are conceptual and are not part of the UML! Do not follow anyone or any book that directs you otherwise!

Once you have your layers defined, you will have a bunch of dashes lines across your page. Now you drop components in their appropriate layer. Only dependencies between components are shown. In your example, I think you stated you will have an application layer with applications A, B, and C. These applications can be notated as components with dependencies on their respective sub-layer components.

In a typical layered architecture view, you never put a component or a layer in the diagram more than once, and you do not show behavior. I'm not sure where you're going here; I can only guess. If you're trying to show component instances, then your not doing a layered architecture view, you're probably doing a component "wiring" diagram with the layers in the background (which is irrelevant since you should have a layered architecture view first). In this diagram you wire together component instances to build a system. This is NOT a deployment! How and if you can do this for multiple applications in one diagram depends on the structure of your components (i.e. basic component, port-based component, subsystem component, etc).

In none of the cases above is behavior modeled. You need to look into the behavior diagrams to see which one is best. Layers are irrelevant in behavior diagrams. If you're trying to stick that in there, your approach is likely wrong as you're trying to do too much in one diagram.

4
General Board / Re: Use Case Conventions (NOT formatting)
« on: April 05, 2007, 07:09:50 am »
>  So, how do people enumerate the:
> a. actors involved (not just the primary one)

the actors involved are documented with a use case diagram. if there are multiple actors involved in a use case, the association between the initating actor and the use case is named "initiator". do not follow the method of tagging actors as primary or secondary as sometimes actors, in the overall system, can be primary and sometimes they can be secondary. then there are actors that are essentially equals where no one is primary or secondary.

when you write your "system" use case description, it should follow the sequence of "actor action; system reaction, actor action; system reaction, actor action; system reaction, ...". the very first "actor action" identifies the initiating actor. any other actors involved in the use case are identified in the text either as an actor with associated action or an actor the system asychronously interacts with (ie. system transmits bill to billing system {actor}).

there is no need to "enumerate" your actors in some special section. it will likely be a waste of effort and something that goes out of date as people focus on updating the use case description.

> So, how do people enumerate the:
> b. level of the UC (e.g. Alistair's sea-level, sky-level, etc)

i am not familar with alistair's approach, but from a distance it looks pretty silly. i am a student of jacobson, the creator of the use case approach. in the unified process  you will find two types of use cases: system and business. you will also discover the concept of "business goals".

a "system" use case model defines the functional requirements of a software system. it does not define system "goals" (sky level) as goals can be written quite wishy-washy (non-testable). this sky level approach sounds closer to the business goal approach found in the unified process' business modeling extension.

alistair's work sounds like its trying to throw the whole universe into one use case model. that wont work. it will be so big that you wont be able to understand it. your "system" use case model should just capture the functional software requirements of the system. you will likely need an associated requirements trace matrix to capture such non-functional requirements such as software architecture requirements and performance requirements. you will likely need a business goal model to capture business goals such as reduce operator workload and improve battlespace visualization.

the unified process is not just one model, but a series of models with tracability throughout.

> Do people just put the whole text into the NOTES (on the first tab)?

yes, use a use case template.

> Or do people still put preconditions and postconditions into the Constraints (3rd tab), putting nothing into the Scenarios (5th tab)?

no. thats too much interaction with the tool.

> As an aside, what do people use Files (last tab) for?

attaching documents that support or provide background information regarding the use case. for example, an interface design document.

>  Does anyone actually link to Word Documents with formatted Use Case specifications?

i dont. that too much spawning of processes. one should be able to quickly traverse the use case model just by clicking on use cases and seeing the associated notes.

>>>>

tagged values are used as part of a UML profile. you shouldnt need a profile to do basic system use case modeling.



5
General Board / XML Schema Generation
« on: March 29, 2007, 08:30:10 am »
Hi,

I have a XSDschema package that contains a bunch of classes. When I generate the XML schema, the generator does not drill down into subpackages (subpackages were not stereotyped with XSDschema) and pull in the classes that exist there.

Is there a way to make the XML schema generator drill down into subpackages and include the classes?

If I am forced to pull all my classes up to the top package, it will be a long, long list. Creating subpackages allows me to organize things better. I do not want to use "include"s due to integration issues. I've tried using a <<merge>> dependency on the packages, but that didnt work.

Thanks and g'day!
drain

Pages: [1]