Package io.jmix.dynmodel.impl.query
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 Summary
ConstructorsConstructorDescriptionResolvedPath(MetaClass rootMetaClass, MetaPropertyPath metaPropertyPath, String propertyPath, List<MetaProperty> metaProperties, int firstDynamicPropertyIndex, MetaClass dynamicOwnerMetaClass, String ownerPathPrefix) Creates an instance of aResolvedPathrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedynamicOwnerMetaClassrecord component.final booleanIndicates whether some other object is "equal to" this one.intReturns the value of thefirstDynamicPropertyIndexrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of themetaPropertiesrecord component.Returns the value of themetaPropertyPathrecord component.Returns the value of theownerPathPrefixrecord component.Returns the value of thepropertyPathrecord component.Returns the value of therootMetaClassrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ResolvedPath
public ResolvedPath(MetaClass rootMetaClass, MetaPropertyPath metaPropertyPath, String propertyPath, List<MetaProperty> metaProperties, int firstDynamicPropertyIndex, MetaClass dynamicOwnerMetaClass, String ownerPathPrefix) Creates an instance of aResolvedPathrecord class.- Parameters:
rootMetaClass- the value for therootMetaClassrecord componentmetaPropertyPath- the value for themetaPropertyPathrecord componentpropertyPath- the value for thepropertyPathrecord componentmetaProperties- the value for themetaPropertiesrecord componentfirstDynamicPropertyIndex- the value for thefirstDynamicPropertyIndexrecord componentdynamicOwnerMetaClass- the value for thedynamicOwnerMetaClassrecord componentownerPathPrefix- the value for theownerPathPrefixrecord 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 '=='. -
rootMetaClass
Returns the value of therootMetaClassrecord component.- Returns:
- the value of the
rootMetaClassrecord component
-
metaPropertyPath
Returns the value of themetaPropertyPathrecord component.- Returns:
- the value of the
metaPropertyPathrecord component
-
propertyPath
Returns the value of thepropertyPathrecord component.- Returns:
- the value of the
propertyPathrecord component
-
metaProperties
Returns the value of themetaPropertiesrecord component.- Returns:
- the value of the
metaPropertiesrecord component
-
firstDynamicPropertyIndex
public int firstDynamicPropertyIndex()Returns the value of thefirstDynamicPropertyIndexrecord component.- Returns:
- the value of the
firstDynamicPropertyIndexrecord component
-
dynamicOwnerMetaClass
Returns the value of thedynamicOwnerMetaClassrecord component.- Returns:
- the value of the
dynamicOwnerMetaClassrecord component
-
ownerPathPrefix
Returns the value of theownerPathPrefixrecord component.- Returns:
- the value of the
ownerPathPrefixrecord component
-