Class Field
java.lang.Object
br.net.dd.netherwingcore.common.configuration.fields.Field
- Direct Known Subclasses:
DefaultValue, Description, Detail, DeveloperNote, Example, Format, ImportantNote, Key, Observations, Value
Abstract class representing a generic field configuration.
This class serves as a base for creating fields with different values and types.
It provides mechanisms to manage single or multiple values and handles field types.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Field
Constructor to initialize the field with multiple values.- Parameters:
values- An array of strings representing the field's multiple values.
-
Field
-
-
Method Details
-
getValues
Retrieves the values of the field.- Returns:
- An array of strings representing the field's values.
-
setValues
Sets the values of the field.- Parameters:
values- An array of strings representing the new values for the field.
-
getValue
Retrieves the single value of the field.- Returns:
- The string value of the field.
-
setValue
Sets the single value of the field.- Parameters:
value- The new string value to be assigned to the field.
-
getType
-
setType
-