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.model.control.core.common.transfer.MimeTypeTransfer; 020import com.echothree.model.control.party.common.transfer.LanguageTransfer; 021import com.echothree.util.common.transfer.BaseTransfer; 022 023public class TrainingClassQuestionTranslationTransfer 024 extends BaseTransfer { 025 026 private TrainingClassQuestionTransfer trainingClassQuestion; 027 private LanguageTransfer language; 028 private MimeTypeTransfer questionMimeType; 029 private String question; 030 031 /** Creates a new instance of TrainingClassQuestionTranslationTransfer */ 032 public TrainingClassQuestionTranslationTransfer(TrainingClassQuestionTransfer trainingClassQuestion, LanguageTransfer language, 033 MimeTypeTransfer questionMimeType, String question) { 034 this.trainingClassQuestion = trainingClassQuestion; 035 this.language = language; 036 this.questionMimeType = questionMimeType; 037 this.question = question; 038 } 039 040 public TrainingClassQuestionTransfer getTrainingClassQuestion() { 041 return trainingClassQuestion; 042 } 043 044 public void setTrainingClassQuestion(TrainingClassQuestionTransfer trainingClassQuestion) { 045 this.trainingClassQuestion = trainingClassQuestion; 046 } 047 048 public LanguageTransfer getLanguage() { 049 return language; 050 } 051 052 public void setLanguage(LanguageTransfer language) { 053 this.language = language; 054 } 055 056 public MimeTypeTransfer getQuestionMimeType() { 057 return questionMimeType; 058 } 059 060 public void setQuestionMimeType(MimeTypeTransfer questionMimeType) { 061 this.questionMimeType = questionMimeType; 062 } 063 064 public String getQuestion() { 065 return question; 066 } 067 068 public void setQuestion(String question) { 069 this.question = question; 070 } 071 072}