00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 package com.realtime.crossfire.jxclient.settings;
00023
00024 import org.jetbrains.annotations.NotNull;
00025 import org.jetbrains.annotations.Nullable;
00026
00031 public class Entry {
00032
00036 @NotNull
00037 private String value;
00038
00042 @Nullable
00043 private String documentation;
00044
00051 public Entry(@NotNull final String value, @Nullable final String documentation) {
00052 this.value = value;
00053 this.documentation = documentation;
00054 }
00055
00060 @NotNull
00061 public String getValue() {
00062 return value;
00063 }
00064
00069 public void setValue(@NotNull final String value) {
00070 this.value = value;
00071 }
00072
00077 @Nullable
00078 public String getDocumentation() {
00079 return documentation;
00080 }
00081
00087 public void setDocumentation(@Nullable final String documentation) {
00088 if (this.documentation == null) {
00089 this.documentation = documentation;
00090 }
00091 }
00092
00093 }