DecimalValue

open class DecimalValue : DataValue

DataValue subclass that wraps a {@link com.sap.cloud.mobile.kotlin.odata.DecimalValue#value DecimalValue.value} of type decimal.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open override val dataType: DataType
Link copied to clipboard
open override val typeCode: Int
Link copied to clipboard

Functions

Link copied to clipboard
open override fun copyMutable(): DataValue

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.

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean

Return true if this object is equal to value.

Link copied to clipboard
open override fun hashCode(): Int

Hash the wrapped value to a number.

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

Convert this data value to a string. If the {@link com.sap.cloud.mobile.kotlin.odata.DecimalValue#dataType DecimalValue.dataType} is defined by XML Schema Part 2: Datatypes, then the corresponding lexical format is used. JSON format is used for structured values (arrays and objects).