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.util.common.transfer.BaseTransfer; 020 021public class CommentUsageTransfer 022 extends BaseTransfer { 023 024 private CommentTransfer comment; 025 private CommentUsageTypeTransfer commentUsageType; 026 027 /** Creates a new instance of CommentUsageTransfer */ 028 public CommentUsageTransfer() { 029 // Nothing. 030 } 031 032 /** Creates a new instance of CommentUsageTransfer */ 033 public CommentUsageTransfer(CommentTransfer comment, CommentUsageTypeTransfer commentUsageType) { 034 this.comment = comment; 035 this.commentUsageType = commentUsageType; 036 } 037 038 public CommentTransfer getComment() { 039 return comment; 040 } 041 042 public void setComment(CommentTransfer comment) { 043 this.comment = comment; 044 } 045 046 public CommentUsageTypeTransfer getCommentUsageType() { 047 return commentUsageType; 048 } 049 050 public void setCommentUsageType(CommentUsageTypeTransfer commentUsageType) { 051 this.commentUsageType = commentUsageType; 052 } 053 054}