Record Class AlphabeticSortingFormContribution
java.lang.Object
java.lang.Record
ch.tocco.nice2.model.form.api.form2.interceptors.AlphabeticSortingFormContribution
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAlphabeticSortingFormContribution(@Nullable String baseName, @Nullable FormScope formScope, boolean includeFallbacks, Set<String> containersToSort) Creates an instance of aAlphabeticSortingFormContributionrecord class. -
Method Summary
Modifier and TypeMethodDescription@Nullable StringbaseName()Returns the value of thebaseNamerecord component.Returns the value of thecontainersToSortrecord component.final booleanIndicates whether some other object is "equal to" this one.forAllForms(String... containersToSort) forFormWithFallbacks(String baseName, FormScope formScope, String... containersToSort) @Nullable FormScopeReturns the value of theformScoperecord component.forSpecificForm(String baseName, FormScope formScope, String... containersToSort) final inthashCode()Returns a hash code value for this object.booleanReturns the value of theincludeFallbacksrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
ORDER
public static final int ORDER- See Also:
-
-
Constructor Details
-
AlphabeticSortingFormContribution
public AlphabeticSortingFormContribution(@Nullable @Nullable String baseName, @Nullable @Nullable FormScope formScope, boolean includeFallbacks, Set<String> containersToSort) Creates an instance of aAlphabeticSortingFormContributionrecord class.- Parameters:
baseName- the value for thebaseNamerecord componentformScope- the value for theformScoperecord componentincludeFallbacks- the value for theincludeFallbacksrecord componentcontainersToSort- the value for thecontainersToSortrecord component
-
-
Method Details
-
forAllForms
-
forSpecificForm
public static AlphabeticSortingFormContribution forSpecificForm(String baseName, FormScope formScope, String... containersToSort) -
forFormWithFallbacks
public static AlphabeticSortingFormContribution forFormWithFallbacks(String baseName, FormScope formScope, String... containersToSort) -
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
baseName
Returns the value of thebaseNamerecord component.- Returns:
- the value of the
baseNamerecord component
-
formScope
Returns the value of theformScoperecord component.- Returns:
- the value of the
formScoperecord component
-
includeFallbacks
public boolean includeFallbacks()Returns the value of theincludeFallbacksrecord component.- Returns:
- the value of the
includeFallbacksrecord component
-
containersToSort
-