OSDN Git Service

feat: add components
[delesterandomselector/DelesteRandomSelector.git] / src / com / ranfa / lib / io / OutputDataStructure.java
1 package com.ranfa.lib.io;
2
3 import java.io.Serializable;
4
5 public class OutputDataStructure implements Serializable {
6         
7         private static final long serialVersionUID = 1L;
8         
9         // fields
10         private String songname;
11         private int level;
12         private String difficulty;
13         private String attribute;
14         private int score;
15         
16         public OutputDataStructure() {
17                 this(null, -1, null, null, -1);
18         }
19         
20         public OutputDataStructure(String songname, int level, String difficulty, String attribute, int score) {
21                 this.songname = songname;
22                 this.level = level;
23                 this.difficulty = difficulty;
24                 this.attribute = attribute;
25                 this.score = score;
26         }
27
28         /**
29          * @return songname
30          */
31         public String getSongname() {
32                 return songname;
33         }
34
35         /**
36          * @param songname セットする songname
37          */
38         public void setSongname(String songname) {
39                 this.songname = songname;
40         }
41
42         /**
43          * @return level
44          */
45         public int getLevel() {
46                 return level;
47         }
48
49         /**
50          * @param level セットする level
51          */
52         public void setLevel(int level) {
53                 this.level = level;
54         }
55
56         /**
57          * @return difficulty
58          */
59         public String getDifficulty() {
60                 return difficulty;
61         }
62
63         /**
64          * @param difficulty セットする difficulty
65          */
66         public void setDifficulty(String difficulty) {
67                 this.difficulty = difficulty;
68         }
69
70         /**
71          * @return attribute
72          */
73         public String getAttribute() {
74                 return attribute;
75         }
76
77         /**
78          * @param attribute セットする attribute
79          */
80         public void setAttribute(String attribute) {
81                 this.attribute = attribute;
82         }
83
84         /**
85          * @return score
86          */
87         public int getScore() {
88                 return score;
89         }
90
91         /**
92          * @param score セットする score
93          */
94         public void setScore(int score) {
95                 this.score = score;
96         }
97         
98         
99 }