Packages

final case class RepresentativePackageIdOverride(contractOverride: Map[String, String], packageIdOverride: Map[String, String], packageNameOverride: Map[String, String]) extends GeneratedMessage with Updatable[RepresentativePackageIdOverride] with Product with Serializable

Defines override mappings for assigning representative package IDs to contracts upon ACS import.

The representative package ID is assigned to a contract upon ACS import based on the following precedence rules.

  1. The associated override for the contract ID in RepresentativePackageIdOverride.contract_override, if specified and present in the package store 2. The associated override for the contract's original package ID in RepresentativePackageIdOverride.package_id_override, if specified and present in the package store 3. The contract's representative package ID from the ACS snapshot, if present in the package store 4. The contract's creation package ID, if present in the package store 5. The associated override for the contract's package name in RepresentativePackageIdOverride.package_name_override, if specified and present in the package store 6. The highest-versioned package in the participant's package store for the contract's package name

If none of the above rules yield a representative package ID, the ACS import request will fail.

See CreatedEvent.representative_package_id in event.proto for more details on the concept of representative package IDs.

contractOverride

Mapping from contract ID to the target representative package ID. Only contracts with IDs matching the keys in this map are affected.

packageIdOverride

Mapping from a contract's original package IDs (either the creation or the representative package ID) to the target representative package ID. Affects only contracts with creation or representative package IDs matching the keys in this map, except if they're not already affected by contract_override.

packageNameOverride

Mapping from any contract's package name to the target representative package ID Affects only contracts with package names matching the keys in this map, except if they're already affected by contract_override or package_id_override.

Annotations
@SerialVersionUID()
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RepresentativePackageIdOverride
  2. Updatable
  3. GeneratedMessage
  4. Serializable
  5. Product
  6. Equals
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new RepresentativePackageIdOverride(contractOverride: Map[String, String], packageIdOverride: Map[String, String], packageNameOverride: Map[String, String])

    contractOverride

    Mapping from contract ID to the target representative package ID. Only contracts with IDs matching the keys in this map are affected.

    packageIdOverride

    Mapping from a contract's original package IDs (either the creation or the representative package ID) to the target representative package ID. Affects only contracts with creation or representative package IDs matching the keys in this map, except if they're not already affected by contract_override.

    packageNameOverride

    Mapping from any contract's package name to the target representative package ID Affects only contracts with package names matching the keys in this map, except if they're already affected by contract_override or package_id_override.

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. def addAllContractOverride(__vs: Iterable[(String, String)]): RepresentativePackageIdOverride
  5. def addAllPackageIdOverride(__vs: Iterable[(String, String)]): RepresentativePackageIdOverride
  6. def addAllPackageNameOverride(__vs: Iterable[(String, String)]): RepresentativePackageIdOverride
  7. def addContractOverride(__vs: (String, String)*): RepresentativePackageIdOverride
  8. def addPackageIdOverride(__vs: (String, String)*): RepresentativePackageIdOverride
  9. def addPackageNameOverride(__vs: (String, String)*): RepresentativePackageIdOverride
  10. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  11. def clearContractOverride: RepresentativePackageIdOverride
  12. def clearPackageIdOverride: RepresentativePackageIdOverride
  13. def clearPackageNameOverride: RepresentativePackageIdOverride
  14. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  15. def companion: RepresentativePackageIdOverride.type
    Definition Classes
    RepresentativePackageIdOverride → GeneratedMessage
  16. val contractOverride: Map[String, String]
  17. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. def getField(__field: FieldDescriptor): PValue
    Definition Classes
    RepresentativePackageIdOverride → GeneratedMessage
  20. def getFieldByNumber(__fieldNumber: Int): Any
    Definition Classes
    RepresentativePackageIdOverride → GeneratedMessage
  21. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  25. val packageIdOverride: Map[String, String]
  26. val packageNameOverride: Map[String, String]
  27. def productElementNames: Iterator[String]
    Definition Classes
    Product
  28. def serializedSize: Int
    Definition Classes
    RepresentativePackageIdOverride → GeneratedMessage
  29. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  30. final def toByteArray: Array[Byte]
    Definition Classes
    GeneratedMessage
  31. final def toByteString: ByteString
    Definition Classes
    GeneratedMessage
  32. final def toPMessage: PMessage
    Definition Classes
    GeneratedMessage
  33. def toProtoString: String
    Definition Classes
    RepresentativePackageIdOverride → GeneratedMessage
  34. def update(ms: (Lens[RepresentativePackageIdOverride, RepresentativePackageIdOverride]) => Mutation[RepresentativePackageIdOverride]*): RepresentativePackageIdOverride
    Definition Classes
    Updatable
  35. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  36. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  37. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  38. def withContractOverride(__v: Map[String, String]): RepresentativePackageIdOverride
  39. def withPackageIdOverride(__v: Map[String, String]): RepresentativePackageIdOverride
  40. def withPackageNameOverride(__v: Map[String, String]): RepresentativePackageIdOverride
  41. final def writeDelimitedTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage
  42. def writeTo(_output__: CodedOutputStream): Unit
    Definition Classes
    RepresentativePackageIdOverride → GeneratedMessage
  43. final def writeTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage

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 GeneratedMessage

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped