Record Class InputEditResource.InputEditFormDefinition
java.lang.Object
java.lang.Record
ch.tocco.nice2.optional.qualification.impl.resources.inputedit.InputEditResource.InputEditFormDefinition
- Enclosing class:
InputEditResource
-
Constructor Summary
ConstructorDescriptionInputEditFormDefinition
(List<InputEditResource.InputEditField> editColumns, boolean readonly, List<String> readonlyActions, Set<String> hiddenActions) Creates an instance of aInputEditFormDefinition
record class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theeditColumns
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.Returns the value of thehiddenActions
record component.boolean
readonly()
Returns the value of thereadonly
record component.Returns the value of thereadonlyActions
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
InputEditFormDefinition
public InputEditFormDefinition(List<InputEditResource.InputEditField> editColumns, boolean readonly, List<String> readonlyActions, Set<String> hiddenActions) Creates an instance of aInputEditFormDefinition
record class.- Parameters:
editColumns
- the value for theeditColumns
record componentreadonly
- the value for thereadonly
record componentreadonlyActions
- the value for thereadonlyActions
record componenthiddenActions
- the value for thehiddenActions
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 '=='. -
editColumns
Returns the value of theeditColumns
record component.- Returns:
- the value of the
editColumns
record component
-
readonly
public boolean readonly()Returns the value of thereadonly
record component.- Returns:
- the value of the
readonly
record component
-
readonlyActions
Returns the value of thereadonlyActions
record component.- Returns:
- the value of the
readonlyActions
record component
-