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 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.boolean
hidden()
Returns the value of thehidden
record component.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.module()
Returns the value of themodule
record component.boolean
optional()
Returns the value of theoptional
record component.path()
Returns the value of thepath
record component.boolean
readOnly()
Returns the value of thereadOnly
record component.scopes()
Returns the value of thescopes
record component.final String
toString()
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 aFormInfoRow
record class.- Parameters:
id
- the value for theid
record componentscopes
- the value for thescopes
record componentdataType
- the value for thedataType
record componentreadOnly
- the value for thereadOnly
record componentpath
- the value for thepath
record componenthidden
- the value for thehidden
record componentmodule
- the value for themodule
record componentoptional
- the value for theoptional
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. Reference components are compared withObjects::equals(Object,Object)
; primitive components are compared with '=='. -
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
-
readOnly
public boolean readOnly()Returns the value of thereadOnly
record component.- Returns:
- the value of the
readOnly
record component
-
path
Returns the value of thepath
record component.- Returns:
- the value of the
path
record component
-
module
Returns the value of themodule
record component.- Returns:
- the value of the
module
record component
-
optional
public boolean optional()Returns the value of theoptional
record component.- Returns:
- the value of the
optional
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
-