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.core.common.transfer; 018 019import com.echothree.model.control.party.common.transfer.LanguageTransfer; 020import com.echothree.util.common.transfer.BaseTransfer; 021 022public class CommandMessageTranslationTransfer 023 extends BaseTransfer { 024 025 private CommandMessageTransfer commandMessage; 026 private LanguageTransfer language; 027 private String translation; 028 029 /** Creates a new instance of CommandMessageTranslationTransfer */ 030 public CommandMessageTranslationTransfer(CommandMessageTransfer commandMessage, LanguageTransfer language, String translation) { 031 this.commandMessage = commandMessage; 032 this.language = language; 033 this.translation = translation; 034 } 035 036 /** 037 * Returns the commandMessage. 038 * @return the commandMessage 039 */ 040 public CommandMessageTransfer getCommandMessage() { 041 return commandMessage; 042 } 043 044 /** 045 * Sets the commandMessage. 046 * @param commandMessage the commandMessage to set 047 */ 048 public void setCommandMessage(CommandMessageTransfer commandMessage) { 049 this.commandMessage = commandMessage; 050 } 051 052 /** 053 * Returns the language. 054 * @return the language 055 */ 056 public LanguageTransfer getLanguage() { 057 return language; 058 } 059 060 /** 061 * Sets the language. 062 * @param language the language to set 063 */ 064 public void setLanguage(LanguageTransfer language) { 065 this.language = language; 066 } 067 068 /** 069 * Returns the translation. 070 * @return the translation 071 */ 072 public String getTranslation() { 073 return translation; 074 } 075 076 /** 077 * Sets the translation. 078 * @param translation the translation to set 079 */ 080 public void setTranslation(String translation) { 081 this.translation = translation; 082 } 083 084}