public class Entry
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
documentation
The documentation string or
null if unknown. |
private java.lang.String |
value
The value.
|
Constructor and Description |
---|
Entry(java.lang.String value,
java.lang.String documentation)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDocumentation()
Returns the documentation string.
|
java.lang.String |
getValue()
Returns the value.
|
void |
setDocumentation(java.lang.String documentation)
Sets the documentation string.
|
void |
setValue(java.lang.String value)
Sets the value.
|
@Nullable private java.lang.String documentation
null
if unknown.@NotNull private java.lang.String value
public Entry(@NotNull java.lang.String value, @Nullable java.lang.String documentation)
value
- the valuedocumentation
- the documentation string or null
if unknown@Nullable public java.lang.String getDocumentation()
null
if unknown@NotNull public java.lang.String getValue()
public void setDocumentation(@Nullable java.lang.String documentation)
documentation
- the documentation string or null
if unknownpublic void setValue(@NotNull java.lang.String value)
value
- the value