Package com.onec.metadata
Record Class DashboardWidgetDescriptor
java.lang.Object
java.lang.Record
com.onec.metadata.DashboardWidgetDescriptor
-
Constructor Summary
ConstructorsConstructorDescriptionDashboardWidgetDescriptor(String title, String widgetType, int order, String width, String entityType, String entityName, int maxItems, String dateField, String titleField, Map<String, String> extraConfig, String hint) Creates an instance of aDashboardWidgetDescriptorrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedateFieldrecord component.Returns the value of theentityNamerecord component.Returns the value of theentityTyperecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theextraConfigrecord component.final inthashCode()Returns a hash code value for this object.hint()Returns the value of thehintrecord component.intmaxItems()Returns the value of themaxItemsrecord component.intorder()Returns the value of theorderrecord component.title()Returns the value of thetitlerecord component.Returns the value of thetitleFieldrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thewidgetTyperecord component.width()Returns the value of thewidthrecord component.
-
Constructor Details
-
DashboardWidgetDescriptor
public DashboardWidgetDescriptor(String title, String widgetType, int order, String width, String entityType, String entityName, int maxItems, String dateField, String titleField, Map<String, String> extraConfig, String hint) Creates an instance of aDashboardWidgetDescriptorrecord class.- Parameters:
title- the value for thetitlerecord componentwidgetType- the value for thewidgetTyperecord componentorder- the value for theorderrecord componentwidth- the value for thewidthrecord componententityType- the value for theentityTyperecord componententityName- the value for theentityNamerecord componentmaxItems- the value for themaxItemsrecord componentdateField- the value for thedateFieldrecord componenttitleField- the value for thetitleFieldrecord componentextraConfig- the value for theextraConfigrecord componenthint- the value for thehintrecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
title
Returns the value of thetitlerecord component.- Returns:
- the value of the
titlerecord component
-
widgetType
Returns the value of thewidgetTyperecord component.- Returns:
- the value of the
widgetTyperecord component
-
order
public int order()Returns the value of theorderrecord component.- Returns:
- the value of the
orderrecord component
-
width
Returns the value of thewidthrecord component.- Returns:
- the value of the
widthrecord component
-
entityType
Returns the value of theentityTyperecord component.- Returns:
- the value of the
entityTyperecord component
-
entityName
Returns the value of theentityNamerecord component.- Returns:
- the value of the
entityNamerecord component
-
maxItems
public int maxItems()Returns the value of themaxItemsrecord component.- Returns:
- the value of the
maxItemsrecord component
-
dateField
Returns the value of thedateFieldrecord component.- Returns:
- the value of the
dateFieldrecord component
-
titleField
Returns the value of thetitleFieldrecord component.- Returns:
- the value of the
titleFieldrecord component
-
extraConfig
Returns the value of theextraConfigrecord component.- Returns:
- the value of the
extraConfigrecord component
-
hint
Returns the value of thehintrecord component.- Returns:
- the value of the
hintrecord component
-