Record Class AutoconfigSearchSpace.ParameterDescription
java.lang.Object
java.lang.Record
es.urjc.etsii.grafo.autoconfig.service.AutoconfigSearchSpace.ParameterDescription
- Enclosing class:
AutoconfigSearchSpace
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionchoices()Returns the value of thechoicesrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.kind()Returns the value of thekindrecord component.maximum()Returns the value of themaximumrecord component.maxItems()Returns the value of themaxItemsrecord component.minimum()Returns the value of theminimumrecord component.minItems()Returns the value of theminItemsrecord component.name()Returns the value of thenamerecord component.final StringtoString()Returns a string representation of this record class.values()Returns the value of thevaluesrecord component.
-
Constructor Details
-
ParameterDescription
public ParameterDescription(String name, AutoconfigSearchSpace.ParameterKind kind, List<Object> values, Object minimum, Object maximum, Integer minItems, Integer maxItems, List<String> choices) Creates an instance of aParameterDescriptionrecord class.- Parameters:
name- the value for thenamerecord componentkind- the value for thekindrecord componentvalues- the value for thevaluesrecord componentminimum- the value for theminimumrecord componentmaximum- the value for themaximumrecord componentminItems- the value for theminItemsrecord componentmaxItems- the value for themaxItemsrecord componentchoices- the value for thechoicesrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
kind
Returns the value of thekindrecord component.- Returns:
- the value of the
kindrecord component
-
values
-
minimum
Returns the value of theminimumrecord component.- Returns:
- the value of the
minimumrecord component
-
maximum
Returns the value of themaximumrecord component.- Returns:
- the value of the
maximumrecord component
-
minItems
Returns the value of theminItemsrecord component.- Returns:
- the value of the
minItemsrecord component
-
maxItems
Returns the value of themaxItemsrecord component.- Returns:
- the value of the
maxItemsrecord component
-
choices
-