Documentation/Canton Network docs/Ledger API › Java Bindings › Packages › com.daml.ledger.javaapi.data.codegenView on Canton Network docs ↗
ContractCompanion
com.daml.ledger.javaapi.data.codegen
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.
Java
Packagecom.daml.ledger.javaapi.data.codegen
Upstream docsOpen Javadoc
Signature
public abstract class ContractCompanion<Ct,Id,Data> extends ContractTypeCompanion<Ct,Id,Data,Data>