Data Path
Used together with {@link com.sap.cloud.mobile.kotlin.odata.DataQuery} to represent a select, expand or sort item which is a single-part or multi-part path expression. For example, a path whose OData URL representation is "Address/City" might be used to access the "City" property in a complex-typed "Address" property. Also used to represent paths in OData CSDL.
Properties
Functions
Return a copy of this data path with the {@link com.sap.cloud.mobile.kotlin.odata.DataPath#rootProperty DataPath.rootProperty} changed.
Return a clone of this value if it (together with all value subcomponents) is possibly mutable, or return this value if it (together with all value subcomponents) is definitely immutable. The resulting value might share mutable metadata with this query.
Construct a new multi-part path, with this path as the {@link com.sap.cloud.mobile.kotlin.odata.DataPath#parentPath DataPath.parentPath}.
Return true if this path has segments.
Return true if this path is simply for the specified target navigation property.
Return true if this path is simply for the specified target property.
Return true if this path is simply for the specified target structural property.
Return the resolved data type of this path, or {@link com.sap.cloud.mobile.kotlin.odata.DataType#unknown DataType.unknown} if it cannot be determined statically.
Return a copy of this data path with the specified parent as the {@link com.sap.cloud.mobile.kotlin.odata.DataPath#parentPath DataPath.parentPath} of the prior {@link com.sap.cloud.mobile.kotlin.odata.DataPath#rootPath DataPath.rootPath}.