Integer

data class Integer(val value: Int) : ParameterValue

A control parameter that is an integer.

Constructors

Link copied to clipboard
constructor(value: Int)

Properties

Link copied to clipboard
val value: Int

Inherited functions

Link copied to clipboard

Casts this ParameterValue as a Boolean and retrieves its kotlin.Boolean value. Throws an exception if the ParameterValue is not a Boolean.

Link copied to clipboard

Casts this ParameterValue as a Boolean and retrieves its kotlin.Boolean value. Returns null if the ParameterValue is not a Boolean.

Link copied to clipboard

Casts this ParameterValue as a Double and retrieves its kotlin.Double value. Throws an exception if the ParameterValue is not a Double.

Link copied to clipboard

Casts this ParameterValue as a Double and retrieves its kotlin.Double value. Returns null if the ParameterValue is not a Double.

Link copied to clipboard
fun asEnum(): String

Casts this ParameterValue as a Enum and retrieves its kotlin.String value. Throws an exception if the ParameterValue is not a Enum.

Link copied to clipboard

Casts this ParameterValue as a EnumList and retrieves its List value. Throws an exception if the ParameterValue is not a EnumList.

Link copied to clipboard

Casts this ParameterValue as a EnumList and retrieves its List value. Returns null if the ParameterValue is not a EnumList.

Link copied to clipboard

Casts this ParameterValue as a Enum and retrieves its kotlin.String value. Returns null if the ParameterValue is not a Enum.

Link copied to clipboard
fun asInteger(): Int

Casts this ParameterValue as a Integer and retrieves its kotlin.Int value. Throws an exception if the ParameterValue is not a Integer.

Link copied to clipboard

Casts this ParameterValue as a IntegerList and retrieves its List value. Throws an exception if the ParameterValue is not a IntegerList.

Link copied to clipboard

Casts this ParameterValue as a IntegerList and retrieves its List value. Returns null if the ParameterValue is not a IntegerList.

Link copied to clipboard

Casts this ParameterValue as a Integer and retrieves its kotlin.Int value. Returns null if the ParameterValue is not a Integer.

Link copied to clipboard

Casts this ParameterValue as a String and retrieves its kotlin.String value. Throws an exception if the ParameterValue is not a String.

Link copied to clipboard

Casts this ParameterValue as a StringList and retrieves its List value. Throws an exception if the ParameterValue is not a StringList.

Link copied to clipboard

Casts this ParameterValue as a StringList and retrieves its List value. Returns null if the ParameterValue is not a StringList.

Link copied to clipboard

Casts this ParameterValue as a String and retrieves its kotlin.String value. Returns null if the ParameterValue is not a String.