OSDN Git Service

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