Class CourseOrganizationUpsertDTO

java.lang.Object
callofproject.dev.authentication.dto.environments.CourseOrganizationUpsertDTO

public class CourseOrganizationUpsertDTO extends Object
Data Transfer Object for a course organization.
  • Constructor Details

    • CourseOrganizationUpsertDTO

      public CourseOrganizationUpsertDTO(UUID userId, String courseOrganizationName)
      Constructor for a course organization.
      Parameters:
      userId - The user id.
      courseOrganizationName - The course organization name.
    • CourseOrganizationUpsertDTO

      public CourseOrganizationUpsertDTO(UUID userId, String id, String courseOrganizationName)
      Constructor for a course organization.
      Parameters:
      userId - The user id.
      id - The course organization id.
      courseOrganizationName - The course organization name.
    • CourseOrganizationUpsertDTO

      public CourseOrganizationUpsertDTO()
      Constructor.
  • Method Details

    • getUserId

      public UUID getUserId()
      Gets the user id.
      Returns:
      The user id.
    • setUserId

      public void setUserId(UUID userId)
      Sets the user id.
      Parameters:
      userId - The user id.
    • getId

      public String getId()
      Gets the course organization id.
      Returns:
      The course organization id.
    • setId

      public void setId(String id)
      Sets the course organization id.
      Parameters:
      id - The course organization id.
    • getCourseOrganizationName

      public String getCourseOrganizationName()
      Gets the course organization name.
      Returns:
      The course organization name.
    • setCourseOrganizationName

      public void setCourseOrganizationName(String courseOrganizationName)
      Sets the course organization name.
      Parameters:
      courseOrganizationName - The course organization name.