Record Class ButtonWithConfirmationOptionsDialog.ButtonConfig<T extends Describable>
java.lang.Object
java.lang.Record
com.evolveum.midpoint.web.component.input.ButtonWithConfirmationOptionsDialog.ButtonConfig<T>
- All Implemented Interfaces:
Serializable
- Enclosing class:
- ButtonWithConfirmationOptionsDialog<T extends Describable>
public static record ButtonWithConfirmationOptionsDialog.ButtonConfig<T extends Describable>(org.apache.wicket.model.IModel<String> icon, org.apache.wicket.model.IModel<String> title, org.apache.wicket.model.IModel<ConfirmationWithOptionsDto<T extends Describable>> confirmationDialogConfig, org.apache.wicket.model.IModel<PageBase> pageBase)
extends Record
implements Serializable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionButtonConfig(org.apache.wicket.model.IModel<String> icon, org.apache.wicket.model.IModel<String> title, org.apache.wicket.model.IModel<ConfirmationWithOptionsDto<T>> confirmationDialogConfig, org.apache.wicket.model.IModel<PageBase> pageBase) Creates an instance of aButtonConfigrecord class. -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.wicket.model.IModel<ConfirmationWithOptionsDto<T>>Returns the value of theconfirmationDialogConfigrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.org.apache.wicket.model.IModel<String>icon()Returns the value of theiconrecord component.org.apache.wicket.model.IModel<PageBase>pageBase()Returns the value of thepageBaserecord component.org.apache.wicket.model.IModel<String>title()Returns the value of thetitlerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ButtonConfig
public ButtonConfig(org.apache.wicket.model.IModel<String> icon, org.apache.wicket.model.IModel<String> title, org.apache.wicket.model.IModel<ConfirmationWithOptionsDto<T>> confirmationDialogConfig, org.apache.wicket.model.IModel<PageBase> pageBase) Creates an instance of aButtonConfigrecord class.- Parameters:
icon- the value for theiconrecord componenttitle- the value for thetitlerecord componentconfirmationDialogConfig- the value for theconfirmationDialogConfigrecord componentpageBase- the value for thepageBaserecord component
-
-
Method Details
-
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). -
icon
Returns the value of theiconrecord component.- Returns:
- the value of the
iconrecord component
-
title
Returns the value of thetitlerecord component.- Returns:
- the value of the
titlerecord component
-
confirmationDialogConfig
Returns the value of theconfirmationDialogConfigrecord component.- Returns:
- the value of the
confirmationDialogConfigrecord component
-
pageBase
Returns the value of thepageBaserecord component.- Returns:
- the value of the
pageBaserecord component
-