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 generatedByKeyclasses within templates and interfaces.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classByKey.ToInterfaceParent of all generatedByKeyclasses 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 ValuecontractKey
-
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:ExercisesINTERNAL 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:
makeExerciseCmdin interfaceExercises<ExerciseByKeyCommand>
-
getCompanion
protected abstract ContractTypeCompanion<?,?,?,?> getCompanion()
The origin of the choice, not the template relevant to contractKey.
-
-