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.util.common.transfer.BaseTransfer;
020import com.echothree.util.common.transfer.ListWrapper;
021
022public class AppearanceTransfer
023        extends BaseTransfer {
024    
025    private String appearanceName;
026    private ColorTransfer textColor;
027    private ColorTransfer backgroundColor;
028    private FontStyleTransfer fontStyle;
029    private FontWeightTransfer fontWeight;
030    private Boolean isDefault;
031    private Integer sortOrder;
032    private String description;
033    
034    private ListWrapper<AppearanceTextDecorationTransfer> appearanceTextDecorations;
035    private ListWrapper<AppearanceTextTransformationTransfer> appearanceTextTransformations;
036    
037    /** Creates a new instance of AppearanceTransfer */
038    public AppearanceTransfer(String appearanceName, ColorTransfer textColor, ColorTransfer backgroundColor, FontStyleTransfer fontStyle,
039            FontWeightTransfer fontWeight, Boolean isDefault, Integer sortOrder, String description) {
040        this.appearanceName = appearanceName;
041        this.textColor = textColor;
042        this.backgroundColor = backgroundColor;
043        this.fontStyle = fontStyle;
044        this.fontWeight = fontWeight;
045        this.isDefault = isDefault;
046        this.sortOrder = sortOrder;
047        this.description = description;
048    }
049
050    /**
051     * Returns the appearanceName.
052     * @return the appearanceName
053     */
054    public String getAppearanceName() {
055        return appearanceName;
056    }
057
058    /**
059     * Sets the appearanceName.
060     * @param appearanceName the appearanceName to set
061     */
062    public void setAppearanceName(String appearanceName) {
063        this.appearanceName = appearanceName;
064    }
065
066    /**
067     * Returns the textColor.
068     * @return the textColor
069     */
070    public ColorTransfer getTextColor() {
071        return textColor;
072    }
073
074    /**
075     * Sets the textColor.
076     * @param textColor the textColor to set
077     */
078    public void setTextColor(ColorTransfer textColor) {
079        this.textColor = textColor;
080    }
081
082    /**
083     * Returns the backgroundColor.
084     * @return the backgroundColor
085     */
086    public ColorTransfer getBackgroundColor() {
087        return backgroundColor;
088    }
089
090    /**
091     * Sets the backgroundColor.
092     * @param backgroundColor the backgroundColor to set
093     */
094    public void setBackgroundColor(ColorTransfer backgroundColor) {
095        this.backgroundColor = backgroundColor;
096    }
097
098    /**
099     * Returns the fontStyle.
100     * @return the fontStyle
101     */
102    public FontStyleTransfer getFontStyle() {
103        return fontStyle;
104    }
105
106    /**
107     * Sets the fontStyle.
108     * @param fontStyle the fontStyle to set
109     */
110    public void setFontStyle(FontStyleTransfer fontStyle) {
111        this.fontStyle = fontStyle;
112    }
113
114    /**
115     * Returns the fontWeight.
116     * @return the fontWeight
117     */
118    public FontWeightTransfer getFontWeight() {
119        return fontWeight;
120    }
121
122    /**
123     * Sets the fontWeight.
124     * @param fontWeight the fontWeight to set
125     */
126    public void setFontWeight(FontWeightTransfer fontWeight) {
127        this.fontWeight = fontWeight;
128    }
129
130    /**
131     * Returns the isDefault.
132     * @return the isDefault
133     */
134    public Boolean getIsDefault() {
135        return isDefault;
136    }
137
138    /**
139     * Sets the isDefault.
140     * @param isDefault the isDefault to set
141     */
142    public void setIsDefault(Boolean isDefault) {
143        this.isDefault = isDefault;
144    }
145
146    /**
147     * Returns the sortOrder.
148     * @return the sortOrder
149     */
150    public Integer getSortOrder() {
151        return sortOrder;
152    }
153
154    /**
155     * Sets the sortOrder.
156     * @param sortOrder the sortOrder to set
157     */
158    public void setSortOrder(Integer sortOrder) {
159        this.sortOrder = sortOrder;
160    }
161
162    /**
163     * Returns the description.
164     * @return the description
165     */
166    public String getDescription() {
167        return description;
168    }
169
170    /**
171     * Sets the description.
172     * @param description the description to set
173     */
174    public void setDescription(String description) {
175        this.description = description;
176    }
177
178    /**
179     * Returns the appearanceTextDecorations.
180     * @return the appearanceTextDecorations
181     */
182    public ListWrapper<AppearanceTextDecorationTransfer> getAppearanceTextDecorations() {
183        return appearanceTextDecorations;
184    }
185
186    /**
187     * Sets the appearanceTextDecorations.
188     * @param appearanceTextDecorations the appearanceTextDecorations to set
189     */
190    public void setAppearanceTextDecorations(ListWrapper<AppearanceTextDecorationTransfer> appearanceTextDecorations) {
191        this.appearanceTextDecorations = appearanceTextDecorations;
192    }
193
194    /**
195     * Returns the appearanceTextTransformations.
196     * @return the appearanceTextTransformations
197     */
198    public ListWrapper<AppearanceTextTransformationTransfer> getAppearanceTextTransformations() {
199        return appearanceTextTransformations;
200    }
201
202    /**
203     * Sets the appearanceTextTransformations.
204     * @param appearanceTextTransformations the appearanceTextTransformations to set
205     */
206    public void setAppearanceTextTransformations(ListWrapper<AppearanceTextTransformationTransfer> appearanceTextTransformations) {
207        this.appearanceTextTransformations = appearanceTextTransformations;
208    }
209
210}