Class CreateAnd.ToInterface
- java.lang.Object
-
- com.daml.ledger.javaapi.data.codegen.CreateAnd
-
- com.daml.ledger.javaapi.data.codegen.CreateAnd.ToInterface
-
- All Implemented Interfaces:
Exercises<CreateAndExerciseCommand>
- Enclosing class:
- CreateAnd
public abstract static class CreateAnd.ToInterface extends CreateAnd
Parent of all generatedCreateAnd
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.CreateAnd
CreateAnd.ToInterface
-
Nested classes/interfaces inherited from interface com.daml.ledger.javaapi.data.codegen.Exercises
Exercises.Archive<Cmd>
-
-
Field Summary
-
Fields inherited from class com.daml.ledger.javaapi.data.codegen.CreateAnd
createArguments
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
ToInterface(ContractCompanion<?,?,?> createSource, Template createArguments)
-
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.CreateAnd
getCompanion
-
-
-
-
Constructor Detail
-
ToInterface
protected ToInterface(ContractCompanion<?,?,?> createSource, Template createArguments)
-
-
Method Detail
-
makeExerciseCmd
public final <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<CreateAndExerciseCommand>
- Overrides:
makeExerciseCmd
in classCreateAnd
-
-