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;
021import com.echothree.util.common.transfer.ListWrapper;
022
023public class PrinterGroupTransfer
024        extends BaseTransfer {
025    
026    private String printerGroupName;
027    private Long unformattedKeepPrintedJobsTime;
028    private String keepPrintedJobsTime;
029    private Boolean isDefault;
030    private Integer sortOrder;
031    private WorkflowEntityStatusTransfer printerGroupStatus;
032    private String description;
033    
034    private ListWrapper<PrinterTransfer> printers;
035
036    /** Creates a new instance of PrinterGroupTransfer */
037    public PrinterGroupTransfer(String printerGroupName, Long unformattedKeepPrintedJobsTime, String keepPrintedJobsTime, Boolean isDefault, Integer sortOrder,
038            WorkflowEntityStatusTransfer printerGroupStatus, String description) {
039        this.printerGroupName = printerGroupName;
040        this.unformattedKeepPrintedJobsTime = unformattedKeepPrintedJobsTime;
041        this.keepPrintedJobsTime = keepPrintedJobsTime;
042        this.isDefault = isDefault;
043        this.sortOrder = sortOrder;
044        this.printerGroupStatus = printerGroupStatus;
045        this.description = description;
046    }
047
048    /**
049     * Returns the printerGroupName.
050     * @return the printerGroupName
051     */
052    public String getPrinterGroupName() {
053        return printerGroupName;
054    }
055
056    /**
057     * Sets the printerGroupName.
058     * @param printerGroupName the printerGroupName to set
059     */
060    public void setPrinterGroupName(String printerGroupName) {
061        this.printerGroupName = printerGroupName;
062    }
063
064    /**
065     * Returns the unformattedKeepPrintedJobsTime.
066     * @return the unformattedKeepPrintedJobsTime
067     */
068    public Long getUnformattedKeepPrintedJobsTime() {
069        return unformattedKeepPrintedJobsTime;
070    }
071
072    /**
073     * Sets the unformattedKeepPrintedJobsTime.
074     * @param unformattedKeepPrintedJobsTime the unformattedKeepPrintedJobsTime to set
075     */
076    public void setUnformattedKeepPrintedJobsTime(Long unformattedKeepPrintedJobsTime) {
077        this.unformattedKeepPrintedJobsTime = unformattedKeepPrintedJobsTime;
078    }
079
080    /**
081     * Returns the keepPrintedJobsTime.
082     * @return the keepPrintedJobsTime
083     */
084    public String getKeepPrintedJobsTime() {
085        return keepPrintedJobsTime;
086    }
087
088    /**
089     * Sets the keepPrintedJobsTime.
090     * @param keepPrintedJobsTime the keepPrintedJobsTime to set
091     */
092    public void setKeepPrintedJobsTime(String keepPrintedJobsTime) {
093        this.keepPrintedJobsTime = keepPrintedJobsTime;
094    }
095
096    /**
097     * Returns the isDefault.
098     * @return the isDefault
099     */
100    public Boolean getIsDefault() {
101        return isDefault;
102    }
103
104    /**
105     * Sets the isDefault.
106     * @param isDefault the isDefault to set
107     */
108    public void setIsDefault(Boolean isDefault) {
109        this.isDefault = isDefault;
110    }
111
112    /**
113     * Returns the sortOrder.
114     * @return the sortOrder
115     */
116    public Integer getSortOrder() {
117        return sortOrder;
118    }
119
120    /**
121     * Sets the sortOrder.
122     * @param sortOrder the sortOrder to set
123     */
124    public void setSortOrder(Integer sortOrder) {
125        this.sortOrder = sortOrder;
126    }
127
128    /**
129     * Returns the printerGroupStatus.
130     * @return the printerGroupStatus
131     */
132    public WorkflowEntityStatusTransfer getPrinterGroupStatus() {
133        return printerGroupStatus;
134    }
135
136    /**
137     * Sets the printerGroupStatus.
138     * @param printerGroupStatus the printerGroupStatus to set
139     */
140    public void setPrinterGroupStatus(WorkflowEntityStatusTransfer printerGroupStatus) {
141        this.printerGroupStatus = printerGroupStatus;
142    }
143
144    /**
145     * Returns the description.
146     * @return the description
147     */
148    public String getDescription() {
149        return description;
150    }
151
152    /**
153     * Sets the description.
154     * @param description the description to set
155     */
156    public void setDescription(String description) {
157        this.description = description;
158    }
159
160    /**
161     * Returns the printers.
162     * @return the printers
163     */
164    public ListWrapper<PrinterTransfer> getPrinters() {
165        return printers;
166    }
167
168    /**
169     * Sets the printers.
170     * @param printers the printers to set
171     */
172    public void setPrinters(ListWrapper<PrinterTransfer> printers) {
173        this.printers = printers;
174    }
175
176}