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 arguments
displayText - the text shown in the completion popup: the name for a property, the name with its parameter list for a method
description - the hint shown next to the display text: the type of a property or the return type of a method. null for void and 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 Details

    • ApiMember

      public ApiMember(String insertText, String displayText, @Nullable String description)
      Creates an instance of a ApiMember record class.
      Parameters:
      insertText - the value for the insertText record component
      displayText - the value for the displayText record component
      description - the value for the description record component
  • Method Details

    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • insertText

      public String insertText()
      Returns the value of the insertText record component.
      Returns:
      the value of the insertText record component
    • displayText

      public String displayText()
      Returns the value of the displayText record component.
      Returns:
      the value of the displayText record component
    • description

      public @Nullable String description()
      Returns the value of the description record component.
      Returns:
      the value of the description record component