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
public abstract class DamlRecord<T> extends java.lang.Object implements DefinedDataType<T>
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 withtoValue()
.
-
-
Constructor Summary
Constructors Constructor Description DamlRecord()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract DamlRecord
toValue()
Produce the encoded form.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.daml.ledger.javaapi.data.codegen.DefinedDataType
jsonEncoder, toJson
-
-
-
-
Method Detail
-
toValue
public abstract DamlRecord toValue()
Description copied from interface:DefinedDataType
Produce the encoded form.- Specified by:
toValue
in interfaceDefinedDataType<T>
-
-