Class ByKey.ToInterface
- java.lang.Object
-
- com.daml.ledger.javaapi.data.codegen.ByKey
-
- com.daml.ledger.javaapi.data.codegen.ByKey.ToInterface
-
- All Implemented Interfaces:
Exercises<ExerciseByKeyCommand>
- Enclosing class:
- ByKey
public abstract static class ByKey.ToInterface extends ByKey
Parent of all generatedByKey
classes within interfaces. These need to pass both the template and interface ID.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.daml.ledger.javaapi.data.codegen.ByKey
ByKey.ToInterface
-
-
Field Summary
-
Fields inherited from class com.daml.ledger.javaapi.data.codegen.ByKey
contractKey
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
ToInterface(ContractCompanion<?,?,?> keySource, Value contractKey)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <A,R>
Update<Exercised<R>>makeExerciseCmd(Choice<?,? super A,R> choice, A choiceArgument)
INTERNAL API: this is meant for use by the Java code generator, and should not be referenced directly.-
Methods inherited from class com.daml.ledger.javaapi.data.codegen.ByKey
getCompanion
-
-
-
-
Constructor Detail
-
ToInterface
protected ToInterface(ContractCompanion<?,?,?> keySource, Value contractKey)
-
-
Method Detail
-
makeExerciseCmd
public <A,R> Update<Exercised<R>> makeExerciseCmd(Choice<?,? super A,R> choice, A choiceArgument)
Description copied from interface:Exercises
INTERNAL API: this is meant for use by the Java code generator, and should not be referenced directly. Applications should call choice-specificexercise*
methods generated from their Daml code instead.- Specified by:
makeExerciseCmd
in interfaceExercises<ExerciseByKeyCommand>
- Overrides:
makeExerciseCmd
in classByKey
-
-