Record Class FormModelBrowserResource.FormModelTable
java.lang.Object
java.lang.Record
ch.tocco.nice2.rest.form.impl.resources.FormModelBrowserResource.FormModelTable
- Enclosing class:
FormModelBrowserResource
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionchildren()Returns the value of thechildrenrecord component.dataType()Returns the value of thedataTyperecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.id()Returns the value of theidrecord component.labelDe()Returns the value of thelabelDerecord component.labelEn()Returns the value of thelabelEnrecord component.labelFr()Returns the value of thelabelFrrecord component.labelIt()Returns the value of thelabelItrecord component.scopes()Returns the value of thescopesrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
FormModelTable
public FormModelTable(String id, Set<FormScope> scopes, String dataType, List<FormModelBrowserResource.FormInfoRow> children, String labelDe, String labelEn, String labelFr, String labelIt) Creates an instance of aFormModelTablerecord class.- Parameters:
id- the value for theidrecord componentscopes- the value for thescopesrecord componentdataType- the value for thedataTyperecord componentchildren- the value for thechildrenrecord componentlabelDe- the value for thelabelDerecord componentlabelEn- the value for thelabelEnrecord componentlabelFr- the value for thelabelFrrecord componentlabelIt- the value for thelabelItrecord 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). -
id
Returns the value of theidrecord component.- Returns:
- the value of the
idrecord component
-
scopes
Returns the value of thescopesrecord component.- Returns:
- the value of the
scopesrecord component
-
dataType
Returns the value of thedataTyperecord component.- Returns:
- the value of the
dataTyperecord component
-
children
Returns the value of thechildrenrecord component.- Returns:
- the value of the
childrenrecord component
-
labelDe
Returns the value of thelabelDerecord component.- Returns:
- the value of the
labelDerecord component
-
labelEn
Returns the value of thelabelEnrecord component.- Returns:
- the value of the
labelEnrecord component
-
labelFr
Returns the value of thelabelFrrecord component.- Returns:
- the value of the
labelFrrecord component
-
labelIt
Returns the value of thelabelItrecord component.- Returns:
- the value of the
labelItrecord component
-