Record Class Localization.Command.Symbol
java.lang.Object
java.lang.Record
net.flectone.pulse.config.Localization.Command.Symbol
- All Implemented Interfaces:
LocalizationSetting
- Enclosing class:
Localization.Command
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final booleanIndicates whether some other object is "equal to" this one.footer()Returns the value of thefooterrecord component.final inthashCode()Returns a hash code value for this object.header()Returns the value of theheaderrecord component.Returns the value of thelineElementrecord component.Returns the value of thenullCategoryrecord component.nullPage()Returns the value of thenullPagerecord component.final StringtoString()Returns a string representation of this record class.withFooter(String footer) withHeader(String header) withLineElement(String lineElement) withNullCategory(String nullCategory) withNullPage(String nullPage)
-
Constructor Details
-
Symbol
public Symbol(String nullCategory, String nullPage, String header, String lineElement, String footer) Creates an instance of aSymbolrecord class.- Parameters:
nullCategory- the value for thenullCategoryrecord componentnullPage- the value for thenullPagerecord componentheader- the value for theheaderrecord componentlineElement- the value for thelineElementrecord componentfooter- the value for thefooterrecord component
-
-
Method Details
-
builder
-
toBuilder
-
withNullCategory
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withNullPage
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withHeader
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withLineElement
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
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). -
nullCategory
Returns the value of thenullCategoryrecord component.- Returns:
- the value of the
nullCategoryrecord component
-
nullPage
Returns the value of thenullPagerecord component.- Returns:
- the value of the
nullPagerecord component
-
header
Returns the value of theheaderrecord component.- Returns:
- the value of the
headerrecord component
-
lineElement
Returns the value of thelineElementrecord component.- Returns:
- the value of the
lineElementrecord component
-