Package org.ametys.plugins.forms.helper
Record Class FormAdminDashboardHelper.FormEntryDashboardColumn
java.lang.Object
java.lang.Record
org.ametys.plugins.forms.helper.FormAdminDashboardHelper.FormEntryDashboardColumn
- Record Components:
id- the column idname- the form entry model item namegroup- the column grouplabel- the column labeltypeId- the type of the data of the columnsortFieldName- the sort field name of the columnquestion- the question of the column. Can be null if the column is not related to aFormQuestion
- Enclosing class:
FormAdminDashboardHelper
public static record FormAdminDashboardHelper.FormEntryDashboardColumn(String id, String name, I18nizableText group, I18nizableText label, String typeId, String sortFieldName, FormQuestion question)
extends Record
Record representing a column for form entry display
-
Constructor Summary
ConstructorsConstructorDescriptionFormEntryDashboardColumn(String id, String name, I18nizableText group, I18nizableText label, String typeId, String sortFieldName, FormQuestion question) Creates an instance of aFormEntryDashboardColumnrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.group()Returns the value of thegrouprecord component.final inthashCode()Returns a hash code value for this object.id()Returns the value of theidrecord component.label()Returns the value of thelabelrecord component.name()Returns the value of thenamerecord component.question()Returns the value of thequestionrecord component.Returns the value of thesortFieldNamerecord component.final StringtoString()Returns a string representation of this record class.typeId()Returns the value of thetypeIdrecord component.
-
Constructor Details
-
FormEntryDashboardColumn
public FormEntryDashboardColumn(String id, String name, I18nizableText group, I18nizableText label, String typeId, String sortFieldName, FormQuestion question) Creates an instance of aFormEntryDashboardColumnrecord class.- Parameters:
id- the value for theidrecord componentname- the value for thenamerecord componentgroup- the value for thegrouprecord componentlabel- the value for thelabelrecord componenttypeId- the value for thetypeIdrecord componentsortFieldName- the value for thesortFieldNamerecord componentquestion- the value for thequestionrecord 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
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). -
id
Returns the value of theidrecord component.- Returns:
- the value of the
idrecord component
-
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
group
Returns the value of thegrouprecord component.- Returns:
- the value of the
grouprecord component
-
label
Returns the value of thelabelrecord component.- Returns:
- the value of the
labelrecord component
-
typeId
Returns the value of thetypeIdrecord component.- Returns:
- the value of the
typeIdrecord component
-
sortFieldName
Returns the value of thesortFieldNamerecord component.- Returns:
- the value of the
sortFieldNamerecord component
-
question
Returns the value of thequestionrecord component.- Returns:
- the value of the
questionrecord component
-