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 thatT
implements.
- 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
Template
payloads, - 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:DefinedDataType
Produce the encoded form.- Specified by:
toValue
in interfaceDefinedDataType<T>
-