Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Class diagram

Posted on 2008-06-26
4
Medium Priority
?
261 Views
Last Modified: 2010-03-30
I am trying to draw class diagrams for my classes.

I have one interface called IFetchContentSource. It has the following details

getContentByLocation(Arraylist location, String source_object_type, ArrayList source_metadata_fields, ArrayList staging_metadata_fields): ContentAndMetadata []

getNumberofDocsByQuery(String from, String where, String object_type): int

The return type of one of the methods of this Interface is ContentAndMetadata, which is defined as

File contentFile
HashMap metadata_fields_values: String staging_metadata_fields, String source_metadata_values


Please let me know how the relation between these two classes be specified using class diagrams. Will there be just an arrow from IFetchContentSource to ContentAndMetadata
0
Comment
Question by:ruchie
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 86

Expert Comment

by:CEHJ
ID: 21873353
>>will there be just an arrow from IFetchContentSource to ContentAndMetadata

The other way around, and the arrow head is uncoloured
0
 

Author Comment

by:ruchie
ID: 21873450
Does that mean that arrow should point to IFetchContentSource
0
 
LVL 86

Accepted Solution

by:
CEHJ earned 400 total points
ID: 21873650
That's right
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 21874146
:-)
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A recent Visio zone question asked how to use the data in an Excel file to create a Visio Gantt chart -- and then to dynamically update the Gantt chart. The good news is that the Viso Gantt Chart wizard can be automated. The bad news is that the…
Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
Suggested Courses

660 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question