Class DamlRecord<T>

  • Type Parameters:
    T - A "self type", some subclass of this class that T 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

    1. all Template payloads,
    2. all interface views, and
    3. [by convention albeit not by rule] all choice arguments.

    Its encoded counterpart is DamlRecord, which can be produced with toValue().

    • 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