SelectItem

open class SelectItem

Encapsulates an OData select item. A select item indicates a property (or expression) that is used in the $select system query option.

See Also:

{@link com.sap.cloud.mobile.kotlin.odata.DataQuery#selectItems DataQuery.selectItems}, {@link com.sap.cloud.mobile.kotlin.odata.DataQuery#select(com.sap.cloud.mobile.kotlin.odata.PropertyPath...) DataQuery.select}.

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Return a copy of this item which doesn't share mutable values with this item.

Link copied to clipboard
open fun toProperty(): Property?

If this select item references a simple property path, then return the property. Otherwise return null.

Link copied to clipboard

If this select item references a simple property path, then return the property. Otherwise throw an exception.

Throws:

{@link com.sap.cloud.mobile.kotlin.odata.core.UndefinedException} if this select item does not reference a simple property path.

Link copied to clipboard
open override fun toString(): String

Return a string representation of this select item.