Record Class LabelFormatSynchronisationDescription
java.lang.Object
java.lang.Record
ch.tocco.nice2.reporting.impl.sync.labelformat.LabelFormatSynchronisationDescription
- All Implemented Interfaces:
SynchronisationDescription
public record LabelFormatSynchronisationDescription(String formatId, String formatName, LabelMeasure measure, Entity outputTemplateFormat, boolean active)
extends Record
implements SynchronisationDescription
-
Constructor Summary
ConstructorsConstructorDescriptionLabelFormatSynchronisationDescription(String formatId, String formatName, LabelMeasure measure, Entity outputTemplateFormat, boolean active) Creates an instance of aLabelFormatSynchronisationDescriptionrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbooleanactive()Returns the value of theactiverecord component.final booleanIndicates whether some other object is "equal to" this one.formatId()Returns the value of theformatIdrecord component.Returns the value of theformatNamerecord component.final inthashCode()Returns a hash code value for this object.measure()Returns the value of themeasurerecord component.Returns the value of theoutputTemplateFormatrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
LabelFormatSynchronisationDescription
public LabelFormatSynchronisationDescription(String formatId, String formatName, LabelMeasure measure, Entity outputTemplateFormat, boolean active) Creates an instance of aLabelFormatSynchronisationDescriptionrecord class.- Parameters:
formatId- the value for theformatIdrecord componentformatName- the value for theformatNamerecord componentmeasure- the value for themeasurerecord componentoutputTemplateFormat- the value for theoutputTemplateFormatrecord componentactive- the value for theactiverecord 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. -
formatId
Returns the value of theformatIdrecord component.- Returns:
- the value of the
formatIdrecord component
-
formatName
Returns the value of theformatNamerecord component.- Returns:
- the value of the
formatNamerecord component
-
measure
Returns the value of themeasurerecord component.- Returns:
- the value of the
measurerecord component
-
outputTemplateFormat
Returns the value of theoutputTemplateFormatrecord component.- Returns:
- the value of the
outputTemplateFormatrecord component
-
active
public boolean active()Returns the value of theactiverecord component.- Returns:
- the value of the
activerecord component
-