001// -------------------------------------------------------------------------------- 002// Copyright 2002-2024 Echo Three, LLC 003// 004// Licensed under the Apache License, Version 2.0 (the "License"); 005// you may not use this file except in compliance with the License. 006// You may obtain a copy of the License at 007// 008// http://www.apache.org/licenses/LICENSE-2.0 009// 010// Unless required by applicable law or agreed to in writing, software 011// distributed under the License is distributed on an "AS IS" BASIS, 012// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 013// See the License for the specific language governing permissions and 014// limitations under the License. 015// -------------------------------------------------------------------------------- 016 017package com.echothree.model.control.training.common.transfer; 018 019import com.echothree.util.common.transfer.BaseTransfer; 020import com.echothree.util.common.transfer.ListWrapper; 021 022public class TrainingClassSectionTransfer 023 extends BaseTransfer { 024 025 private TrainingClassTransfer trainingClass; 026 private String trainingClassSectionName; 027 private Integer unformattedPercentageToPass; 028 private String percentageToPass; 029 private Integer questionCount; 030 private Integer sortOrder; 031 private String description; 032 033 private ListWrapper<TrainingClassPageTransfer> trainingClassPages; 034 private ListWrapper<TrainingClassQuestionTransfer> trainingClassQuestions; 035 036 /** Creates a new instance of TrainingClassSectionTransfer */ 037 public TrainingClassSectionTransfer(TrainingClassTransfer trainingClass, String trainingClassSectionName, Integer unformattedPercentageToPass, 038 String percentageToPass, Integer questionCount, Integer sortOrder, String description) { 039 this.trainingClass = trainingClass; 040 this.trainingClassSectionName = trainingClassSectionName; 041 this.unformattedPercentageToPass = unformattedPercentageToPass; 042 this.percentageToPass = percentageToPass; 043 this.questionCount = questionCount; 044 this.sortOrder = sortOrder; 045 this.description = description; 046 } 047 048 public TrainingClassTransfer getTrainingClass() { 049 return trainingClass; 050 } 051 052 public void setTrainingClass(TrainingClassTransfer trainingClass) { 053 this.trainingClass = trainingClass; 054 } 055 056 public String getTrainingClassSectionName() { 057 return trainingClassSectionName; 058 } 059 060 public void setTrainingClassSectionName(String trainingClassSectionName) { 061 this.trainingClassSectionName = trainingClassSectionName; 062 } 063 064 public Integer getUnformattedPercentageToPass() { 065 return unformattedPercentageToPass; 066 } 067 068 public void setUnformattedPercentageToPass(Integer unformattedPercentageToPass) { 069 this.unformattedPercentageToPass = unformattedPercentageToPass; 070 } 071 072 public String getPercentageToPass() { 073 return percentageToPass; 074 } 075 076 public void setPercentageToPass(String percentageToPass) { 077 this.percentageToPass = percentageToPass; 078 } 079 080 public Integer getQuestionCount() { 081 return questionCount; 082 } 083 084 public void setQuestionCount(Integer questionCount) { 085 this.questionCount = questionCount; 086 } 087 088 public Integer getSortOrder() { 089 return sortOrder; 090 } 091 092 public void setSortOrder(Integer sortOrder) { 093 this.sortOrder = sortOrder; 094 } 095 096 public String getDescription() { 097 return description; 098 } 099 100 public void setDescription(String description) { 101 this.description = description; 102 } 103 104 public ListWrapper<TrainingClassPageTransfer> getTrainingClassPages() { 105 return trainingClassPages; 106 } 107 108 public void setTrainingClassPages(ListWrapper<TrainingClassPageTransfer> trainingClassPages) { 109 this.trainingClassPages = trainingClassPages; 110 } 111 112 public ListWrapper<TrainingClassQuestionTransfer> getTrainingClassQuestions() { 113 return trainingClassQuestions; 114 } 115 116 public void setTrainingClassQuestions(ListWrapper<TrainingClassQuestionTransfer> trainingClassQuestions) { 117 this.trainingClassQuestions = trainingClassQuestions; 118 } 119 120}