Solved

Class diagram

Posted on 2008-06-26
4
252 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
  • 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 100 total points
ID: 21873650
That's right
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 21874146
:-)
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Suggested Solutions

For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
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…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
This video teaches viewers about errors in exception handling.

747 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now