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.item.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.persistence.type.ByteArray;
022import com.echothree.util.common.transfer.BaseTransfer;
023
024public class ItemDescriptionTransfer
025        extends BaseTransfer {
026    
027    private ItemDescriptionTypeTransfer itemDescriptionType;
028    private ItemTransfer item;
029    private LanguageTransfer language;
030    private MimeTypeTransfer mimeType;
031    private ByteArray blobDescription;
032    private String clobDescription;
033    private String stringDescription;
034    private ItemImageTypeTransfer itemImageType;
035    private Integer height;
036    private Integer width;
037    private Boolean scaledFromParent;
038    private String eTag;
039    
040    /** Creates a new instance of ItemDescriptionTransfer */
041    public ItemDescriptionTransfer(ItemDescriptionTypeTransfer itemDescriptionType, ItemTransfer item, LanguageTransfer language, MimeTypeTransfer mimeType,
042            ByteArray blobDescription, String clobDescription, String stringDescription, ItemImageTypeTransfer itemImageType, Integer height, Integer width,
043            Boolean scaledFromParent, String eTag) {
044        this.itemDescriptionType = itemDescriptionType;
045        this.item = item;
046        this.language = language;
047        this.mimeType = mimeType;
048        this.blobDescription = blobDescription;
049        this.clobDescription = clobDescription;
050        this.stringDescription = stringDescription;
051        this.itemImageType = itemImageType;
052        this.height = height;
053        this.width = width;
054        this.scaledFromParent = scaledFromParent;
055        this.eTag = eTag;
056    }
057    
058    public ItemDescriptionTypeTransfer getItemDescriptionType() {
059        return itemDescriptionType;
060    }
061    
062    public void setItemDescriptionType(ItemDescriptionTypeTransfer itemDescriptionType) {
063        this.itemDescriptionType = itemDescriptionType;
064    }
065    
066    public ItemTransfer getItem() {
067        return item;
068    }
069    
070    public void setItem(ItemTransfer item) {
071        this.item = item;
072    }
073    
074    public LanguageTransfer getLanguage() {
075        return language;
076    }
077    
078    public void setLanguage(LanguageTransfer language) {
079        this.language = language;
080    }
081    
082    public MimeTypeTransfer getMimeType() {
083        return mimeType;
084    }
085    
086    public void setMimeType(MimeTypeTransfer mimeType) {
087        this.mimeType = mimeType;
088    }
089
090    public ByteArray getBlobDescription() {
091        return blobDescription;
092    }
093
094    public void setBlobDescription(ByteArray blobDescription) {
095        this.blobDescription = blobDescription;
096    }
097
098    public String getClobDescription() {
099        return clobDescription;
100    }
101
102    public void setClobDescription(String clobDescription) {
103        this.clobDescription = clobDescription;
104    }
105
106    public String getStringDescription() {
107        return stringDescription;
108    }
109
110    public void setStringDescription(String stringDescription) {
111        this.stringDescription = stringDescription;
112    }
113
114    /**
115     * Returns the itemImageType.
116     * @return the itemImageType
117     */
118    public ItemImageTypeTransfer getItemImageType() {
119        return itemImageType;
120    }
121
122    /**
123     * Sets the itemImageType.
124     * @param itemImageType the itemImageType to set
125     */
126    public void setItemImageType(ItemImageTypeTransfer itemImageType) {
127        this.itemImageType = itemImageType;
128    }
129
130    /**
131     * Returns the height.
132     * @return the height
133     */
134    public Integer getHeight() {
135        return height;
136    }
137
138    /**
139     * Sets the height.
140     * @param height the height to set
141     */
142    public void setHeight(Integer height) {
143        this.height = height;
144    }
145
146    /**
147     * Returns the width.
148     * @return the width
149     */
150    public Integer getWidth() {
151        return width;
152    }
153
154    /**
155     * Sets the width.
156     * @param width the width to set
157     */
158    public void setWidth(Integer width) {
159        this.width = width;
160    }
161
162    /**
163     * Returns the scaledFromParent.
164     * @return the scaledFromParent
165     */
166    public Boolean getScaledFromParent() {
167        return scaledFromParent;
168    }
169
170    /**
171     * Sets the scaledFromParent.
172     * @param scaledFromParent the scaledFromParent to set
173     */
174    public void setScaledFromParent(Boolean scaledFromParent) {
175        this.scaledFromParent = scaledFromParent;
176    }
177
178    /**
179     * Returns the eTag.
180     * @return the eTag
181     */
182    public String getETag() {
183        return eTag;
184    }
185
186    /**
187     * Sets the eTag.
188     * @param eTag the eTag to set
189     */
190    public void setETag(String eTag) {
191        this.eTag = eTag;
192    }
193
194}