Complete documentation page mirrored and translated for learning. Attribution is shown at the bottom of each article.

阅读中文版

referencejavacom-daml-ledger-javaapi-data-codegencontractcompanion

ContractCompanion

Documentation Index

Fetch the complete documentation index at: https://docs.canton.network/llms.txt Use this file to discover all available pages before exploring further.

ContractCompanion

Metadata and utilities associated with a template as a whole, rather than one single contract made from that template. Application code should not instantiate or subclass; instead, refer to the COMPANION field on generated Template subclasses. All protected members herein are considered part of the INTERNAL API. Every instance is either a ContractCompanion.WithKey or ContractCompanion.WithoutKey, depending on whether the template defined a key type. ContractCompanion.WithKey defines extra utilities for working with contract keys.

ContractCompanion - stable

Upstream docs: Open

Signature

public abstract class ContractCompanion<Ct,Id,Data> extends ContractTypeCompanion<Ct,Id,Data,Data>

Members

DocsMemberIntroducedDeprecatedRemoved
OpenfromJson3.4.8--
OpenfromJson(String)3.4.8--
OpenvalueDecoder(ContractCompanion<?, ? extends ContractId<Data>, Data>)3.4.8--

Mirrored from Canton Network official documentation (CC-BY-4.0) by CC Privacy Club for learning purposes.