Class DamlRecord<T>
java.lang.Object
com.daml.ledger.javaapi.data.codegen.DamlRecord<T>
- Type Parameters:
T- A "self type", some subclass of this class thatTimplements.
- All Implemented Interfaces:
DefinedDataType<T>
- Direct Known Subclasses:
Template
Base class of all decoded-to-codegen Daml records with no type parameters.
This category includes
- all
Templatepayloads, - all interface views, and
- [by convention albeit not by rule] all choice arguments.
Its encoded counterpart is DamlRecord, which can be
produced with toValue().
-
Constructor Details
-
DamlRecord
public DamlRecord()
-
-
Method Details
-
toValue
Description copied from interface:DefinedDataTypeProduce the encoded form.- Specified by:
toValuein interfaceDefinedDataType<T>
-