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.printer.common.transfer; 018 019import com.echothree.model.control.workflow.common.transfer.WorkflowEntityStatusTransfer; 020import com.echothree.util.common.transfer.BaseTransfer; 021 022public class PrinterTransfer 023 extends BaseTransfer { 024 025 private String printerName; 026 private PrinterGroupTransfer printerGroup; 027 private Integer priority; 028 private WorkflowEntityStatusTransfer printerStatus; 029 private String description; 030 031 /** Creates a new instance of PrinterTransfer */ 032 public PrinterTransfer(String printerName, PrinterGroupTransfer printerGroup, Integer priority, WorkflowEntityStatusTransfer printerStatus, 033 String description) { 034 this.printerName = printerName; 035 this.printerGroup = printerGroup; 036 this.priority = priority; 037 this.printerStatus = printerStatus; 038 this.description = description; 039 } 040 041 /** 042 * Returns the printerName. 043 * @return the printerName 044 */ 045 public String getPrinterName() { 046 return printerName; 047 } 048 049 /** 050 * Sets the printerName. 051 * @param printerName the printerName to set 052 */ 053 public void setPrinterName(String printerName) { 054 this.printerName = printerName; 055 } 056 057 /** 058 * Returns the printerGroup. 059 * @return the printerGroup 060 */ 061 public PrinterGroupTransfer getPrinterGroup() { 062 return printerGroup; 063 } 064 065 /** 066 * Sets the printerGroup. 067 * @param printerGroup the printerGroup to set 068 */ 069 public void setPrinterGroup(PrinterGroupTransfer printerGroup) { 070 this.printerGroup = printerGroup; 071 } 072 073 /** 074 * Returns the priority. 075 * @return the priority 076 */ 077 public Integer getPriority() { 078 return priority; 079 } 080 081 /** 082 * Sets the priority. 083 * @param priority the priority to set 084 */ 085 public void setPriority(Integer priority) { 086 this.priority = priority; 087 } 088 089 /** 090 * Returns the printerStatus. 091 * @return the printerStatus 092 */ 093 public WorkflowEntityStatusTransfer getPrinterStatus() { 094 return printerStatus; 095 } 096 097 /** 098 * Sets the printerStatus. 099 * @param printerStatus the printerStatus to set 100 */ 101 public void setPrinterStatus(WorkflowEntityStatusTransfer printerStatus) { 102 this.printerStatus = printerStatus; 103 } 104 105 /** 106 * Returns the description. 107 * @return the description 108 */ 109 public String getDescription() { 110 return description; 111 } 112 113 /** 114 * Sets the description. 115 * @param description the description to set 116 */ 117 public void setDescription(String description) { 118 this.description = description; 119 } 120 121}