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.comment.common.transfer;
018
019import com.echothree.model.control.core.common.transfer.EntityInstanceTransfer;
020import com.echothree.model.control.core.common.transfer.MimeTypeTransfer;
021import com.echothree.model.control.party.common.transfer.LanguageTransfer;
022import com.echothree.model.control.workflow.common.transfer.WorkflowEntityStatusTransfer;
023import com.echothree.util.common.persistence.type.ByteArray;
024import com.echothree.util.common.transfer.BaseTransfer;
025import com.echothree.util.common.transfer.ListWrapper;
026
027public class CommentTransfer
028        extends BaseTransfer {
029    
030    private String commentName;
031    private CommentTypeTransfer commentType;
032    private EntityInstanceTransfer commentedEntityInstance;
033    private EntityInstanceTransfer commentedByEntityInstance;
034    private LanguageTransfer language;
035    private String description;
036    private MimeTypeTransfer mimeType;
037    private String string;
038    private ByteArray blob;
039    private String clob;
040    
041    private ListWrapper<CommentUsageTransfer> commentUsages;
042    private WorkflowEntityStatusTransfer commentStatus;
043    
044    /** Creates a new instance of CommentTransfer */
045    public CommentTransfer() {
046        // Nothing.
047    }
048    
049    /** Creates a new instance of CommentTransfer */
050    public CommentTransfer(String commentName, CommentTypeTransfer commentType, EntityInstanceTransfer commentedEntityInstance,
051            EntityInstanceTransfer commentedByEntityInstance, LanguageTransfer language, String description,
052            MimeTypeTransfer mimeType, String string, ByteArray blob, String clob) {
053        this.commentName = commentName;
054        this.commentType = commentType;
055        this.commentedEntityInstance = commentedEntityInstance;
056        this.commentedByEntityInstance = commentedByEntityInstance;
057        this.language = language;
058        this.description = description;
059        this.mimeType = mimeType;
060        this.string = string;
061        this.blob = blob;
062        this.clob = clob;
063    }
064    
065    public String getCommentName() {
066        return commentName;
067    }
068    
069    public void setCommentName(String commentName) {
070        this.commentName = commentName;
071    }
072    
073    public CommentTypeTransfer getCommentType() {
074        return commentType;
075    }
076    
077    public void setCommentType(CommentTypeTransfer commentType) {
078        this.commentType = commentType;
079    }
080    
081    public EntityInstanceTransfer getCommentedEntityInstance() {
082        return commentedEntityInstance;
083    }
084    
085    public void setCommentedEntityInstance(EntityInstanceTransfer commentedEntityInstance) {
086        this.commentedEntityInstance = commentedEntityInstance;
087    }
088    
089    public EntityInstanceTransfer getCommentedByEntityInstance() {
090        return commentedByEntityInstance;
091    }
092    
093    public void setCommentedByEntityInstance(EntityInstanceTransfer commentedByEntityInstance) {
094        this.commentedByEntityInstance = commentedByEntityInstance;
095    }
096    
097    public LanguageTransfer getLanguage() {
098        return language;
099    }
100    
101    public void setLanguage(LanguageTransfer language) {
102        this.language = language;
103    }
104    
105    public String getDescription() {
106        return description;
107    }
108    
109    public void setDescription(String description) {
110        this.description = description;
111    }
112    
113    public MimeTypeTransfer getMimeType() {
114        return mimeType;
115    }
116    
117    public void setMimeType(MimeTypeTransfer mimeType) {
118        this.mimeType = mimeType;
119    }
120    
121    public String getString() {
122        return string;
123    }
124    
125    public void setString(String string) {
126        this.string = string;
127    }
128    
129    public ByteArray getBlob() {
130        return blob;
131    }
132    
133    public void setBlob(ByteArray blob) {
134        this.blob = blob;
135    }
136    
137    public String getClob() {
138        return clob;
139    }
140    
141    public void setClob(String clob) {
142        this.clob = clob;
143    }
144    
145    public ListWrapper<CommentUsageTransfer> getCommentUsages() {
146        return commentUsages;
147    }
148    
149    public void setCommentUsages(ListWrapper<CommentUsageTransfer> commentUsages) {
150        this.commentUsages = commentUsages;
151    }
152    
153    public WorkflowEntityStatusTransfer getCommentStatus() {
154        return commentStatus;
155    }
156    
157    public void setCommentStatus(WorkflowEntityStatusTransfer commentStatus) {
158        this.commentStatus = commentStatus;
159    }
160    
161}