Class ByKey
- java.lang.Object
-
- com.daml.ledger.javaapi.data.codegen.ByKey
-
- All Implemented Interfaces:
Exercises<ExerciseByKeyCommand>
- Direct Known Subclasses:
ByKey.ToInterface
public abstract class ByKey extends java.lang.Object implements Exercises<ExerciseByKeyCommand>
Parent of all generatedByKey
classes within templates and interfaces.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ByKey.ToInterface
Parent of all generatedByKey
classes within interfaces.
-
Field Summary
Fields Modifier and Type Field Description protected Value
contractKey
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract ContractTypeCompanion
getCompanion()
The origin of the choice, not the template relevant to contractKey.ExerciseByKeyCommand
makeExerciseCmd(java.lang.String choice, Value choiceArgument)
-
-
-
Field Detail
-
contractKey
protected final Value contractKey
-
-
Constructor Detail
-
ByKey
protected ByKey(Value contractKey)
-
-
Method Detail
-
makeExerciseCmd
public ExerciseByKeyCommand makeExerciseCmd(java.lang.String choice, Value choiceArgument)
- Specified by:
makeExerciseCmd
in interfaceExercises<ExerciseByKeyCommand>
-
getCompanion
protected abstract ContractTypeCompanion getCompanion()
The origin of the choice, not the template relevant to contractKey.
-
-