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 thechildren
record component.dataType()
Returns the value of thedataType
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.id()
Returns the value of theid
record component.labelDe()
Returns the value of thelabelDe
record component.labelEn()
Returns the value of thelabelEn
record component.labelFr()
Returns the value of thelabelFr
record component.labelIt()
Returns the value of thelabelIt
record component.scopes()
Returns the value of thescopes
record component.final String
toString()
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 aFormModelTable
record class.- Parameters:
id
- the value for theid
record componentscopes
- the value for thescopes
record componentdataType
- the value for thedataType
record componentchildren
- the value for thechildren
record componentlabelDe
- the value for thelabelDe
record componentlabelEn
- the value for thelabelEn
record componentlabelFr
- the value for thelabelFr
record componentlabelIt
- the value for thelabelIt
record 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 theid
record component.- Returns:
- the value of the
id
record component
-
scopes
Returns the value of thescopes
record component.- Returns:
- the value of the
scopes
record component
-
dataType
Returns the value of thedataType
record component.- Returns:
- the value of the
dataType
record component
-
children
Returns the value of thechildren
record component.- Returns:
- the value of the
children
record component
-
labelDe
Returns the value of thelabelDe
record component.- Returns:
- the value of the
labelDe
record component
-
labelEn
Returns the value of thelabelEn
record component.- Returns:
- the value of the
labelEn
record component
-
labelFr
Returns the value of thelabelFr
record component.- Returns:
- the value of the
labelFr
record component
-
labelIt
Returns the value of thelabelIt
record component.- Returns:
- the value of the
labelIt
record component
-