Solved

Class diagram

Posted on 2008-06-26
4
254 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

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Protect jar file - windows app 2 53
VB Script to add site to Java Exception List 4 76
even odd program using while loop 3 40
jdbc error in jsp application 20 45
Book Review: Using Microsoft Visio 2010 by Chris Roth   Disclaimer: The author of Using Visio 2010 is a friend and fellow Visio MVP. Whether you’re new to Visio or are upgrading to Visio 2010 from a previous version, you will find a lot to like…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Viewers learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…

770 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