Record Class NoValuePanelDto
java.lang.Object
java.lang.Record
com.evolveum.midpoint.gui.impl.page.admin.resource.component.NoValuePanelDto
- All Implemented Interfaces:
Serializable
DTO representing a "no objects" state, including title/subtitle text
for empty object-type panels.
Important: Every identifier used with this DTO must have corresponding localization keys defined in the resource bundles:
NoValuePanelDto.<identifier>.titleNoValuePanelDto.<identifier>.title.plural
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.org.apache.wicket.model.StringResourceModelReturns the localized subtitle message for the subtitle panel.org.apache.wicket.model.StringResourceModelgetTitle()Returns the localized title message for the title panel.final inthashCode()Returns a hash code value for this object.@NotNull StringReturns the value of theidentifierrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
NoValuePanelDto
Validates the identifier.
-
-
Method Details
-
getTitle
public org.apache.wicket.model.StringResourceModel getTitle()Returns the localized title message for the title panel. -
getSubtitle
public org.apache.wicket.model.StringResourceModel getSubtitle()Returns the localized subtitle message for the subtitle panel. -
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). -
identifier
Returns the value of theidentifierrecord component.- Returns:
- the value of the
identifierrecord component
-