Record Class Localization.Command.Poll.Modern
java.lang.Object
java.lang.Record
net.flectone.pulse.config.Localization.Command.Poll.Modern
- Enclosing class:
Localization.Command.Poll
public static record Localization.Command.Poll.Modern(String header, String inputName, String inputInitial, String multipleName, String endTimeName, String repeatTimeName, String newAnswerButtonName, String removeAnswerButtonName, String inputAnswerName, String inputAnswersInitial, String createButtonName)
extends Record
- Since:
- 1.7.1
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionModern(String header, String inputName, String inputInitial, String multipleName, String endTimeName, String repeatTimeName, String newAnswerButtonName, String removeAnswerButtonName, String inputAnswerName, String inputAnswersInitial, String createButtonName) Creates an instance of aModernrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Returns the value of thecreateButtonNamerecord component.Returns the value of theendTimeNamerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.header()Returns the value of theheaderrecord component.Returns the value of theinputAnswerNamerecord component.Returns the value of theinputAnswersInitialrecord component.Returns the value of theinputInitialrecord component.Returns the value of theinputNamerecord component.Returns the value of themultipleNamerecord component.Returns the value of thenewAnswerButtonNamerecord component.Returns the value of theremoveAnswerButtonNamerecord component.Returns the value of therepeatTimeNamerecord component.final StringtoString()Returns a string representation of this record class.withCreateButtonName(String createButtonName) withEndTimeName(String endTimeName) withHeader(String header) withInputAnswerName(String inputAnswerName) withInputAnswersInitial(String inputAnswersInitial) withInputInitial(String inputInitial) withInputName(String inputName) withMultipleName(String multipleName) withNewAnswerButtonName(String newAnswerButtonName) withRemoveAnswerButtonName(String removeAnswerButtonName) withRepeatTimeName(String repeatTimeName)
-
Constructor Details
-
Modern
public Modern(String header, String inputName, String inputInitial, String multipleName, String endTimeName, String repeatTimeName, String newAnswerButtonName, String removeAnswerButtonName, String inputAnswerName, String inputAnswersInitial, String createButtonName) Creates an instance of aModernrecord class.- Parameters:
header- the value for theheaderrecord componentinputName- the value for theinputNamerecord componentinputInitial- the value for theinputInitialrecord componentmultipleName- the value for themultipleNamerecord componentendTimeName- the value for theendTimeNamerecord componentrepeatTimeName- the value for therepeatTimeNamerecord componentnewAnswerButtonName- the value for thenewAnswerButtonNamerecord componentremoveAnswerButtonName- the value for theremoveAnswerButtonNamerecord componentinputAnswerName- the value for theinputAnswerNamerecord componentinputAnswersInitial- the value for theinputAnswersInitialrecord componentcreateButtonName- the value for thecreateButtonNamerecord component
-
-
Method Details
-
builder
-
toBuilder
-
withHeader
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withInputName
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withInputInitial
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withMultipleName
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withEndTimeName
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withRepeatTimeName
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withNewAnswerButtonName
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withRemoveAnswerButtonName
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withInputAnswerName
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withInputAnswersInitial
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withCreateButtonName
- 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). -
header
Returns the value of theheaderrecord component.- Returns:
- the value of the
headerrecord component
-
inputName
Returns the value of theinputNamerecord component.- Returns:
- the value of the
inputNamerecord component
-
inputInitial
Returns the value of theinputInitialrecord component.- Returns:
- the value of the
inputInitialrecord component
-
multipleName
Returns the value of themultipleNamerecord component.- Returns:
- the value of the
multipleNamerecord component
-
endTimeName
Returns the value of theendTimeNamerecord component.- Returns:
- the value of the
endTimeNamerecord component
-
repeatTimeName
Returns the value of therepeatTimeNamerecord component.- Returns:
- the value of the
repeatTimeNamerecord component
-
newAnswerButtonName
Returns the value of thenewAnswerButtonNamerecord component.- Returns:
- the value of the
newAnswerButtonNamerecord component
-
removeAnswerButtonName
Returns the value of theremoveAnswerButtonNamerecord component.- Returns:
- the value of the
removeAnswerButtonNamerecord component
-
inputAnswerName
Returns the value of theinputAnswerNamerecord component.- Returns:
- the value of the
inputAnswerNamerecord component
-
inputAnswersInitial
Returns the value of theinputAnswersInitialrecord component.- Returns:
- the value of the
inputAnswersInitialrecord component
-
createButtonName
Returns the value of thecreateButtonNamerecord component.- Returns:
- the value of the
createButtonNamerecord component
-