Class ClubPayloadExtended


  • public class ClubPayloadExtended
    extends ClubPayload
    Extended payload for club data, adding additional fields for club name, deletion flag, and member club updates.

    This class extends ClubPayload and includes extra properties for managing a club’s information, including the club name, a delete flag, and a flag to update member clubs. The club name is mandatory, enforced by validation annotations.

    See Also:
    Author: nikritikos
    • Constructor Detail

      • ClubPayloadExtended

        public ClubPayloadExtended()
    • Method Detail

      • getClubName

        public String getClubName()
        Gets the name of the club.
        Returns:
        the name of the club
      • setClubName

        public void setClubName​(String clubName)
        Sets the name of the club.
        Parameters:
        clubName - the name of the club to set
      • isUpdateMemberClubs

        public boolean isUpdateMemberClubs()
        Gets whether the member clubs should be updated.
        Returns:
        true if member clubs should be updated, false otherwise
      • setUpdateMemberClubs

        public void setUpdateMemberClubs​(boolean updateMemberClubs)
        Sets whether to update member clubs.
        Parameters:
        updateMemberClubs - the flag to set for updating member clubs
      • getDeleteFlag

        public String getDeleteFlag()
        Gets the delete flag for the club.
        Returns:
        the delete flag
      • setDeleteFlag

        public void setDeleteFlag​(String deleteFlag)
        Sets the delete flag for the club.
        Parameters:
        deleteFlag - the delete flag to set