Record Class DynamicViewApiIntrospector.ApiMember
java.lang.Object
java.lang.Record
io.jmix.dynmodelflowui.impl.behavior.DynamicViewApiIntrospector.ApiMember
- Record Components:
insertText- the text to insert into the expression: the name, with the parentheses for a method that takes no argumentsdisplayText- the text shown in the completion popup: the name for a property, the name with its parameter list for a methoddescription- the hint shown next to the display text: the type of a property or the return type of a method.nullforvoidand for a facade, whose class name would tell the reader nothing
- Enclosing class:
DynamicViewApiIntrospector
public static record DynamicViewApiIntrospector.ApiMember(String insertText, String displayText, @Nullable String description)
extends Record
A single member of the sandbox API.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable StringReturns the value of thedescriptionrecord component.Returns the value of thedisplayTextrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theinsertTextrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ApiMember
Creates an instance of aApiMemberrecord class.- Parameters:
insertText- the value for theinsertTextrecord componentdisplayText- the value for thedisplayTextrecord componentdescription- the value for thedescriptionrecord 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). -
insertText
Returns the value of theinsertTextrecord component.- Returns:
- the value of the
insertTextrecord component
-
displayText
Returns the value of thedisplayTextrecord component.- Returns:
- the value of the
displayTextrecord component
-
description
Returns the value of thedescriptionrecord component.- Returns:
- the value of the
descriptionrecord component
-