8 Replies - 1520 Views - Last Post: 19 March 2011 - 03:38 PM

#1 Tarsus  Icon User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 58
  • Joined: 06-September 10

UML Class diagram query

Posted 18 March 2011 - 06:59 AM

I have created an object oriented architecture that reads an excel spreadsheet as an input.

Could I ask, how would I iconize this file in a UML class diagram?

Thanks,
Tarsus
Is This A Good Question/Topic? 0
  • +

Replies To: UML Class diagram query

#2 lordofduct  Icon User is offline

  • I'm a cheeseburger
  • member icon


Reputation: 2063
  • View blog
  • Posts: 4,056
  • Joined: 24-September 10

Re: UML Class diagram query

Posted 18 March 2011 - 07:46 AM

how about you whip out a good ol' UML tutorial or help book.

The syntax and definitions in UML are too dense to explain here in a forum thread.

If you have a specific question about a single part of your UML layout. Then we'll happily assist you.
Was This Post Helpful? 0
  • +
  • -

#3 hookiethe1  Icon User is offline

  • D.I.C Lover

Reputation: 412
  • View blog
  • Posts: 1,335
  • Joined: 28-September 10

Re: UML Class diagram query

Posted 18 March 2011 - 07:48 AM

From what I understand, UML class diagrams don't have icons, each class is represented by a 3 compartment box with name, attributes, and methods. Otherwise if you're just trying to make a pretty picture then just grab an excel icon from somewhere and stick it on?
Was This Post Helpful? 0
  • +
  • -

#4 lordofduct  Icon User is offline

  • I'm a cheeseburger
  • member icon


Reputation: 2063
  • View blog
  • Posts: 4,056
  • Joined: 24-September 10

Re: UML Class diagram query

Posted 18 March 2011 - 08:11 AM

I completely mis-read the question, sorry about that.

I read 'iconize this file' as 'create a visual representation for this architecture'.


You want to know what to use as a visual representation for the spreadsheet that you load in. If so, you technically don't need a visual representation in the UML, it's not a class (unless of course you have some class type that wraps around it, like ExcelSpreadsheetFile), it's just a field on one of the types. Like +filename... or something like that, I would think?

This post has been edited by lordofduct: 18 March 2011 - 08:11 AM

Was This Post Helpful? 0
  • +
  • -

#5 hookiethe1  Icon User is offline

  • D.I.C Lover

Reputation: 412
  • View blog
  • Posts: 1,335
  • Joined: 28-September 10

Re: UML Class diagram query

Posted 18 March 2011 - 08:32 AM

Hmmm, now you've got me thinking I might have read it wrong, and you had it right first time.
Was This Post Helpful? 0
  • +
  • -

#6 lordofduct  Icon User is offline

  • I'm a cheeseburger
  • member icon


Reputation: 2063
  • View blog
  • Posts: 4,056
  • Joined: 24-September 10

Re: UML Class diagram query

Posted 18 March 2011 - 01:47 PM

I say OP restates their question.
Was This Post Helpful? 0
  • +
  • -

#7 Tarsus  Icon User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 58
  • Joined: 06-September 10

Re: UML Class diagram query

Posted 18 March 2011 - 05:58 PM

Sorry if it was not clear.

I do have a class that reads in the Excel Spreadsheet data, using jxl, whichis already modelled in my class diagram. I was just basically looking for clarity on how input files might be included within the class diagram. I was struggling to find example online, which suggests to me that, as has been stated - it may not be necessary to include a visual representation of the input file.

Was looking for the clarification and I think I have it. :)

This post has been edited by Tarsus: 18 March 2011 - 05:59 PM

Was This Post Helpful? 0
  • +
  • -

#8 DaneAU  Icon User is offline

  • Great::Southern::Land
  • member icon

Reputation: 278
  • View blog
  • Posts: 1,588
  • Joined: 15-May 08

Re: UML Class diagram query

Posted 19 March 2011 - 03:31 AM

For external dependencies, such as a person interacting from the outside to some Actor within the system you should model it a hybrid relational interaction. According to my resources there is no definitive way of modelling this, meaning no one accepted methodology.

After a little reading i have come up with something adapted from the hybrid object-relational DBMS which is used to model a relationship between a class and a SQL database utilising a DBMS to perform the operations, saying that if you are using an excel file then you could base your modelling of something similar to the following.

Attached image(s)

  • Attached Image

Was This Post Helpful? 0
  • +
  • -

#9 Tarsus  Icon User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 58
  • Joined: 06-September 10

Re: UML Class diagram query

Posted 19 March 2011 - 03:38 PM

Thanks for having a look DaneAU. Definitely something that I will be looking into.

Thanks all,
Tarsus.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1