Record Class FormModelBrowserResource.FormInfoRow
java.lang.Object
java.lang.Record
ch.tocco.nice2.rest.form.impl.resources.FormModelBrowserResource.FormInfoRow
- Enclosing class:
FormModelBrowserResource
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondataType()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.module()Returns the value of themodulerecord component.booleanoptional()Returns the value of theoptionalrecord 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
-
FormInfoRow
public FormInfoRow(String id, Set<FormScope> scopes, String dataType, boolean readOnly, String path, boolean hidden, String module, boolean optional, String labelDe, String labelEn, String labelFr, String labelIt) Creates an instance of aFormInfoRowrecord class.- Parameters:
id- the value for theidrecord 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 componentoptional- the value for theoptionalrecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
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
-
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
-
optional
public boolean optional()Returns the value of theoptionalrecord component.- Returns:
- the value of the
optionalrecord 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
-