public class PredefinedValue
Used to deal with entities composed of a predefined list of values.
public PredefinedValue(@NotNull
java.lang.String value,
@NotNull
java.util.Map<java.util.Locale,? extends java.util.List<java.lang.String>> labels)
Used to deal with entities composed of a predefined list of values.
value - The reference value.labels - The list of possible values for each locale.@NotNull public java.lang.String getValue()
The reference value.
@NotNull public java.util.Map<java.util.Locale,java.util.List> getLabels()
The list of possible values for each locale.
@NotNull public java.lang.String component1()
The reference value.
@NotNull public java.util.Map<java.util.Locale,java.util.List> component2()
The list of possible values for each locale.
@NotNull public PredefinedValue copy(@NotNull java.lang.String value, @NotNull java.util.Map<java.util.Locale,? extends java.util.List<java.lang.String>> labels)
Used to deal with entities composed of a predefined list of values.
@NotNull public java.lang.String toString()
Used to deal with entities composed of a predefined list of values.
public int hashCode()
Used to deal with entities composed of a predefined list of values.
public boolean equals(@Nullable
java.lang.Object p)
Used to deal with entities composed of a predefined list of values.