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.-
Nested classes/interfaces inherited from interface com.daml.ledger.javaapi.data.codegen.Exercises
Exercises.Archive<Cmd>
-
-
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.<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.
-
-
-
Field Detail
-
contractKey
protected final Value contractKey
-
-
Constructor Detail
-
ByKey
protected ByKey(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>
-
getCompanion
protected abstract ContractTypeCompanion<?,?,?,?> getCompanion()
The origin of the choice, not the template relevant to contractKey.
-
-