Record Class SmartCorrelationTileModel.StateRecord
java.lang.Object
java.lang.Record
com.evolveum.midpoint.gui.impl.page.admin.resource.component.wizard.schemaHandling.objectType.correlation.SmartCorrelationTileModel.StateRecord
- All Implemented Interfaces:
Serializable
- Enclosing class:
- SmartCorrelationTileModel<T extends PrismContainerValueWrapper<ItemsSubCorrelatorType>>
public static record SmartCorrelationTileModel.StateRecord(@Nullable String value, @Nullable String label)
extends Record
implements Serializable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionStateRecord(@Nullable String value, @Nullable String label) Creates an instance of aStateRecordrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.getLabel()getValue()final inthashCode()Returns a hash code value for this object.@Nullable Stringlabel()Returns the value of thelabelrecord component.final StringtoString()Returns a string representation of this record class.@Nullable Stringvalue()Returns the value of thevaluerecord component.
-
Constructor Details
-
StateRecord
Creates an instance of aStateRecordrecord class.- Parameters:
value- the value for thevaluerecord componentlabel- the value for thelabelrecord component
-
-
Method Details
-
getValue
-
getLabel
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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). -
value
Returns the value of thevaluerecord component.- Returns:
- the value of the
valuerecord component
-
label
Returns the value of thelabelrecord component.- Returns:
- the value of the
labelrecord component
-