Record Class FormModelBrowserResource.FormModelRow
java.lang.Object
java.lang.Record
ch.tocco.nice2.rest.form.impl.resources.FormModelBrowserResource.FormModelRow
- Enclosing class:
FormModelBrowserResource
public static record FormModelBrowserResource.FormModelRow(String id, List<FormModelBrowserResource.FormModelRow> children, Set<FormScope> scopes, String dataType, boolean readOnly, String path, boolean hidden, String module, boolean mandatory, String labelDe, String labelEn, String labelFr, String labelIt)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionFormModelRow(String id, List<FormModelBrowserResource.FormModelRow> children, Set<FormScope> scopes, String dataType, boolean readOnly, String path, boolean hidden, String module, boolean mandatory, String labelDe, String labelEn, String labelFr, String labelIt) Creates an instance of aFormModelRowrecord class. -
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.booleanhidden()Returns the value of thehiddenrecord component.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.booleanReturns the value of themandatoryrecord component.module()Returns the value of themodulerecord component.path()Returns the value of thepathrecord component.booleanreadOnly()Returns the value of thereadOnlyrecord component.scopes()Returns the value of thescopesrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
FormModelRow
public FormModelRow(String id, List<FormModelBrowserResource.FormModelRow> children, Set<FormScope> scopes, String dataType, boolean readOnly, String path, boolean hidden, String module, boolean mandatory, String labelDe, String labelEn, String labelFr, String labelIt) Creates an instance of aFormModelRowrecord class.- Parameters:
id- the value for theidrecord componentchildren- the value for thechildrenrecord componentscopes- the value for thescopesrecord componentdataType- the value for thedataTyperecord componentreadOnly- the value for thereadOnlyrecord componentpath- the value for thepathrecord componenthidden- the value for thehiddenrecord componentmodule- the value for themodulerecord componentmandatory- the value for themandatoryrecord componentlabelDe- the value for thelabelDerecord componentlabelEn- the value for thelabelEnrecord componentlabelFr- the value for thelabelFrrecord componentlabelIt- the value for thelabelItrecord component
-
-
Method Details
-
toString
-
hashCode
-
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 thecomparemethod from their corresponding wrapper classes. -
id
Returns the value of theidrecord component.- Returns:
- the value of the
idrecord component
-
children
Returns the value of thechildrenrecord component.- Returns:
- the value of the
childrenrecord component
-
scopes
-
dataType
Returns the value of thedataTyperecord component.- Returns:
- the value of the
dataTyperecord component
-
readOnly
public boolean readOnly()Returns the value of thereadOnlyrecord component.- Returns:
- the value of the
readOnlyrecord component
-
path
Returns the value of thepathrecord component.- Returns:
- the value of the
pathrecord component
-
module
Returns the value of themodulerecord component.- Returns:
- the value of the
modulerecord component
-
mandatory
public boolean mandatory()Returns the value of themandatoryrecord component.- Returns:
- the value of the
mandatoryrecord 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
-