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 TrainingClassPageTranslationTransfer 024 extends BaseTransfer { 025 026 private TrainingClassPageTransfer trainingClassPage; 027 private LanguageTransfer language; 028 private String description; 029 private MimeTypeTransfer pageMimeType; 030 private String page; 031 032 /** Creates a new instance of TrainingClassPageTranslationTransfer */ 033 public TrainingClassPageTranslationTransfer(TrainingClassPageTransfer trainingClassPage, LanguageTransfer language, String description, 034 MimeTypeTransfer pageMimeType, String page) { 035 this.trainingClassPage = trainingClassPage; 036 this.language = language; 037 this.description = description; 038 this.pageMimeType = pageMimeType; 039 this.page = page; 040 } 041 042 public TrainingClassPageTransfer getTrainingClassPage() { 043 return trainingClassPage; 044 } 045 046 public void setTrainingClassPage(TrainingClassPageTransfer trainingClassPage) { 047 this.trainingClassPage = trainingClassPage; 048 } 049 050 public LanguageTransfer getLanguage() { 051 return language; 052 } 053 054 public void setLanguage(LanguageTransfer language) { 055 this.language = language; 056 } 057 058 public String getDescription() { 059 return description; 060 } 061 062 public void setDescription(String description) { 063 this.description = description; 064 } 065 066 public MimeTypeTransfer getPageMimeType() { 067 return pageMimeType; 068 } 069 070 public void setPageMimeType(MimeTypeTransfer pageMimeType) { 071 this.pageMimeType = pageMimeType; 072 } 073 074 public String getPage() { 075 return page; 076 } 077 078 public void setPage(String page) { 079 this.page = page; 080 } 081 082}