Record Class StoredSettings
java.lang.Object
java.lang.Record
io.meeds.social.portlet.model.StoredSettings
-
Constructor Summary
ConstructorsConstructorDescriptionStoredSettings(Map<String, Object> headerTranslations, boolean showHiddenSubspaces, int subspacesLimit) Creates an instance of aStoredSettingsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theheaderTranslationsrecord component.booleanReturns the value of theshowHiddenSubspacesrecord component.intReturns the value of thesubspacesLimitrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
StoredSettings
public StoredSettings(Map<String, Object> headerTranslations, boolean showHiddenSubspaces, int subspacesLimit) Creates an instance of aStoredSettingsrecord class.- Parameters:
headerTranslations- the value for theheaderTranslationsrecord componentshowHiddenSubspaces- the value for theshowHiddenSubspacesrecord componentsubspacesLimit- the value for thesubspacesLimitrecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
headerTranslations
-
showHiddenSubspaces
public boolean showHiddenSubspaces()Returns the value of theshowHiddenSubspacesrecord component.- Returns:
- the value of the
showHiddenSubspacesrecord component
-
subspacesLimit
public int subspacesLimit()Returns the value of thesubspacesLimitrecord component.- Returns:
- the value of the
subspacesLimitrecord component
-