Interface DamlEnum<T>

Type Parameters:
T - A "self type", the enum that implements this interface.
All Superinterfaces:
DefinedDataType<T>

public interface DamlEnum<T> extends DefinedDataType<T>
Base interface of all decoded-to-codegen Daml enums.

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

  • Method Summary

    Modifier and Type
    Method
    Description
    Produce the encoded form.

    Methods inherited from interface com.daml.ledger.javaapi.data.codegen.DefinedDataType

    jsonEncoder, toJson