Interface DefinedDataType<T>
-
- Type Parameters:
T
- A "self type", some subclass of this interface thatT
implements.
- All Known Subinterfaces:
DamlEnum<T>
- All Known Implementing Classes:
DamlRecord
,Template
,Variant
public interface DefinedDataType<T>
The codegen-decoded form of any of these:- what
DamlRecord
describes, - a
Variant
without type parameters, or - any
DamlEnum
.
Its encoded counterpart is
Value
, which can be produced withtoValue()
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default JsonLfEncoder
jsonEncoder()
default java.lang.String
toJson()
Value
toValue()
Produce the encoded form.
-
-
-
Method Detail
-
toValue
Value toValue()
Produce the encoded form.
-
jsonEncoder
default JsonLfEncoder jsonEncoder()
-
toJson
default java.lang.String toJson()
-
-