Interface DefinedDataType<T>

  • Type Parameters:
    T - A "self type", some subclass of this interface that T implements.
    All Known Subinterfaces:
    All Known Implementing Classes:
    DamlRecord, Template, Variant

    public interface DefinedDataType<T>
    The codegen-decoded form of any of these:
    1. what DamlRecord describes,
    2. a Variant without type parameters, or
    3. any DamlEnum.

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

    • Method Detail

      • toValue

        Value toValue()
        Produce the encoded form.
      • toJson

        default java.lang.String toJson()