Link to home
Start Free TrialLog in
Avatar of ruchie
ruchie

asked on

Class diagram

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
Avatar of CEHJ
CEHJ
Flag of United Kingdom of Great Britain and Northern Ireland image

>>will there be just an arrow from IFetchContentSource to ContentAndMetadata

The other way around, and the arrow head is uncoloured
Avatar of ruchie
ruchie

ASKER

Does that mean that arrow should point to IFetchContentSource
ASKER CERTIFIED SOLUTION
Avatar of CEHJ
CEHJ
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
:-)