Package com.axelor.meta.headless
Record Class FormLimit
java.lang.Object
java.lang.Record
com.axelor.meta.headless.FormLimit
- Record Components:
widget- the field or button it concernskind- what is not rundetail- what the definition says: the attribute and its expression, the action, the widget
Something a browser would do with a form that a session does not, found from the definitions
alone. The session runs past the first four kinds — the server accepts what it accepts — and a
FormLimit.Kind.WIDGET limit refuses a step that needs it.-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionFormLimit(String widget, FormLimit.Kind kind, String detail) Creates an instance of aFormLimitrecord class. -
Method Summary
Modifier and TypeMethodDescriptiondetail()Returns the value of thedetailrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.kind()Returns the value of thekindrecord component.final StringtoString()Returns a string representation of this record class.widget()Returns the value of thewidgetrecord component.
-
Constructor Details
-
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). -
widget
Returns the value of thewidgetrecord component.- Returns:
- the value of the
widgetrecord component
-
kind
Returns the value of thekindrecord component.- Returns:
- the value of the
kindrecord component
-
detail
Returns the value of thedetailrecord component.- Returns:
- the value of the
detailrecord component
-