Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7674949
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T16:51:04+00:00 2026-05-31T16:51:04+00:00

I came across with these situation while building a class diagram for a system,

  • 0

I came across with these situation while building a class diagram for a system, I never cross with a similar situation so I am not sure how to do it

I have this two classes “Swimmer” and “Swimming Match”, the issue is with scheduling the match. The match as 3-4 days where where it can occur and the Swimmers can pick the days where they would prefer it to happen, how do I represent this exactly ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T16:51:05+00:00Added an answer on May 31, 2026 at 4:51 pm

    You could have a class for Swimmer, another class for Swimming Match and then you have a couple of options:

    1. Use an association class to represent each acceptable day when the match can occur
    2. Create a new class AcceptableDay which has three properties: Day (the day it could occur), swimmer (an instance of the Swimmer class) and match (an instance of Swimming Match)

    For an example of an association class, see here.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

While working over listView I have came across a trouble situation. Actually I am
While testing a program for scalability, I came across the situation where I have
I came across these on the new job I just started. I don't have
I came across a unique (to me), and quite puzzling situation. I have an
I haven't actually came across this situation yet but i will probably have a
I came across an interesting situation today: I have a small app with a
I have NHibernate sessions cached in the ASP.NET session. I came across a situation
Recently I came across a situation where, while using a double-byte language, I had
We came across the following situation while trying to make changes to a web
I came across these two methods to concatenate strings: Common part: char* first= First;

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.