OSDN Git Service

コメント量を減らすパラメータを渡す処理実装
[coroid/inqubus.git] / frontend / src / saccubus / converter / profile / CommentGetInfo.java
1 /*
2  * To change this template, choose Tools | Templates
3  * and open the template in the editor.
4  */
5 package saccubus.converter.profile;
6
7 /**
8  * コメント取得に関するプロファイルです.
9  * @author yuki
10  */
11 public class CommentGetInfo {
12
13     /** コメント取得数を自動調整するのであればtrue. */
14     private final boolean selfAdjustCommentNum;
15     /** コメント取得数を自動調整しない場合の取得数. */
16     private final int backComment;
17     /** 旧仕様(2010年末までバージョン)でコメントを取得する場合はtrue. */
18     private final boolean reduceComment;
19
20     public CommentGetInfo(boolean selfAdjustCommentNum, int backComment, boolean reduceComment) {
21         this.selfAdjustCommentNum = selfAdjustCommentNum;
22         this.backComment = backComment;
23         this.reduceComment = reduceComment;
24     }
25
26     public boolean isSelfAdjustCommentNum() {
27         return selfAdjustCommentNum;
28     }
29
30     public int getBackComment() {
31         return backComment;
32     }
33
34     public boolean isReduceComment() {
35         return reduceComment;
36     }
37 }