object Value extends Serializable
- Alphabetic
- By Inheritance
- Value
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- sealed abstract class ContractId extends Product with Serializable
- final case class ContractInstance(template: Identifier, arg: Value, agreementText: String) extends CidContainer[ContractInstance] with Product with Serializable
A contract instance is a value plus the template that originated it.
- type Key = Value
* Keys cannot contain contract ids
- type LookupVariantEnum = (Identifier) => Option[ImmArray[Name]]
The data constructors of a variant or enum, if defined.
- type NodeIdx = Int
- final case class ValueBool(value: Boolean) extends ValueCidlessLeaf with Product with Serializable
- sealed abstract class ValueCidlessLeaf extends Value
The parent of all Value cases that cannot possibly have a Cid.
- final case class ValueContractId(value: ContractId) extends Value with Product with Serializable
- final case class ValueDate(value: Date) extends ValueCidlessLeaf with Product with Serializable
- final case class ValueEnum(tycon: Option[Identifier], value: Name) extends ValueCidlessLeaf with Product with Serializable
- final case class ValueGenMap(entries: ImmArray[(Value, Value)]) extends Value with Product with Serializable
- final case class ValueInt64(value: Long) extends ValueCidlessLeaf with Product with Serializable
- final case class ValueList(values: FrontStack[Value]) extends Value with Product with Serializable
Daml-LF lists are basically linked lists.
Daml-LF lists are basically linked lists. However we use FrontQueue since we store list-literals in the Daml-LF packages and FrontQueue lets prepend chunks rather than only one element.
- final case class ValueNumeric(value: Numeric) extends ValueCidlessLeaf with Product with Serializable
- final case class ValueOptional(value: Option[Value]) extends Value with Product with Serializable
- final case class ValueParty(value: Party) extends ValueCidlessLeaf with Product with Serializable
- final case class ValueRecord(tycon: Option[Identifier], fields: ImmArray[(Option[Name], Value)]) extends Value with Product with Serializable
- final case class ValueText(value: String) extends ValueCidlessLeaf with Product with Serializable
- final case class ValueTextMap(value: SortedLookupList[Value]) extends Value with Product with Serializable
- final case class ValueTimestamp(value: Timestamp) extends ValueCidlessLeaf with Product with Serializable
- final case class ValueVariant(tycon: Option[Identifier], variant: Name, value: Value) extends Value with Product with Serializable
- type VersionedContractInstance = Versioned[ContractInstance]
- type VersionedValue = Versioned[Value]
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val MAXIMUM_NESTING: Int
the maximum nesting level for Daml-LF serializable values.
the maximum nesting level for Daml-LF serializable values. we put this limitation to be able to reliably implement stack safe programs with it. right now it's 100 to be conservative -- it's in the same order of magnitude as the default maximum nesting value of protobuf.
encoders and decoders should check this to make sure values do not exceed this level of nesting.
- implicit val Value Equal instance: Equal[Value]
- val ValueFalse: ValueBool
- val ValueNil: ValueList
- val ValueNone: ValueOptional
- val ValueTrue: ValueBool
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- def orderInstance(Scope: LookupVariantEnum): Order[@@[Value, Scope.type]]
This comparison assumes that you are comparing values of matching type, and, like the lf-value-json decoder, all variants and enums contain their identifier.
This comparison assumes that you are comparing values of matching type, and, like the lf-value-json decoder, all variants and enums contain their identifier. Moreover, the
Scope
must include all of those identifiers. - final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- object ContractId extends Serializable
- object ValueArithmeticError
- object ValueBool extends Serializable
- case object ValueUnit extends ValueCidlessLeaf with Product with Serializable
- object VersionedContractInstance