• R/O
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

Revision182 (tree)
Time2016-01-01 16:22:52
Authort_nakayama1971

Log Message

(empty log message)

Change Summary

Incremental Difference

--- trunk/framework/test/src/project/view/LabelValue.java (nonexistent)
+++ trunk/framework/test/src/project/view/LabelValue.java (revision 182)
@@ -0,0 +1,64 @@
1+package project.view;
2+
3+import java.io.Serializable;
4+
5+/**
6+ * ラベルバリュー
7+ * @author Tadashi Nakayama
8+ */
9+public final class LabelValue implements Serializable {
10+ /** serialVersionUID */
11+ private static final long serialVersionUID = 2409858359017684463L;
12+
13+ /** ラベル */
14+ private final String label;
15+ /** バリュー */
16+ private final String value;
17+ /** コメント*/
18+ private final String comment;
19+
20+ /**
21+ * コンストラクタ
22+ * @param lbl ラベル
23+ * @param val バリュー
24+ */
25+ public LabelValue(final String lbl, final String val) {
26+ this(lbl, val, null);
27+ }
28+
29+ /**
30+ * コンストラクタ
31+ * @param lbl ラベル
32+ * @param val バリュー
33+ * @param cmt コメント
34+ */
35+ public LabelValue(final String lbl, final String val, final String cmt) {
36+ this.label = lbl;
37+ this.value = val;
38+ this.comment = cmt;
39+ }
40+
41+ /**
42+ * ラベル取得
43+ * @return ラベル
44+ */
45+ public String getLabel() {
46+ return this.label;
47+ }
48+
49+ /**
50+ * バリュー取得
51+ * @return バリュー
52+ */
53+ public String getValue() {
54+ return this.value;
55+ }
56+
57+ /**
58+ * コメント取得
59+ * @return コメント
60+ */
61+ public String getComment() {
62+ return this.comment;
63+ }
64+}