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
- Alphabetic
- By Inheritance
- PackageMetadata
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- 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
- 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
- lazy val allTypeConIds: Set[daml.lf.data.Ref.Identifier]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- val interfaces: Set[daml.lf.data.Ref.Identifier]
- val interfacesImplementedBy: InterfacesImplementedBy
- 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
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- val packageIdVersionMap: Map[daml.lf.data.Ref.PackageId, (daml.lf.data.Ref.PackageName, PackageVersion)]
- val packageNameMap: Map[daml.lf.data.Ref.PackageName, PackageResolution]
- val packageUpgradabilityMap: Map[daml.lf.data.Ref.PackageId, Boolean]
- val packages: Map[daml.lf.data.Ref.PackageId, PackageSignature]
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- 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).
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val templates: Set[daml.lf.data.Ref.Identifier]
- 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])