Class ContractCompanion.WithKey<Ct,Id,Data,Key>
- java.lang.Object
-
- com.daml.ledger.javaapi.data.codegen.ContractCompanion<Ct,Id,Data>
-
- com.daml.ledger.javaapi.data.codegen.ContractCompanion.WithKey<Ct,Id,Data,Key>
-
- Enclosing class:
- ContractCompanion<Ct,Id,Data>
public static final class ContractCompanion.WithKey<Ct,Id,Data,Key> extends ContractCompanion<Ct,Id,Data>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
ContractCompanion.WithKey.NewContract<Ct,Id,Data,Key>
-
Nested classes/interfaces inherited from class com.daml.ledger.javaapi.data.codegen.ContractCompanion
ContractCompanion.WithKey<Ct,Id,Data,Key>, ContractCompanion.WithoutKey<Ct,Id,Data>
-
-
Field Summary
-
Fields inherited from class com.daml.ledger.javaapi.data.codegen.ContractCompanion
fromValue, newContractId, TEMPLATE_ID
-
-
Constructor Summary
Constructors Constructor Description WithKey(java.lang.String templateClassName, Identifier templateId, java.util.function.Function<java.lang.String,Id> newContractId, java.util.function.Function<DamlRecord,Data> fromValue, ContractCompanion.WithKey.NewContract<Ct,Id,Data,Key> newContract, java.util.function.Function<Value,Key> keyFromValue)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Ct
fromCreatedEvent(CreatedEvent event)
Ct
fromIdAndRecord(java.lang.String contractId, DamlRecord record$)
Deprecated.since introduction; only exists to support generated method that has itself been deprecated since v0.12.18Ct
fromIdAndRecord(java.lang.String contractId, DamlRecord record$, java.util.Optional<java.lang.String> agreementText, java.util.Optional<Key> key, java.util.Set<java.lang.String> signatories, java.util.Set<java.lang.String> observers)
-
-
-
Constructor Detail
-
WithKey
public WithKey(java.lang.String templateClassName, Identifier templateId, java.util.function.Function<java.lang.String,Id> newContractId, java.util.function.Function<DamlRecord,Data> fromValue, ContractCompanion.WithKey.NewContract<Ct,Id,Data,Key> newContract, java.util.function.Function<Value,Key> keyFromValue)
-
-
Method Detail
-
fromIdAndRecord
public Ct fromIdAndRecord(java.lang.String contractId, DamlRecord record$, java.util.Optional<java.lang.String> agreementText, java.util.Optional<Key> key, java.util.Set<java.lang.String> signatories, java.util.Set<java.lang.String> observers)
-
fromIdAndRecord
@Deprecated public Ct fromIdAndRecord(java.lang.String contractId, DamlRecord record$)
Deprecated.since introduction; only exists to support generated method that has itself been deprecated since v0.12.18
-
fromCreatedEvent
public Ct fromCreatedEvent(CreatedEvent event)
- Specified by:
fromCreatedEvent
in classContractCompanion<Ct,Id,Data>
-
-