Record Class DynModelSqlPathSupport.ResolvedPath

java.lang.Object
java.lang.Record
io.jmix.dynmodel.impl.query.DynModelSqlPathSupport.ResolvedPath
Enclosing class:
DynModelSqlPathSupport

public static record DynModelSqlPathSupport.ResolvedPath(MetaClass rootMetaClass, MetaPropertyPath metaPropertyPath, String propertyPath, List<MetaProperty> metaProperties, int firstDynamicPropertyIndex, MetaClass dynamicOwnerMetaClass, String ownerPathPrefix) extends Record
  • Constructor Details

    • ResolvedPath

      public ResolvedPath(MetaClass rootMetaClass, MetaPropertyPath metaPropertyPath, String propertyPath, List<MetaProperty> metaProperties, int firstDynamicPropertyIndex, MetaClass dynamicOwnerMetaClass, String ownerPathPrefix)
      Creates an instance of a ResolvedPath record class.
      Parameters:
      rootMetaClass - the value for the rootMetaClass record component
      metaPropertyPath - the value for the metaPropertyPath record component
      propertyPath - the value for the propertyPath record component
      metaProperties - the value for the metaProperties record component
      firstDynamicPropertyIndex - the value for the firstDynamicPropertyIndex record component
      dynamicOwnerMetaClass - the value for the dynamicOwnerMetaClass record component
      ownerPathPrefix - the value for the ownerPathPrefix 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. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with '=='.
      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.
    • rootMetaClass

      public MetaClass rootMetaClass()
      Returns the value of the rootMetaClass record component.
      Returns:
      the value of the rootMetaClass record component
    • metaPropertyPath

      public MetaPropertyPath metaPropertyPath()
      Returns the value of the metaPropertyPath record component.
      Returns:
      the value of the metaPropertyPath record component
    • propertyPath

      public String propertyPath()
      Returns the value of the propertyPath record component.
      Returns:
      the value of the propertyPath record component
    • metaProperties

      public List<MetaProperty> metaProperties()
      Returns the value of the metaProperties record component.
      Returns:
      the value of the metaProperties record component
    • firstDynamicPropertyIndex

      public int firstDynamicPropertyIndex()
      Returns the value of the firstDynamicPropertyIndex record component.
      Returns:
      the value of the firstDynamicPropertyIndex record component
    • dynamicOwnerMetaClass

      public MetaClass dynamicOwnerMetaClass()
      Returns the value of the dynamicOwnerMetaClass record component.
      Returns:
      the value of the dynamicOwnerMetaClass record component
    • ownerPathPrefix

      public String ownerPathPrefix()
      Returns the value of the ownerPathPrefix record component.
      Returns:
      the value of the ownerPathPrefix record component