Packages

final case class PackageMetadata(interfaces: Set[daml.lf.data.Ref.Identifier] = Set.empty, templates: Set[daml.lf.data.Ref.Identifier] = Set.empty, interfacesImplementedBy: InterfacesImplementedBy = Map.empty, packageNameMap: Map[daml.lf.data.Ref.PackageName, PackageResolution] = Map.empty, packageIdVersionMap: Map[daml.lf.data.Ref.PackageId, (daml.lf.data.Ref.PackageName, PackageVersion)] = Map.empty, packages: Map[daml.lf.data.Ref.PackageId, PackageSignature] = Map.empty, packageUpgradabilityMap: Map[daml.lf.data.Ref.PackageId, Boolean] = Map.empty) extends Product with Serializable

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PackageMetadata
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new PackageMetadata(interfaces: Set[daml.lf.data.Ref.Identifier] = Set.empty, templates: Set[daml.lf.data.Ref.Identifier] = Set.empty, interfacesImplementedBy: InterfacesImplementedBy = Map.empty, packageNameMap: Map[daml.lf.data.Ref.PackageName, PackageResolution] = Map.empty, packageIdVersionMap: Map[daml.lf.data.Ref.PackageId, (daml.lf.data.Ref.PackageName, PackageVersion)] = Map.empty, packages: Map[daml.lf.data.Ref.PackageId, PackageSignature] = Map.empty, packageUpgradabilityMap: Map[daml.lf.data.Ref.PackageId, Boolean] = Map.empty)

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. lazy val allTypeConIds: Set[daml.lf.data.Ref.Identifier]
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  9. val interfaces: Set[daml.lf.data.Ref.Identifier]
  10. val interfacesImplementedBy: InterfacesImplementedBy
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  14. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  15. val packageIdVersionMap: Map[daml.lf.data.Ref.PackageId, (daml.lf.data.Ref.PackageName, PackageVersion)]
  16. val packageNameMap: Map[daml.lf.data.Ref.PackageName, PackageResolution]
  17. val packageUpgradabilityMap: Map[daml.lf.data.Ref.PackageId, Boolean]
  18. val packages: Map[daml.lf.data.Ref.PackageId, PackageSignature]
  19. def productElementNames: Iterator[String]
    Definition Classes
    Product
  20. def resolveTypeConRef(ref: TypeConRef): Set[daml.lf.data.Ref.Identifier]

    Resolve all template or interface ids for (package-name, qualified-name).

    Resolve all template or interface ids for (package-name, qualified-name).

    As context, package-level upgrading compatibility between two packages pkg1 and pkg2, where pkg2 upgrades pkg1 and they both have the same package-name, ensures that all templates and interfaces defined in pkg1 are present in pkg2. Then, for resolving all the ids for (package-name, qualified-name):

    * we first create all possible ids by concatenation with the requested qualified-name of the known package-ids for the requested package-name.

    * Then, since some templates/interfaces can only be defined later (in a package with greater package-version), we filter the previous result by intersection with the set of all known identifiers (both template-ids and interface-ids).

  21. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  22. val templates: Set[daml.lf.data.Ref.Identifier]
  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])

Deprecated Value Members

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

    (Since version 9)

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped