Packages

object Value extends Serializable

Linear Supertypes
Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Value
  2. Serializable
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. sealed abstract class ContractId extends Product with Serializable
  2. 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.

  3. type Key = Value

    * Keys cannot contain contract ids

  4. type LookupVariantEnum = (Identifier) => Option[ImmArray[Name]]

    The data constructors of a variant or enum, if defined.

  5. type NodeIdx = Int
  6. final case class ValueBool(value: Boolean) extends ValueCidlessLeaf with Product with Serializable
  7. sealed abstract class ValueCidlessLeaf extends Value

    The parent of all Value cases that cannot possibly have a Cid.

    The parent of all Value cases that cannot possibly have a Cid. NB: use only in pattern-matching Value; the type of a cid-less Value is Value[Nothing].

  8. final case class ValueContractId(value: ContractId) extends Value with Product with Serializable
  9. final case class ValueDate(value: Date) extends ValueCidlessLeaf with Product with Serializable
  10. final case class ValueEnum(tycon: Option[Identifier], value: Name) extends ValueCidlessLeaf with Product with Serializable
  11. final case class ValueGenMap(entries: ImmArray[(Value, Value)]) extends Value with Product with Serializable
  12. final case class ValueInt64(value: Long) extends ValueCidlessLeaf with Product with Serializable
  13. 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.

  14. final case class ValueNumeric(value: Numeric) extends ValueCidlessLeaf with Product with Serializable
  15. final case class ValueOptional(value: Option[Value]) extends Value with Product with Serializable
  16. final case class ValueParty(value: Party) extends ValueCidlessLeaf with Product with Serializable
  17. final case class ValueRecord(tycon: Option[Identifier], fields: ImmArray[(Option[Name], Value)]) extends Value with Product with Serializable
  18. final case class ValueText(value: String) extends ValueCidlessLeaf with Product with Serializable
  19. final case class ValueTextMap(value: SortedLookupList[Value]) extends Value with Product with Serializable
  20. final case class ValueTimestamp(value: Timestamp) extends ValueCidlessLeaf with Product with Serializable
  21. final case class ValueVariant(tycon: Option[Identifier], variant: Name, value: Value) extends Value with Product with Serializable
  22. type VersionedContractInstance = Versioned[ContractInstance]
  23. type VersionedValue = Versioned[Value]

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. 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.

  5. implicit val Value Equal instance: Equal[Value]
  6. val ValueFalse: ValueBool
  7. val ValueNil: ValueList
  8. val ValueNone: ValueOptional
  9. val ValueTrue: ValueBool
  10. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  11. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  14. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  20. 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.

  21. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  22. def toString(): String
    Definition Classes
    AnyRef → Any
  23. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  24. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  25. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  26. object ContractId extends Serializable
  27. object ValueArithmeticError
  28. object ValueBool extends Serializable
  29. case object ValueUnit extends ValueCidlessLeaf with Product with Serializable
  30. object VersionedContractInstance

Deprecated Value Members

  1. val VersionedValue: Versioned.type
    Annotations
    @deprecated
    Deprecated

    (Since version 1.18.0) use com.daml.lf.transaction.Versioned directly

  2. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped