Class ContractWithKey<Id,Data,Key>
java.lang.Object
com.daml.ledger.javaapi.data.codegen.Contract<Id,Data>
com.daml.ledger.javaapi.data.codegen.ContractWithKey<Id,Data,Key>
- Type Parameters:
Id
- The generated contract ID class alongside the generated Contract class.Data
- The containing template's associated record type.Key
- The template's key type.
- All Implemented Interfaces:
Contract
A superclass for all codegen-generated Contracts whose templates have a
key
defined.-
Field Summary
FieldsModifier and TypeFieldDescriptionThe contract's key, if it was present in the event.Fields inherited from class com.daml.ledger.javaapi.data.codegen.Contract
data, id, observers, signatories
-
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
final int
hashCode()
abstract JsonLfEncoder
final String
toString()
Methods inherited from class com.daml.ledger.javaapi.data.codegen.Contract
getContractTypeId
-
Field Details
-
key
The contract's key, if it was present in the event.
-
-
Method Details