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