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
ruchieAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
CEHJConnect With a Mentor Commented:
That's right
0
 
CEHJCommented:
>>will there be just an arrow from IFetchContentSource to ContentAndMetadata

The other way around, and the arrow head is uncoloured
0
 
ruchieAuthor Commented:
Does that mean that arrow should point to IFetchContentSource
0
 
CEHJCommented:
:-)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.